CLI Reference¶
Arbiter includes a command-line tool, arbiter-ctl, for managing agents, delegations, policies, and audit logs without writing curl commands.
Installation¶
arbiter-ctl is built alongside the main binary:
$ cargo build --release
$ ./target/release/arbiter-ctl --help
All commands require the admin API to be running and expect the API key either as a flag or the ARBITER_ADMIN_API_KEY environment variable.
Commands¶
register-agent¶
Register a new agent.
$ arbiter-ctl register-agent \
--owner "user:alice" \
--model "gpt-4" \
--capabilities read,write \
--trust-level basic \
--api-url http://localhost:3000
Flag |
Required |
Description |
|---|---|---|
|
yes |
Human principal (OAuth subject) |
|
yes |
LLM model identifier |
|
yes |
Comma-separated capability list |
|
yes |
|
|
no |
Admin API URL (default: |
list-agents¶
List all registered agents.
$ arbiter-ctl list-agents --api-url http://localhost:3000
create-delegation¶
Create a delegation link between agents.
$ arbiter-ctl create-delegation \
--from $AGENT_A \
--to $AGENT_B \
--scopes read \
--api-url http://localhost:3000
Flag |
Required |
Description |
|---|---|---|
|
yes |
Delegating agent ID |
|
yes |
Target agent ID |
|
yes |
Comma-separated scopes (must be subset of parent’s) |
revoke¶
Deactivate an agent and cascade-deactivate all delegates.
$ arbiter-ctl revoke --agent-id $AGENT_ID
policy test¶
Dry-run a tool call against loaded policies.
$ arbiter-ctl policy test \
--agent-id $AGENT_ID \
--trust-level basic \
--intent "read configuration" \
--tool read_file
doctor¶
Run diagnostic checks on your configuration.
$ arbiter-ctl doctor --config arbiter.toml
Checks:
Configuration file parses correctly
Policy file loads and validates
Audit log path is writable
Storage backend is reachable
update¶
Check for and install Arbiter updates from GitHub Releases.
# Check for available updates
$ arbiter-ctl update --check
# Update to latest version
$ arbiter-ctl update
# Update to a specific version
$ arbiter-ctl update --version v0.6.0
Flag |
Required |
Description |
|---|---|---|
|
no |
Check for updates without installing |
|
no |
Target version (default: latest) |
The update command downloads the new binary, verifies its SHA256 checksum (and minisign signature if available), and atomically replaces the installed arbiter binary. Disable with ARBITER_NO_SELF_UPDATE=1.
Global Flags¶
Flag |
Description |
|---|---|
|
Admin API base URL (default: |
|
Admin API key (or use |
|
Path to arbiter.toml (for |