Skip to main content

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
Communication happens via Server-Sent Events (SSE) for real-time streaming responses.

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

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: Partners don’t manage this budget — Saturday enforces it automatically. If the AI exhausts its budget, it provides the best answer possible with the tools it already called.

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

Your AI sends questions to Saturday’s AI Coach on behalf of the athlete, receives the streamed response, and incorporates it into your own AI’s output. This avoids exposing Saturday’s UI directly while still getting personalized nutrition coaching.

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

Returns all conversations for an athlete, with metadata (message count, last activity, summary).

Deleting a conversation

Permanently removes the conversation and all messages. This supports GDPR right to erasure.

Rate limiting for AI

AI Coach endpoints have separate rate limits from standard API calls due to higher compute cost: Exceeding these limits returns a standard 429 response with Retry-After header.