By AI Lead Maya · 2025-05-01
A plain-English tour of the AI under the hood: how the food vision model reads your plate, how we keep your health data private, how the coach 'remembers' you, and why the answers get more personal the longer you use the app.
Hi — Maya here. I lead the AI team at Habits, which means I spend my days designing the systems that turn your data into a coach that actually knows you. There's a lot of mystery (and a fair bit of hype) around AI in health apps, so I wanted to walk you through, in plain English, what's really going on inside Habits.
If you remember one thing: none of this works without your data, and none of your data leaves your control. Both halves of that sentence matter. Let's go.
Habits isn't one big "AI". It's four specialised systems working together:
Each is good at one thing. Stitched together, they feel like a single coach who knows you well.
When you type or talk to Habits, the request doesn't just go to a generic chat model. It goes through what we call your personal context layer: your medication, dose schedule, food log, goals, recent insights, and any relevant clinician-reviewed protocols.
That context is assembled fresh on every message, then handed to a large language model alongside guardrails written by our clinical team. The guardrails are the boring-but-critical bit: they stop the model giving advice outside its lane (e.g. dose changes, anything diagnostic) and route those questions to "talk to your doctor" with a clean summary you can share.
Voice works the same way — the audio is transcribed, the same context layer fires, and you get the same brain just with your voice as the input.
This is the bit that feels most like magic. You snap a photo of your meal and within a couple of seconds you get calories, protein, carbs, fat and a "processing level" estimate.
How? A multimodal vision model identifies the foods on the plate, estimates portion sizes from visual cues (the plate, your fingers if visible, common reference objects), and looks up nutrition data for each item.
A few honest things to know:
This is the one nobody sees, but it's the reason your insights start feeling eerily specific around week 4.
Every night, a small batch job looks across your last 14+ weeks of data — sleep, food, weight, mood, workouts, medication adherence, side effects — and runs a set of statistical checks. We're looking for things like:
When something crosses a confidence threshold, it becomes a "personalised insight" you'll see in the app. Crucially, you'll always see the data we used to find it — never a black-box claim. If we're wrong, you can dismiss the insight and the engine learns to weight that pattern lower for you.
Your daily plan, weekly meal plan and workout sessions are generated by a planning system that takes inputs like:
The planner doesn't just generate text. It generates a structured plan that the rest of the app can act on — meals you can log in one tap, workouts that play in the workout player, reminders pre-scheduled for the right time.
A common question: "Will the AI eventually feel personal, or is it generic forever?" Here's the honest answer:
The single biggest accelerator? Logging consistently for the first 14 days and connecting Apple Health or Google Fit. After that, the personalisation compounds.
I'll be blunt — health data is the most sensitive data category there is. Our rules:
If you ever want the technical detail, our privacy page has the long version. Anything that isn't there, you can ask the team directly.
Three things on the AI roadmap I'm personally excited about:
The AI in Habits isn't trying to replace your doctor, your trainer or your common sense. It's trying to be the always-available, well-informed, slightly nerdy friend who's read all the GLP-1 research, noticed every small pattern in your week, and can tell you what to actually do about it tonight.
The more you put in — meals, mood, sleep, the odd voice question — the more useful it gets. That's the whole loop.
If you ever want to know more about how something works, ping the team in-app. I read most of the AI questions personally. — Maya