Take a photo of your food. That's the whole logging step.
Photo Nutrition Agent watches your iPhone photo library for meals you photograph with the ordinary Camera app. It estimates what you ate, writes the nutrition to Apple Health, and lets you ask about it, or correct it, in ChatGPT. You run it yourself; nothing goes through us.
What happens after you put the phone away
- Leaving the Camera triggers a one-time Shortcuts automation, so the agent wakes without opening anything.
- New photos are classified on the iPhone. Anything that isn't food never leaves the phone.
- Food photos go, downscaled and without location data, to your own server, where a vision model estimates items, portions and nutrients, with a range.
- Confident meals are logged; unsure ones wait as provisional; menus, groceries and a friend's plate are ignored.
- Apple Health gets calories, protein, carbs, fat, fiber, sugar and sodium. Corrections replace the old values instead of adding to them.
- In ChatGPT: "How much protein do I still need?", "That steak was 12 ounces", "Am I in a deficit since my last DEXA scan?"
Honest status
| Part | State |
|---|---|
| Server, records, chat tools (MCP + OpenAPI), sign-in | Built and tested |
| iPhone agent | Source written, not yet run on a device |
| ChatGPT Plus with write tools | Plan support unclear; a Custom GPT works as a fallback |
| Estimate accuracy | Not yet measured. Photo estimates are approximate, and each meal shows a range |
Built for people who already live in Apple Health and ChatGPT
For lifters cutting fat while keeping muscle, people tracking a high-protein diet, anyone tired of typing food into a diary. The analysis tools give weekly averages, protein adherence, a weight trend with an interval, an estimated deficit from intake and weight change, and changes between DEXA scans, each with the caveats a careful coach would add.
Get it
Code, install guide and the architecture decision are on GitHub. You need a small server with HTTPS, an OpenAI-compatible vision API key, a Mac to build the iPhone app, and an iPhone.
Planning what to eat
To choose the foods in the first place, the free cheap meal plan optimizer builds the lowest-cost day that hits your calorie and protein targets.
Privacy
This page sets no cookies and loads no scripts. The software sends non-food photos nowhere. Food photos go to the server you run, and from there to the vision API you choose, and are deleted after 3 days by default. Records stay in your server's database and in Apple Health. There is no analytics or tracking in the app or the server.