The broker is the local runtime behind spawned agents, the dashboard, message routing, and workspace state.
Start the broker
agent-relay upUse flags when you need a more specific runtime shape:
--no-dashboardstarts the broker without the web dashboard.--no-spawnstarts the broker without auto-spawning agents from config.--spawnforces auto-spawn even when a config would normally skip it.--backgrounddetaches the broker and leaves it running.--workspace-key <key>joins a pre-existing Relaycast workspace.--state-dir <path>moves broker state out of the default.agent-relay/directory.
Check status
agent-relay statusUse this to confirm whether the broker is alive and where it wrote its state files.
Stop the broker
agent-relay downUseful flags:
--timeout <ms>changes how long the CLI waits for graceful shutdown.--forcecleans up stuck runtime state aggressively.--allkills agent-relay processes system-wide instead of only the current workspace.
Update or uninstall
agent-relay update --check
agent-relay uninstall --dry-runupdatechecks for a newer release and installs it unless you pass--check.uninstallremoves runtime files, config, and global binaries. Use--dry-runbefore destructive cleanup.
Focused test harnesses
agent-relay start dashboard.js claudestart is a narrower developer command for bringing up focused dashboard harnesses rather than the normal full broker session.