Developers / Agents
A guide written for coding agents.
Your coding agent writes better repa code when it has read how the API works. This guide is plain text made for that: how a key is sent, what every write needs, which routes exist, and what never to do. It teaches the HTTP API as it answers today.
Give your agent this one line:
Read https://repa.work/developers/agents.md before you write code that uses repa.Four plain-text files.
Each address answers with text and nothing else: no script, no sign-in.
- https://repa.work/llms.txt
llms.txt. The index: what repa is and where the guide lives.
- https://repa.work/developers/agents.md
The guide. How to call the API from a server: keys, idempotent writes, errors, documents, generation, Flows drafts, webhooks, and what never to do.
- https://repa.work/developers/agents/api.md
Every route. Each route an API key can call, and which writes need an idempotency key.
- https://repa.work/developers/agents/email.md
Mail. Sending with recovery, events, mailboxes, drafts, folders and rules.
What an agent's key can do, and what it cannot.
A refusal is a safety feature: the answer names what needs a person, so your agent can hand it over instead of looking for a way around it.
- Can
- Make documents from approved templates and data (Office, available). Send and read mail in the mailboxes its key allows (Mail, early access). Draft a flow for a person to review (Flows, in development). Read a document's record: template version, input digest, file digests.
- Cannot
- Test, publish or turn on a flow: refused with NEEDS_PERSON. Read a flow's connections or change who may do what. Send from an address its key was not given. Use an MCP server: planned, not built yet.
What it is, and what it is not.
- The same API
- An agent calls the API your own code calls, with a key you gave it. There is no separate product for AI.
- Only what answers today
- The guide lists only routes the API serves. TypeScript packages are on npm under the alpha tag, with an evaluation licence that does not allow production use.
- Your agent, your AI
- repa brings no AI of its own. Which agent reads this guide, and which AI is behind it, is your choice.
- Planned, not built yet
- A direct connection for AI assistants (an MCP server), so an assistant can use repa without anyone writing code.