agentrail, brings Agentrail to your terminal. Every Agentrail tool your role can use is a command, such as agentrail simulations list-runs or agentrail readiness start-scan, so you and the coding agents you work with can read results and act on them without opening Agentrail. One more command sets up Claude Code, Codex and Cursor to use Agentrail.
Install it
The CLI needs Node.js 22 or later.agentrail. Install the package agentrail-cli: a package named just agentrail is not Agentrail’s.
Sign in
Run your first commands
agentrail tools lists every command your role can use. Commands act in your default workspace unless you choose another: see Choose a workspace.
Check your setup
Stay up to date
Once a day, a command also checks npm for a newer CLI and, when there is one, says so after its output.agentrail update checks now and prints the command that updates. If Agentrail needs a newer CLI than yours, commands stop with exit code 2 and say how to update.
Sign out
agentrail logout removes the sign-in from this computer. To stop it at once, wherever it is used, disconnect Agentrail CLI in Settings · Agents under Your connections.
Next
Commands
Every command, its inputs, workspaces and output.
Coding agents
Set up Claude Code, Codex and Cursor, and let agents run the CLI.
Reference
Options, environment variables, files and exit codes.