Evidence-based trainer that runs in Claude Code
AI Personal Coach
A personal trainer and nutrition coach you talk to through a few commands. Claude handles the conversation; every number comes from a tested Python package, and every piece of advice cites a graded source.
PythonClaude CodepytestuvReportLabOpen Food FactsGitHub Actions
View the code (opens in a new tab)
Overview
An open-source coach for healthy adults, in Spanish or English, driven by commands: /setup, /checkin, /plan, /review, /menu, /import and /research. It screens for red flags and hands over to a professional when the evidence says so.
Key decisions
- The model never does the maths: calories, macros, heart-rate zones, loads, weekly sets and the weight trend come from a Python CLI the skills call with --json.
- Safety flags live in code: a positive screening blocks any calorie deficit, targets never go under the floors, and an injury pauses progression on the affected lift.
- Every rule in the knowledge base is graded strong, moderate or emerging and cites its sources. Claims that could not be confirmed are listed, not hidden.
- /research refreshes the evidence on a separate branch: one agent finds sources, an independent one tries to refute each claim, and the result waits for a human merge.
- Personal data stays out of git. Menus come from real recipes and Open Food Facts products, exported as a PDF with a shopping list.
My role
Designed and built alone from October 2026, with 1,200+ pytest tests and CI on Linux and Windows.
