CLI reference
This page reflects the public command tree printed by the installed CLI on
2026-07-17. Run brnrd <command> --help for the exact options in your version.
Core workflow
Section titled “Core workflow”| Command | Purpose |
|---|---|
brnrd (no arguments) |
Narrated guided setup: checks for a Runner, pairs your account (approve in browser), picks memory, offers a door, and queues the first run that writes AGENTS.md. Resumable; the default onboarding path. |
brnrd init [url] |
Set up a repo directly, no account or door needed; the interview runs by default on a TTY. |
brnrd run "<instruction>" |
Run one task through the configured Runner. |
brnrd review <pack> |
Validate or project a diffense review pack; supports --check, --pr-body, --pr-title, --relay, and --json. |
brnrd up [--foreground] [--dev-reload] |
Start the daemon; shortcut for daemon up. |
brnrd down |
Stop the daemon; shortcut for daemon down. |
Gates and accounts
Section titled “Gates and accounts”| Command | Purpose |
|---|---|
brnrd gate setup <gate> |
Authenticate and bind a gate in one flow. |
brnrd gate auth <gate> |
Authenticate telegram, slack, github, signal, or cloud. |
brnrd gate bind <repo> <gate> |
Bind a repo-local gate. |
brnrd gate list [--json] |
Show gates configured here. |
brnrd account connect [url] |
Pair with brnrd, prepare account home + external knowledge, create/adopt their private GitHub remotes, then install and start the native user service; --local-memory explicitly skips remote linking. Also accepts --daemon-name, --no-service, --defaults, and Linux linger controls. |
brnrd account disconnect |
Remove the local managed-gate identity while keeping the account home and its durable memory. |
brnrd account add <repo> |
Add a repo to the connected account home. |
brnrd account relabel <old> <new> |
Follow a repo that changed address (e.g. renamed org), carrying its memory to the new label; supports --dry-run and --yes. |
brnrd account status [--json] |
Show the resolved home and its repos. |
brnrd home link |
Retry or customize the private GitHub remotes for resident memory and project knowledge; managed connect normally performs this automatically. |
brnrd home manifest [--json] |
Count what the resolved home holds — kb pages, warp items, topics, run records, surface pages, git state. |
brnrd home sweep-orphans [--delete] |
List (and, with --delete, remove) project homes holding nothing but default scaffold. |
The retired top-level spellings auth, bind, setup, add, and connect
are not aliases. Use the noun-first commands above.
Daemon lifecycle
Section titled “Daemon lifecycle”| Command | Purpose |
|---|---|
brnrd daemon up [--foreground] [--dev-reload] |
Start the installed service, or foreground daemon when selected. |
brnrd daemon down |
Stop it. |
brnrd daemon status |
Show service and foreground status. |
brnrd daemon install |
Install the systemd user service or macOS LaunchAgent; supports --no-start. |
brnrd daemon uninstall |
Remove the service. |
brnrd daemon logs [-n LINES] [--no-follow] |
Read or follow service logs. |
brnrd gc [--dry-run] |
Prune daemon-accumulated state past its retention window; --dry-run prints counts and bytes without deleting. |
Knowledge, diagnostics, and resident tools
Section titled “Knowledge, diagnostics, and resident tools”| Command | Purpose |
|---|---|
brnrd docs [topic] |
Read the documentation bundled with the tool. |
brnrd kb "<query>" [--limit N] |
Search home and repo knowledge. |
brnrd portal state [--json] [--path PATH] |
Inspect live daemon portal state. |
brnrd portal facets [--json] [--path PATH] |
List the portal facet catalogue and live population. |
brnrd do --reply EVENT-ID (--promise WHAT | --no-follow-up) |
Reply from a live wake, recording either the derived follow-up or that the correspondent’s event carries none. |
brnrd agent inject [--task TEXT] |
Print the wake context a daemon task would receive. |
brnrd ergonomics summary [--days N] [--json] |
Summarize captured agent-ergonomics records. |
brnrd ergonomics list [--issue ID] [--days N] [--limit N] [--json] |
List captured records. |
brnrd ergonomics clear [--before YYYY-MM-DD] |
Delete captured records. |
Runners, bench, and completions
Section titled “Runners, bench, and completions”| Command | Purpose |
|---|---|
brnrd runners list [--json] [--all] |
List configured profiles and bundled Cores. |
brnrd runners doctor |
Check runner catalog health: stale cores, missing shells, auth issues. |
brnrd bench scenarios |
List scripted seam probes. |
brnrd bench run [--scenario NAME] [--shell SHELL] |
Run a probe in a sandbox; it spends real Runner quota. |
brnrd completions bash |
Print Bash completions. |
brnrd completions zsh |
Print Zsh completions. |
brnrd completions fish |
Print Fish completions. |
The bench runner also accepts --root, --timeout, and repeatable
--config KEY=VALUE options.
Common project settings
Section titled “Common project settings”.brr/config uses key=value lines:
environment=worktreeshell=codexcore=defaultrunner_policy=fixedSee Runs & environments and Models & quota before changing these settings.