Inspiration
Hunger and the urge to eat go up during the menopause transition and stay up after the last period. Most women aged 40 to 60 have already tried keto, calorie counting or a GLP-1, and most of the weight comes back. Across studies, about 71% of lost weight returns, whether the loss was fast or slow. A randomized trial by Kiernan and colleagues found that women who learned to keep their weight stable before trying to lose any regained 3.2 lb over a year, against 7.3 lb for women who started with weight loss. So we wanted a plan that starts from the food a woman already eats and changes slowly enough that she keeps the changes.
What it does
Appetide is an eating plan for women in perimenopause and menopause. During onboarding, she tells it her usual meals, diet and allergies, sleep habits, and whether she has used a GLP-1. The app learns her usual eating habits and builds a four-week plan that moves toward more protein, more fiber, less salt, and less saturated fat, with two small changes a week.
She can log a hunger pang, an urge, or a craving in one tap. A strong craving or a bad night's sleep puts the plan on hold for the week. Her meals stay the same and nothing gets cut. A 3D companion animal, picked from nine, shows how her week is going: it frowns and wobbles during a craving, gets sleepy after poor sleep and looks proud after a good run. A coach she can chat with swaps meals, builds a shopping list and offers a review by a registered dietitian, which is where the revenue comes from.
How we built it
The plan comes from goal-integrated inverse learning, a model from Prof. Kimia Ghobadi's lab at Johns Hopkins (Ahmadi, Ganjkhanloo and Ghobadi, arXiv 2011.03038). Her meals are converted into servings of 19 food groups. The model finds the diet closest to what she already eats that stays within the DASH nutrient ranges for women over 51 and meets one goal at a time. We solve it as a mixed-integer program with javascript-lp-solver, right on her phone, in about 50 ms.
The app uses Next.js, React, and Tailwind, and it installs to the home screen as a web app. The companions are built in three.js from simple shapes, and the coach uses the AI SDK with tool calls.
Challenges we ran into
The first version of the solver kept recommending juice because the paper's nutrient ranges include a minimum for sugar. We removed that minimum and capped sweets, snacks, sugary drinks and red meat at her current amounts, so the plan can only keep them the same or lower them. We also blocked foods that clash with her diet pattern and allergies, and limited the plan to two changes a week so it never asks for a whole new diet at once. Getting the solver to run in the browser took a bit of a workaround, and fitting the whole story into a three-minute pitch meant cutting a lot.
Accomplishments that we're proud of
The plan comes from a real optimization model built on published research, solved live on the phone. It isn't a chatbot guessing at meals. On our test profile, a vegetarian woman, four weeks of small swaps took fiber from 35 g to 39 g and protein from 72 g to 89 g, and brought sodium from 2,569 mg down to 1,693 mg, without dropping any of her usual dishes. We're also proud that one craving log visibly changes both the companion and the plan.
What we learned
For this group, the pace of a diet matters as much as what's in it. We learned how inverse optimization recovers someone's preferences from what they already do, and how much a model needs plain rules (no added sugar, nothing cut in a hard week) before it gives safe advice. We also learned to keep the math out of the app and in the pitch.
What's next for Appetide
- Talk to 20 women aged 40 to 60.
- Bring in a registered dietitian to review plans and the safety rules.
- Run an 8-week pilot with 30 women.
- Work with Prof. Ghobadi's group to compare the plans our model learns with plans dietitians write.
- Later, connect sleep and activity from Apple Health and Google Health Connect, cycle data from period apps, lab results such as HbA1c and vitamin D, and glucose sensors, so the plan learns from her body as well as her food diary.