Now, you can eat as much as you like without putting on extra pounds. And you can even receive all the benefits of exercise without leaving the sofa.

An all-in-one tablet is being developed to treat obesity, diabetes, heart disease and cancer. The drug, which is being made by the biotech firm Sirtris, could be available within three years.

The excitement surrounds a family of drugs based on resveratrol, the “miracle ingredient” in red wine credited with inhibiting the development of cancer and heart disease.

The drugs would activate a gene called SIRT1 that is key to longevity and energy, and their potency would give them the equivalent health benefits of 8,000 bottles of wine.

Mice given one of the drugs, known as SRT1720, did not gain an ounce of weight despite being fed fatty foods, and blood tests suggested that they were protected against diabetes. They also showed improved stamina.