Case study
ndurance.app
An AI endurance coach on the web and in your pocket.

Ndurance builds periodized training plans for runners, cyclists, swimmers, and multisport athletes, puts every workout on a calendar, and adapts the plan to how training is actually going. It runs on the web and as an Android app on Google Play.
The challenge
A good coach writes a plan around the athlete's goal, schedule, and current fitness, then changes it as life gets in the way. Most training apps hand out fixed templates and vague effort levels, and general-purpose AI chatbots will happily write a plan that ramps too fast or ignores an injury.
Ndurance needed AI that writes plans a coach would sign off on, with exact targets, and stays honest about what it changes.
What we built
Plans grounded in sports science
Athletes describe their goal, availability, current volume, benchmarks, and injuries. The AI coach draws on a sports-science knowledge base through retrieval-augmented generation, while a tested scheduler enforces the ramp, deload weeks, and taper.
Exact targets, not vague effort
A recent race result, FTP, or threshold pace becomes pace and power ranges for every workout, so a session says 4:55–5:20 per kilometre rather than just 'hard'.
Adapts, with the athlete in charge
Strava activities sync automatically and complete matching workouts with real data. Daily readiness check-ins flag overtraining, and progress analysis proposes concrete changes that the athlete approves or dismisses.
Rules where AI isn't needed
A nightly rules-based pass catches weeks with several missed workouts and proposes a lighter week, without an AI call. Long AI jobs run in the background so the app stays responsive.
A native Android companion
The React Native app covers the daily loop: today's suggested session, the calendar with readiness, workout briefings, quick logging, and wellness check-ins, with sessions that survive restarts and going offline.
Results
- Live at ndurance.app and on Google Play
- Plans across running, cycling, swimming, multisport, and 80+ activity types, with weekly strength work when the athlete has gym access
- Claude in production and a local open model in development, switched by configuration through Spring AI
- Every AI suggestion reviewed by the athlete before the calendar changes
Technology
Services behind this project
Next case study
Ptolemy
Point your phone at the sky and know what you're looking at.