The coach is a tool-using agent with multi-turn memory, hybrid retrieval over your ride history, and prompt versioning.
searchRides — date, distance, terrain, location filters.getRideDetails — power, HR, climbing, TSS, IF for one ride.weeklySummary, fitnessAnalysis — load and form views.System prompts are stored and versioned in Langfuse. The coach loads the latest published prompt at request time, so prompt iteration is independent of deploy cadence. Every call is traced — token counts, model, tool steps, latency — for cost accounting and offline eval.
Per-user daily call cap (default 25), UTC midnight reset, entitlement-gated.
Read the full write-up on Orbital: the reinforcing evals loop →