Docker lets you run the AgentRail API server as a container. This is a server-only path — it starts the API process but does not create agent credentials, configure routing, or set up providers. You complete those steps with the CLI after the container is running.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.
The CLI-managed path (
agentrail init → agentrail server start) is recommended for most setups because it handles agent credentials, routing, and provider state automatically. Use Docker when you specifically want to run the server process in a container.Start the server
From the root of the AgentRail repository, run:http://127.0.0.1:3000 by default. You should see output like:
Complete setup with the CLI
With the container running, open a second terminal and complete the CLI setup steps:Run init
Point init at the running container:This writes local config to
~/.agentrail/ and creates operator bootstrap state.Create your first agent
~/.agentrail/agent.env, and configures starter routing for your repo.Connect providers (optional)
After doctor passes, connect your providers to enable live issue intake, CI, and review:Load agent credentials
Before starting a coding agent manually, source the agent env file:agentrail server start handles this automatically. In the Docker path, your coding agent needs the env vars set manually or through whatever environment management your container setup uses..png?fit=max&auto=format&n=TNCV8lxzL1ij3U4N&q=85&s=7345b71aa1c450c74f35b67c2655fc43)