1. brindle
  2. Docs
  3. Commands

Command reference

Commands with an optional workspace argument act on the workspace you're in when you leave it out. Every command takes --help.

Sessions

CommandWhat it does
brindleA fresh supervisor chat here, with the sidebar. If a session is already running here, you choose: open it, start another here alongside it, start the new one in its own worktree, or pause it and start fresh. Outside a repo, a scratch session. -s/--supervisor codex|antigravity|opencode runs the supervisor on another CLI for this run (the native and subagent providers can't supervise); a bare -s opens a picker that remembers your choice. -y skips the picker and uses your last pick.
brindle supervisorSame as brindle start.
brindle --versionThe installed version.
brindle delegation [LEVEL]How readily the supervisor delegates: conservative, balanced (default) or fast. --repo for this repo only.
brindle continue [ID]Resume a paused session, workers included. brindle -c for the latest. --no-attach resumes it without opening the chat.
brindle start [-p PROMPT] [-b BRANCH] [-w PATH]Like brindle, with options: a first prompt, -s CLI for the supervisor, --no-attach, --no-watch (no dashboard pane). -b/-w run it in that branch's worktree, created if needed.
brindle handover --to BRANCH|PATH [-n NOTE]Hand the session to a new supervisor there. Goal, milestones, workers, queued tasks and your note move across; the old session pauses.
brindle sessionsPaused sessions in this repo and the disk they use.
brindle goal [check]The goal's progress; check runs the milestone checks now. Autopilot is always on: brindle autopilot still works as an old name, but on and off do nothing. Pause the session to stop it.
brindle audit-decision FINDING [-r RATIONALE]Record that you accept a completion-audit finding without code changes, so later audits take it into account.
brindle transfer [REPO]Move a scratch session's work onto a branch in a real repo (--from a session, -b BRANCH).
brindle initDetect setup and test commands from your lockfiles and manifests, write .brindle/config.json, check the tools. -y writes without asking. An existing config is left alone.
brindle demoWatch brindle finish a tiny practice repo: parallel workers, reviews, gated merges, verified milestones. --local runs it on Ollama.
brindle doctorCheck tmux, the agent CLIs, model endpoints, add_dirs, the clipboard tool and the repo's config, and say what to fix. --fix offers to let Claude Code use an exported ANTHROPIC_API_KEY without asking, and Antigravity a GEMINI_API_KEY.

Seeing what's going on

brindle pr-check [PATH] runs pre-PR verification on a checkout: coverage, a serial pass and the new-test gate. The supervisor can run the same verification with pr_check(path).

CommandWhat it does
brindle watchThe dashboard on its own, the same view as the sidebar. --all for every repo, --once for one snapshot.
brindle sidebarBring this session's sidebar into the tmux session you're in, or restart it if it was closed. Ctrl-b S does the same in a window without one.
brindle lsWorkspaces and agents, with ahead/behind and tokens. --all for every repo, --json.
brindle historyWorker results, reviews, merges and milestone checks, with token cost (--limit N, --kind, --all). --share sums up a session in a few lines to paste into Slack or a post (--session ID for another session from brindle sessions).
brindle web [--port N] [--no-open]This session in your browser: agents, workspaces and milestones. Listens on 127.0.0.1 only; the link it prints carries a one-off token.
brindle appOpen the brindle desktop app, or print where to download it.
brindle cost [--days N] [--all]Dollar spend at list prices over the last 30 days (or --days), by model, for this repo (--all for every repo). Free; cost report and cost estimate need Pro.
brindle learningWhether hosted learning is on for this repo, and if not, why. Nothing is learned on your machine. brindle learning seed (Pro) sends this repo's finished routing history to the hosted learner once.
brindle attach [WS]
brindle cd WS
brindle open [WS]
Jump into a workspace's tmux session, print its path, or open it in your editor (--editor, default $BRINDLE_EDITOR or code).

brindle account

Paid plans. On its own, it lists which paid features your plan includes and how to get the rest. Also status, portal, seats N, route [--reset], org list|create|invite|join|use, org profiles [list|push|rm] and logout. brindle login is the same as brindle account login. brindle org messages lists the notices your org's admins sent you and marks them read (--keep leaves them unread).

SubcommandWhat it does
loginApprove in your browser. --device shows a code to enter elsewhere, e.g. over SSH.
syncYour settings across machines.
savingsWhat hosted learning's picks gained in this repo. Estimates from this machine's records.
upgradeOpens the checkout for Pro. --team --seats N for a Team org. --enterprise prints how to reach support, since Enterprise is set up by contact.
org ci-token create NAME|list|revoke IDTeam or Enterprise admins. Tokens for CI runs, stored as the BRINDLE_PRO_TOKEN repository secret. A new token is shown once.
org docs [SWITCH STATE] [--group ID]
org docs share_links <anyone|org|off> [--org ORG]
Team or Enterprise admins. Show or set the org's analysis-doc policy, and your effective switches. share_links sets the Enterprise org's design-document share-link policy.
org policyThe org's policy, its role overrides and yours.
org member policy-role MEMBER ROLE|noneEnterprise. Give a member a custom policy role.
org company [link ORG|unlink]Link orgs into one company.
org learning-share [on|off]Pool learning with the company's other orgs.
license install|status|removeOffline enterprise license.

brindle permissions

The rules brindle answers workers' permission prompts with. See Permission policy. Also list, report [--days N], preset [NAME], policy [on|off] (show, or turn on or off, whether brindle answers from your rules), forget ID and reset.

SubcommandWhat it does
check [--profile NAME]The effective rules per provider, changing nothing. --profile checks one profile.
suggestionsRequests you've approved at least twice, ready to become rules.
accept IDMake a suggestion a rule.
allow KIND MATCH
deny KIND MATCH
Add a rule. KIND is read, write, edit, bash, fetch, mcp or other; MATCH is exact unless you add --prefix or --glob. allow MATCH on its own means a bash rule. allow --once REQUEST_ID approves one pending request exactly once.
install-codex-hookShow what trusting brindle's permission hook in Codex would change; add --yes to trust it.
sync-agyCopy the rules into Antigravity's settings.
CommandWhat it does
brindle services [ls|up|down] [workspace]Pro. The worktree's own service containers (from services in the config): list, start, or stop and remove them.
brindle repo add PATH [--name ALIAS]
brindle repo rm ALIAS
brindle repo ls
Pro. Attach another local repo you own to the current session, so the supervisor can put workers there (each gets a worktree in that repo, with its checks, review and merge); detach it (its worktrees and branches stay); list what's attached.
brindle audit verifyEnterprise. Check the signed, hash-chained audit log and report the first broken record. --repo for another repo.
brindle audit export [--since ISO] [--format jsonl|csv] [--repo PATH]Export the audit log for your security team. Unverified; run verify too.
brindle audit pubkeyThe public key that signs this install's audit records, for verifying offline.
brindle audit ship [--force]Enterprise. Send the audit records to the sinks set under audit_export in ~/.brindle/config.json now. Exits 1 if a sink failed.
brindle audit prune [--repo PATH] [--days N]Enterprise. Drop audit records older than the retention (--days, else audit_export.retention_days), for every repo's log unless you pass --repo, leaving a signed checkpoint so verify still passes.
brindle cost report [--days N] [--all]
brindle cost estimate [--tasks N] [--weight W] [--profile P] [--reviewer R]
Pro. Spend by day, profile and goal, cost per merged branch and review pass rates; or an estimate of a goal's cost from this repo's history, as a range with a cheaper alternative.
brindle cost request --usd N --reason TEXT [--goal TEXT]
brindle cost requests
Enterprise. Ask an admin to approve spend over your budget; list your requests.
brindle docs list|show|delete|share|unshare|export|on|offPro. Your library of analysis documents, the deliverables of analysis tasks. share and unshare give a team or your org access; export downloads as md, docx or zip (-f, -o DIR); on and off set one of your switches (--switch store, share, assist, prompt_analysis or import_upload). The default switch is store: brindle docs on puts the Library on brindle servers; brindle docs off keeps approved plans on this Mac. brindle docs off --switch assist (honoured by the client from 0.5.11) stops brindle sending task text and file paths to write analysis briefs.
brindle rules suggest [--no-refresh]
brindle rules accept KEY
brindle rules reject KEY
Pro. Rules suggested from review findings that recurred across tasks. accept adds one to .brindle/rules/learned.md; reject means it is never suggested again.
brindle coordinator log|undo EVENT|stopPro. The coordinator above this repo's sessions (on by default with a Pro plan; "coordinator": false turns it off): recent actions, put back one action's change to the queue, and a kill switch that turns it off for this checkout.

Workspaces and branches

CommandWhat it does
brindle new BRANCH [-p PROMPT]A worktree on a new branch with a supervisor started in it, given the prompt as its first message (-b BASE, -s CLI for the supervisor, --no-agent for the worktree alone, --attach, --no-fetch, --no-setup, -y to skip the supervisor picker and use your last pick). --pr N checks out a GitHub pull request's branch instead (give it instead of BRANCH and -b).
brindle status [WS]
brindle diff [WS]
Compared with the base branch, committed and uncommitted. diff --stat shows a summary.
brindle sync [WS]Rebase (or --merge) the latest base into the branch.
brindle commit [WS]
brindle push [WS]
brindle pr [WS]
Commit everything (-m MSG), push with upstream, open a pull request (-t TITLE, --draft). The first brindle pr in a repo offers to turn on GitHub's automatic deletion of merged branches.
brindle merge [WS]Merge into the base branch locally (--squash).
brindle setup [WS]Re-run the repo's setup commands. --anyway runs them even while free disk is under min_free_disk_gb; they wait otherwise.
brindle rm WSStop its agents, remove the worktree, and its branch once fully merged. -K keeps the branch, -D deletes a merged one (with -f, an unmerged one too), -f removes it even with uncommitted changes, which go to the trash.
brindle trash list|restore|emptyRecover removed worktrees: list what the trash holds, restore ID one, or empty it (-y skips the question).
brindle cleanGive disk space back: worktrees whose branch is merged (each branch tip kept under refs/brindle-archive/), old database backups, aged archived transcripts, big logs. Unmerged worktrees untouched for stale_branch_days (default 14, under retention in ~/.brindle/config.json) are only listed. --dry-run removes nothing, --abandoned or --worktree PATH also removes those after asking, --branches deletes dead local branches, -y skips the questions. A worktree with uncommitted changes or a live session is never removed.
brindle baseline [--base REF] -- COMMANDRun a test over the base branch's source, without touching your checkout, to check it fails there and so is a real regression test. Exits 0 when the command fails on base, 1 when it passes there, 2 when the check couldn't run.

Agents

CommandWhat it does
brindle send ID MSGMessage an agent; delivered when it's idle.
brindle close IDStop an agent and hide it. --exited: every stopped one; add --all for every repo. Its worktree and branch stay.
brindle pruneApply the cleanup rules now: old paused sessions, merged worktrees (and their merged branches), leftover tmux sessions. Worktrees with uncommitted changes stay.
brindle agent profiles|peek|kill|turns|rewindList profiles; see an agent's screen (-n lines); stop one; list a worker's turn snapshots; rewind ID --to N puts its worktree back to the state after turn N (-p profile, --note) and starts a fresh session there.
brindle mcpThe MCP server agents talk to. brindle launches it for them.

Knowledge, profiles and keys

CommandWhat it does
brindle kb add folder PATH
brindle kb list
brindle kb sync [SOURCE]
brindle kb remove SOURCE
Knowledge sources agents can search with kb_search: add a folder of Markdown or text documents and index it; list this repo's sources; index new and changed documents and drop the ones that are gone; remove a source with everything indexed from it.
brindle decisions export [FILE]Write this repo's accepted decisions as Markdown (to stdout without a file).
brindle profile new NAME
brindle profile lint [NAME]
brindle profile show NAME
Write a new profile file (-e parent to extend, -r rule packs, -d description, --user for ~/.brindle/agents); check profiles (extends chains, rule packs, patterns, providers, permission denies); print one as brindle resolves it (--prompt for just the prompt).
brindle keys set|list|unset NAME
brindle keys unblock
Model API keys kept in the OS keychain (or a 0600 file) so every agent pane gets the ones its provider reads. set reads the value from a hidden prompt or stdin, never from the command line; list shows names with the last four characters; unblock lets brindle read the keychain again after it was locked or its dialog cancelled.
brindle github status|connect|disconnectbrindle's own GitHub sign-in, so git never asks the keychain. connect copies the GitHub CLI's sign-in (--gh) or takes a fine-grained token (--token); --file keeps it in a 0600 file instead of the keychain. disconnect forgets it; nothing is revoked on GitHub.
brindle daemonThe local API the desktop app talks to (status, stop, schema; --tcp, --no-socket, --idle-exit, --print-connection).

Tools the agents get

ToolWhat it does
assign
handoff
wait_for_worker
Start a worker: return now, or wait for its result (and keep waiting). assign and handoff take weight, files, depends_on, plan_first, repo, milestone, plan_worker, outside_plan, dry_run, goal, done_when and isolate. These link work to milestones or plan cards, explain work outside an open plan, validate without launching, override routing goals, state a finish line and choose isolation. assign also accepts design_heavy and fast_path.
send_messageMessage another agent; delivered when it's idle.
read_messagesRead the messages other agents and brindle sent, and mark them read.
list_agents
list_tasks
list_agent_profiles
Who's running (with each worker's last tool call), what's queued, which profiles exist.
list_reposThe repos attached to the session (Pro; brindle repo add).
cancel_taskCancel one of your queued tasks (and anything waiting on it), e.g. to re-plan.
start_nowStart a queued worker task that is waiting for room now, despite the load. One forced worker may be starting at a time.
workspace_diffA worker branch's changes against its base.
request_review
submit_review
Start a reviewer on a branch; the reviewer's verdict.
merge_workspace
remove_workspace
Merge through the gates; delete the worktree.
report_resultA worker finishes a task and hands back the result.
pr_checkThe supervisor runs pre-PR verification in the checkout named by path.
withdraw_planWithdraw an open or redirected plan by plan_id, dropping its holds and queued work.
handover_noteA worker approaching a usage limit leaves a note for its successor.
who_is_workingOther sessions in this repo with a live goal or running tasks, and the files they are working on.
record_decision
decisions
kb_search
Record a durable decision about the system; list this repo's accepted decisions; search the repo's knowledge sources (brindle kb).
requeueQueue a cancelled task again with the same brief.
answer_permissionThe supervisor answers a worker's permission request (allow, deny or escalate to you) before it reaches you.
agent_turns
rewind_agent
List a worker's turn snapshots; put its worktree back to one and start a fresh worker there (brindle agent turns|rewind).
record_audit_decision
wait_on
Accept a completion-audit finding with a rationale; hold autopilot's nudges while an outside job (a process, a time or a file) runs.
submit_plan
approve_plan
A plan-first worker proposes its plan; the supervisor approves it or sends it back with feedback.
complete_subagentThe supervisor records the result of a subagent-profile task.
set_goal
get_progress
check_milestone
Autopilot's goal, its progress, and running the checks.
need_userMark a step as waiting on your answer. brindle stops nudging about it and the supervisor keeps working on what doesn't depend on it; answered=true clears it.
add_checksPropose check commands for a repo that has none. brindle asks you in its own dialog and writes only what you accept.
request_doc_read
read_analysis_doc
edit_analysis_doc
Analysis docs (Pro), and local brindle kb documents for the first. Ask you to read a document; read one from the library at its newest version; edit a living one.
propose_plan
read_plan
reply_plan_thread
Only when you ask for a design doc: show you one to comment on and approve; read it back after you request changes; answer a comment thread on it. propose_plan accepts structured sections, a collaborative draft base and the restated request in ask, and validates configured document templates.
offer_visual
publish_visual
list_visuals
The supervisor offers a visual beside a pending choice, shows you a page in the app once you ask for or accept one, and lists the session's visuals with your answers. Workers can publish into the supervisor's session too. publish_visual accepts html_path instead of HTML and grouped choices; a supervisor publishing without an offer must supply exact user words in asked.
reply_doc_questionPro, analysis docs. Answer a design question you assigned to the supervisor, in its thread on the document.
transfer_to_repoMove scratch work into a repository.
handoverHand the session to a new supervisor on another branch or worktree, with a note. Unlike the command, it doesn't pause the old session: that chat stays open with nothing left to supervise, and is told to stop.

For what the marks beside agents and milestones mean, see What the sidebar shows.

KeyWhat it does
↑ ↓ j kMove
PgUp PgDnPage
Home EndTop / bottom
⏎ aOpen the agent
pPeek at its screen
xClose (twice if busy)
nNext agent needing you
Space TabFold group
/Filter; Esc clears
rRefresh
hHide the sidebar. The chat zooms; Ctrl-b S brings it back.
?This help
qQuit. In the sidebar, quit brindle (press twice); the session pauses.
Ctrl-b LBack from an agent's window (tmux's own binding for the last client; use your prefix if you changed it)

Copying chat text

  • Drag with the mouse in the chat. The selection stays inside that pane and is copied to the system clipboard (pbcopy, wl-copy or xclip).
  • Ctrl-b z is tmux's own zoom; it zooms the chat by hand. Ctrl-b S is the one binding brindle adds. If you remapped tmux's prefix, use yours in place of Ctrl-b.
  • "sidebar": "bottom" puts the dashboard under the chat instead of beside it.
  • The sidebar follows you between brindle windows, and Claude Code's own subagents show nested under the agent that started them.
  • If the sidebar is left behind in another tmux session, brindle sidebar (or Ctrl-b S) brings it here.