AI Coach Integration
Saturday’s AI Coach provides conversational nutrition coaching powered by Claude and Gemini. Partners can embed this coaching experience directly in their platforms — athletes get personalized nutrition advice without leaving your app.The AI Coach feature is currently in STEALTH stage and requires explicit alpha access. Contact api@saturday.fit to request access.
How it works
The AI Coach is a context-aware nutrition expert that knows each athlete’s profile, activity history, fueling preferences, and past feedback. It can:- Answer nutrition questions specific to the athlete’s situation
- Explain why a prescription was calculated the way it was
- Help plan race-day nutrition strategies
- Recommend products based on preferences and tolerances
- Provide pre-activity preparation instructions
Conversation lifecycle
Creating a conversation
Sending a message (SSE streaming)
Messages return responses via Server-Sent Events. The AI streams its response token-by-token for a real-time typing experience.SSE event format
| Event type | Description |
|---|---|
token | A text chunk of the AI’s response |
tool_call | The AI is calling an internal tool (calculation, product search, etc.) |
tool_result | The result of a tool call (informational — you don’t need to act on this) |
done | Stream complete |
Tool call budgets
The AI Coach has access to internal tools (fuel calculations, product lookups, knowledge base search). Each conversation has a per-message tool call budget to prevent runaway costs:| Context | Budget | Tools available |
|---|---|---|
| Standard message | 5 calls | calculate_fuel, search_products, search_knowledge, get_athlete_settings, prep_simulation |
| Complex planning | 8 calls | All standard + compare_scenarios, batch_calculate, gear_analysis |
Wrapping Saturday AI in your AI
If your platform already has its own AI assistant, you can wrap Saturday’s coaching into it:Architecture pattern
Important constraints for AI-to-AI
- Respect
not_instructions: true— Saturday’s responses are guidance for human consideration, not commands for automated execution - Don’t strip safety warnings — if Saturday’s AI mentions a safety concern, your AI must surface it to the athlete
- Don’t modify prescriptions — your AI should present Saturday’s numbers as-is, not adjust them
- Include attribution — for teaser tier, “Powered by Saturday” must be visible to the athlete
Conversation history
Retrieve past messages for a conversation:Listing athlete conversations
Deleting a conversation
Rate limiting for AI
AI Coach endpoints have separate rate limits from standard API calls due to higher compute cost:| Limit | Value |
|---|---|
| Messages per minute per athlete | 10 |
| Concurrent conversations per partner | 50 |
| Max message length | 2,000 characters |
429 response with Retry-After header.