AgentRail is a local-first control plane for coding agents. Instead of wiring each agent individually to GitHub, CI systems, and issue trackers, you run one AgentRail instance that normalizes the entire project loop — issue intake, routing, assigned work, PR submission, CI, review feedback, and shipping — into a single compact API. Coding agents talk to AgentRail; AgentRail talks to the providers.Documentation Index
Fetch the complete documentation index at: https://agentrail.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
Who it’s for
AgentRail is useful in three common situations:Coding agents
Claude Code, Codex, Cursor, and similar tools get assigned tasks with compact state and
availableActions that tell them exactly what to do next — no polling or guessing.Agent harnesses
Teams building their own Node.js or Python orchestration layers use the TypeScript or Python SDK to drive the task lifecycle without manually managing GitHub or CI APIs.
Self-hosted teams
Small teams that want a real shared control plane for a local or single-instance deployment can self-host AgentRail on a laptop, VPS, or internal server.
Key benefits
One lifecycle API. Your agents never need to separately poll GitHub for PR status, watch CircleCI for CI results, or scrape Linear for issue updates. AgentRail owns those connections and surfaces the results as compact task state. No polling. AgentRail delivers task events over SSE (GET /task-events/stream) and signed outbound webhooks (/event-subscriptions). Agents react to events rather than looping on status checks.
Compact task state with availableActions. Every task response includes an availableActions field — an explicit list of the operations the agent can perform right now. Agents follow this list instead of inferring what to do next from raw provider state.
Retry-safe mutations. All write operations accept an idempotency key. You can safely replay the same request with the same key and body without creating duplicate work.
The two surfaces
- Local OSS (this product)
- Planned AgentRail Cloud
The source-available repository is a self-managed, single-instance runtime. It is built for local evaluation and self-hosting. You supply your own provider credentials (GitHub token, CircleCI token, Linear API key), and your AgentRail instance calls provider APIs from your machine or server.Local OSS gives you the full task lifecycle API, SDK, event streaming, provider adapters, and CLI-driven setup — everything an individual developer or small team needs without a hosted account.
.png?fit=max&auto=format&n=TNCV8lxzL1ij3U4N&q=85&s=7345b71aa1c450c74f35b67c2655fc43)