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:1
Install the CLI
If you have not already installed the CLI globally:
2
Run init
Point init at the running container:This writes local config to
~/.agentrail/ and creates operator bootstrap state.3
Create your first agent
~/.agentrail/agent.env, and configures starter routing for your repo.4
Verify with doctor
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)