Documentation · Reference
Look things up.
Nothing here is on the reading path. /docs is the four-minute read; these pages hold every rule, field and number behind it.
- The guide — Every example and every rule behind a number, in full — Python, JavaScript, LeRobot, REST, MCP, bring-your-own, billing, errors, limits.
- REST contract — Every route, field and error code of api.agi.diy, as the Worker implements them.
- The wire — agi-wire/1: the WebSocket frames a browser or any client speaks to a leased policy, cursor splicing included.
- Traces — What a session records, how to read it back, run inference again, and export it.
- Flywheel — Every run becomes a LeRobot v3.0 episode in the format of the teleop data: POST …/export, /play's upload of each turn, agi rollout --record, the schema contract.
- Rollout on hardware — Running a hosted policy through LeRobot's control loop on a real SO-101: dry run, units, cameras, link loss.
- MCP — The hosted and the local MCP server: tools, resources, a first prompt.
- Self-host — Run a runner that serves models to api.agi.diy, or the whole stack.
- How it works — policies, sessions, chunks, tokens, units, latency and traces, with figures drawn from the live contract. Glossary.
- OpenAPI — the REST surface as a machine-readable spec.
- Python SDK · JavaScript SDK · status · changelog