AI agent
Agent plánuje. WarriorFit přehrává.
WarriorFit zatím nemá MCP. Potřebuješ agenta, který umí číst instrukce ze souboru a provádět HTTP požadavky nebo spouštět kód.
Co funguje
Například OpenClaw, Hermes Agent, Agent Zero, Claude Code nebo Codex. Běžný chat bez nástrojů API sám obsluhovat neumí.
- 1Vytvoř API token
- 2Přidej AGENTS.md
- 3Řekni, co chceš cvičit
Jednoduché AGENTS.md
Zkopíruj tento obsah do souboru AGENTS.md:
# WarriorFit
- Use the WarriorFit REST API at https://warriorfit.cz/api/v1.
- Read the API docs at https://warriorfit.cz/api/v1/docs before using an endpoint.
- Read the API token from the WARRIORFIT_API_TOKEN environment variable.
- Send it as: Authorization: Bearer $WARRIORFIT_API_TOKEN
- Never print, log, or commit the token.
- Before planning, read the user's profile, available equipment, and recent workout history.
- Create or change a planned workout only after the user asks.
- Preserve completed workout sessions and their event history.
- Explain the proposed workout briefly in plain language.