RA
All projects

Personal project · 2026

Vera

App Store Review

A 24/7 AI nutritionist that behaves like a human coach with perfect macro memory. Multi-agent LangGraph system, native SwiftUI iOS app — currently in App Store review.

The problem

Traditional nutrition apps fail because they're rigid. They give users a meal plan, the user breaks it on day three ("I went out for pizza"), and the whole structure collapses into guilt and abandonment. The market is full of calorie trackers that punish deviation and meal-plan apps that assume robotic compliance. The real need: software that absorbs the chaos of real life — a late lunch, a birthday cake, a skipped breakfast — and intelligently recalibrates the rest of the day around it.

What I built

A multi-agent LangGraph system coordinated through a state machine, with specialized agents for planning, safety, and conversation. A multi-step tool chain turns a vague request into precise grams: identify the open meal slot, generate a recipe, fit ingredients to the macro target, validate, propose the meal to the user. Hono.js backend, Prisma + Supabase Postgres, native SwiftUI iOS app with SSE-streamed chat. Macro data sourced from public nutrition databases.

Key decisions
01
LangGraph over chain-of-prompts
The meal-fitting loop genuinely needs state and conditional branching — a single mega-prompt couldn't reliably hit macro targets within tolerance. The agent works because it can deterministically iterate, not because it gets the answer right on the first shot.
02
Tool-based agents, not freeform
Purpose-built tools constrain the model to legible operations — search food, log consumption, fit recipe. The agent can't hallucinate a database write. Tools are the difference between a chatbot and a system you can trust with someone's nutrition.
03
Native iOS over cross-platform
The chat surface is the product. Full control over keyboard behavior, voice input, and the WhatsApp-style recording bar with live waveform mattered. Cross-platform tradeoffs would have shown up exactly where users feel the product most.
Outcome

In App Store review for the iOS launch. Web surface is stable; the agent pipeline runs against real macro data in production. Built iOS-first because the chat surface is the product, and full control over keyboard, voice input, and the recording bar matters where users feel the product most.

Stack
Next.jsVercelAI APIFull-stackTypeScript
View live

Want to go deeper on Vera?