Back to Portfolio
Athleta
AI Fitness Coach: the Agent Proposes, You Decide

Athleta

Mobile-first fitness web app for training, nutrition and progress, with an AI coach grounded in a per-user knowledge graph (RAG / LLM Wiki). Nothing the agent suggests is applied until the user confirms it.

Project Overview

AI fitness apps have a trust problem that has nothing to do with model quality: they either give generic advice that ignores what the user has actually logged, or quietly rewrite the plan and leave the user unsure what changed or why. Both come from the same root: no durable memory of this specific person, and no explicit moment where the user agrees to a change.

In Athleta every user owns a knowledge graph of themselves (profile, goals, rules, baseline, photo analysis and training weeks), maintained as an LLM Wiki that the AI coach queries before it says anything. The coach reads the current goal, plan and recent logs from the application first; retrieval only fills in history.

The write path has a hard rule: the agent proposes, the user confirms, and only then is anything applied. Proposals are structured, so the app can show exactly what would change before it changes, and a confirmed proposal still goes through the same validation as manual input.

The data is personal and health-adjacent, so isolation is structural: row-level security and per-user scoping at both the data and retrieval layers, private storage for photos and medical documents, and provider keys kept on the backend. The RAG and LLM Wiki patterns used in my professional work were designed and tested here against a real dataset.

Key Features

  • Mobile-first, installable PWA: home, training, diet, check-in, AI coach and an admin area
  • Active goal with phase, starting, current and target weight, plus weight trend and calories against target
  • Weekly nutrition plan with daily macros and meals marked followed, skipped or swapped; tracked supplements
  • Check-ins with progress photos and measurements; medical documents stored privately per user
  • Per-user knowledge graph (profile, goals, rules, baseline, photo analysis, training weeks) queried through RAG / LLM Wiki
  • Confirm-before-apply: structured proposals shown as a diff, never written without the user's confirmation
  • Grounded coaching with OpenAI as the primary model and Anthropic as fallback
  • Speech-to-text (Whisper), document OCR (Mistral OCR, Tesseract.js) and photo analysis for richer check-ins
  • Row-level security, per-user isolation and validation on every write path

Technologies Used

React 19TypeScriptViteTanStack QueryReact Hook FormZodshadcn/uiTailwind CSS 4RechartsSupabaseEdge Functions (Deno)PostgreSQL + RLSRAGLLM WikiKnowledge GraphOpenAIAnthropicWhisperOCRPWA

Project Gallery

Progress, dashboard and nutrition screens of the mobile app
Progress, dashboard and nutrition screens of the mobile app
Dashboard: active goal, weight, today's macros and weight trend
Dashboard: active goal, weight, today's macros and weight trend
Weight trend, actual calories against target and quick logging actions
Weight trend, actual calories against target and quick logging actions
Weekly nutrition plan with daily macros and meals followed, skipped or swapped
Weekly nutrition plan with daily macros and meals followed, skipped or swapped
Architecture: React PWA, application modules, Supabase, AI coach, per-user LLM Wiki, perception and delivery
Architecture: React PWA, application modules, Supabase, AI coach, per-user LLM Wiki, perception and delivery

Project Details

Client

Personal product

Role

Full-stack architecture, database modelling, mobile-first UI, AI integration, RAG / LLM Wiki, deployment

Status

In personal use

© 2026 Artem Shelepiuk. All rights reserved.

0%