Docs
Agents
The agent CLIs brainplane works with, what works with each one today, how it reaches them and how work moves between them.
Checked on 10 October 2026 with brainplane 0.4.2.
Supported agents
brainplane works with the agent CLIs you run on your Mac, for code and for work. 14 today: Claude Code, Codex, Gemini CLI, Grok, Cursor CLI, GitHub Copilot CLI, OpenCode, Amp, Qwen Code, Factory Droid, Pi, Aider, Antigravity CLI and Omp. Live delegated runs of Claude Code, Codex, Grok, OpenCode and Antigravity CLI came back verified.
| Agent CLI | Handoffs | MCP connect | Hooks |
|---|---|---|---|
| Claude Code | Write, review, research | 1 press | Yes |
| Codex CLI | Write, review, research, browser | 1 press | Yes |
| Gemini CLI | Write, review, research | 1 press | Not on yet |
| Grok Build CLI | Write, review, research | 1 press | Yes |
| Cursor CLI | Write, review, research | By hand | Not on yet |
| GitHub Copilot CLI | Write | 1 press | Not on yet |
| OpenCode | Write | By hand | No |
| Amp | Write | 1 press | No |
| Qwen Code | Write, review, research | 1 press | Not on yet |
| Factory Droid | Write, review, research | By hand | Not on yet |
| Pi | Write, review, research | No | No |
| Aider | Write | No | No |
| Antigravity CLI | Write | 1 press | Not on yet |
| Omp | Find and install | No | No |
- Handoffs. The modes
bp delegatecan start in that agent. Read-only modes use the agent's own read-only switch; an agent with no switch brainplane trusts takes write handoffs only. Omp is found and installed on 1 press, with no handoff yet. - MCP connect. 1 press adds the brainplane MCP server to that agent with its own
mcp addcommand. By hand: you add the server in the agent's own settings. - Hooks. Hooks report each session's events and questions to brainplane. Grok has its own hooks file. Not on yet: the event map is built and tested, and the hook entries for that agent are not switched on yet.
- Your scopes. A topic pack goes only to agents its scope allows. By default Claude Code and Codex get every scope and Grok side projects only. To hand work to another agent, allow 1 scope for it under
[provider_allowlist]inconfig.toml, for examplegemini = ["work"].
Any other tool that speaks MCP can read and update the shared brain through the brainplane MCP server.
How brainplane reaches them
brainplane runs the official, unchanged command line tools with your own logins or model access, for example claude -p, codex exec, gemini -p, grok -p and cursor-agent. It passes the context pack on standard input or in a private file, never on the command line, and reads the result. Your agents keep their own updates, settings and logins.
It works with agents where they already run: iTerm2, Terminal, tmux and herdr. No session has to move.
The MCP tools
Each agent connected over MCP gets 10 tools: find the right topic, read its brief, update its state, log a decision, ask a question, raise a stop, register a draft, post a card, report a handoff as done, and link its session to a topic. Agents can open cards. Only you can answer them.
Handoffs
A handoff moves work from 1 agent to another under a contract: a goal, a context pack, a time budget and acceptance checks. You start it with bp delegate in the terminal. The checks run before the result reaches you. A failed check sends a fix list back to the agent that did the work, with a capped number of rounds.
| Mode | What the agent may do |
|---|---|
| review | Read only. Codex runs in its read-only sandbox, Claude Code and Grok with a read and search tool list |
| research | Read and search the web |
| write | Edit files, within the agent's own permissions |
| browser | Drive the browser, 1 agent at a time, with a queue |
The result lands as 1 finished card with the verdict, the checks, where the result is and the command to resume the session.
A second opinion
Press Get a second opinion on a topic or on Handoffs, or ask for one in chat: Codex checks a Claude Code draft read-only, in points, and Claude Code decides per point. When you press Use this version, a Word or PDF original gets a Word copy with tracked changes next to it; the original never changes. Each step runs on your own plans. In the terminal, bp second-opinion and bp review do the same.
Answer a running session
1 key answers a live Claude Code session in iTerm2 or tmux, with the 2 second hold and Escape, and a Terminal tab comes to the front for you to answer. Before it types, brainplane checks that the session is still the one you picked, that it is not at a shell prompt and that the same question is still on screen. Codex and Grok sessions and herdr panes use the same path, and those were tested with stand-ins. Codex sessions also take typed messages through Codex's own queue.
Stop cards
Sending, paying, deleting, deploying, creating accounts and buying paid plans always stop at a card for you. An agent prepares the draft, fills the form up to the card field or writes the payment recap. You press the final button yourself. No setting moves these actions to automatic.