A Weekend Build on EdgeOne Makers: An AI Health Coach That Remembers You Across Chats
The build demonstrates a practical pattern for AI agents that need long-term user memory: using a platform's conversation store as a single, persistent journal rather than relying on per-session context. The division of labor—LLMs for fuzzy estimation, deterministic code for calculation—is a replicable architecture for any app where accuracy matters alongside natural-language input.
A personal health-coach Agent, "Slim & Beautiful AI," was built and deployed on EdgeOne Makers over a single weekend. The system lets users log weight, meals, and exercise in plain language; a large language model estimates calories and macros, while deterministic code tools handle precise record-keeping and aggregation. A persistent, user-scoped journal stored in the platform's conversation memory ensures data survives across new chat sessions, so a user can ask "How much have I lost this week?" in a fresh window and get an accurate answer. The frontend renders structured data as visual cards—daily reports, trend charts, and weekly meal plans—delivered through a custom SSE event stream.
The project evolved from a template's three-column demo layout into a polished product by removing a code-display panel, adopting a warm-white and mint-green health-oriented theme, and adding mobile responsiveness. EdgeOne Makers handled runtime, memory, model access, observability, and deployment, letting the builder focus on product design and safety guardrails, such as the agent gently pushing back against extreme dieting requests.
A platform that absorbs runtime, memory, model routing, and deployment shifts the developer's focus from infrastructure assembly to product design—the agent's persona, safety guardrails, and user experience become the real work.
The 'LLM estimates, code records' pattern is a pragmatic middle ground between fully deterministic tracking apps and purely conversational agents, giving users natural input without sacrificing numerical accuracy.
Using the platform's own conversation store as a user-scoped journal is a clever workaround for the stateless nature of LLM APIs, avoiding the need for an external database while still achieving cross-session persistence.
The UI evolution from a three-column demo to a two-column product with a hidden debug panel reflects a broader truth: developer tools and end-user products have conflicting interface needs, and satisfying both requires deliberate design choices rather than default templates.