# Build with AI agents

> llms.txt, OpenAPI, per-page markdown — docs your copilot can eat.

The docs are published in machine formats so an AI agent can integrate the API without crawling HTML:

- https://eroq.ai/llms.txt — index: models, endpoints, pricing, guides.
- https://eroq.ai/llms-full.txt — the whole site as one markdown document.
- https://eroq.ai/openapi.json — OpenAPI 3.1 with request/response examples.
- Any docs page + `.md` — this page's raw markdown twin (e.g. https://eroq.ai/docs/chat.md).
- Blog articles too: https://eroq.ai/blog/<slug>.md.

Paste-ready system prompt for a coding agent:

```text
You are integrating the eroq API (https://eroq.ai).
Read these before writing code:
- https://eroq.ai/llms.txt          (index: models, endpoints, pricing)
- https://eroq.ai/openapi.json      (OpenAPI 3.1 schema)
- https://eroq.ai/docs/chat.md      (any docs page + ".md" = raw markdown)
Base URL https://eroq.ai/v1 · auth header "Authorization: Bearer $EROQ_API_KEY".
Credits are flat per call — check "usage.credits_remaining" in responses
and treat HTTP 402 as "wallet empty", not as an error to retry.
```

Voices roster for TTS: `aria` (female), `orion` (male).

---
Canonical: https://eroq.ai/docs/agents · Index for agents: https://eroq.ai/llms.txt · OpenAPI: https://eroq.ai/openapi.json
