Reference
Command line
Everything the TUI does to panes, projects and machines is also a conch subcommand, so you can script agents from a shell. conch help prints the commands to start with, and conch help all every one.
Help
conch help # the commands to start with
conch help all # every command
conch help branch # one command: what it does, how it goes, examples
conch branch -h # the same (--help too)
conch branch pr -h # a subcommand's own flags
-h right after a command is answered before the command runs, so conch status -h explains status rather than starting a server to report on. A mistyped command gets the one it probably was — conch brnach says did you mean conch branch? — and exits 2, as any unknown command does.
An error says what to do next, as conch doctor does: with no server running, a command says so and that conch starts it (conch server stop says there is nothing to stop); a pane or project that is not there names the command that lists them (conch status, conch project ls); a word that is not a subcommand gets the one it was likely meant to be and conch CMD -h; a usage line ends with conch CMD -h explains it; and -m with a name conch has no machine by says it was tried as an ssh host. The server's generic bad_request: and internal: codes are left off what is printed; the ones a script or an agent reads — out_of_scope:, not_found: and the rest — stay.
Scripting
conch task -cwd ~/src/api "Add a health check endpoint" # pane, worktree, branch
conch new -agent claude -cwd ~/src/api # Claude in the repo
conch send p1 "fix the failing tests" && conch send -keys p1 enter
conch read p1 # visible screen as text
conch status # panes with agent state
conch project ls # projects, base, worktrees
conch branch commit -m "Fix the flaky test" && conch branch pr # finish a task
conch worktree clean -y # remove finished worktrees and their branches
conch wait p1 && conch send p2 "review what p1 just changed" # chain tasks
conch agent prompt -wait p2 "check finding 3 again" && conch read p2 # one agent driving another
conch close p1
conch server reload # run a new build; panes keep running
conch server stop # stops the server and all panes
conch server stop stops the server and every pane it owns. To move onto a new build, use conch server reload.
On macOS the server runs with GODEBUG=asyncpreemptoff=1, restarting itself once at start-up to get there: a reload re-execs the server process, and macOS makes that wait for scheduling signals a busy server never takes, which would leave it serving nothing. If a reload ever leaves the socket in place with nothing serving it, conch status says the server is not answering rather than that it is gone, and simply running conch again clears that socket and starts a fresh server. The panes of the old one are lost; nothing else needs cleaning up by hand.
Global flag
-m MACHINE (or --machine MACHINE) before the subcommand runs it against a remote machine instead of this one; local means this machine.
conch -m gpu-box status
Subcommands
conch
conch with no subcommand opens the TUI, starting the server if needed.
Inside one of its own panes it refuses, the way tmux refuses a nested session: the inner TUI would take the keys and the mouse, and closing the pane would kill it. Detach with ctrl+b d first, or run CONCH_PANE_ID= conch to open one inside the pane anyway (conch -m MACHINE for another machine's TUI always works).
server
| Command | Description |
|---|---|
conch server | run the server in the foreground |
conch server stop | stop the server and every pane it owns |
conch server reload [-binary PATH] | run a new conch build without stopping panes; -binary picks the program to reload into (default: the server's own executable path) |
conch server heap [-json] | the server's memory now, and its heap profile and goroutines written to debug/ in conch's folder (yours alone; the newest ten kept) without stopping anything. Two taken apart, go tool pprof -top -sample_index=inuse_space -base OLDER NEWER shows what holds what was added |
Panes
| Command | Description |
|---|---|
conch view | what the terminal is showing: its tabs, what each holds, and which pane has the keyboard. The server keeps no layout of its own — a TUI publishes this and conch carries it |
conch show [-name NAME] ID... | ask the terminal to put those panes in front of the person: one is brought up, several are gathered side by side in one tab. A request, not an order |
conch status [-wide] [-json] [-team NAME] (or conch ls) | show server and pane status; -team only that team's agents. In a terminal it fits the window: a line saying how many agents are working, waiting, done or idle, then each pane's ID, name, agent and its state, what an idle agent left running (a BACKGROUND column, when any has; the summary line counts them), ssh host (when any pane has one), folder from ~ (cut from the start when it must be, since the end names it) and command (not an agent's, which is the agent; left out when there is no room to say anything). Piped — or with -wide — it is the full table scripts read, unchanged: ID, name, state, agent, ssh host, size, folder and command of each pane; -json gives the server and its panes as JSON ({"server": null, "panes": []} with no server), an agent's background jobs as agent.background (how many) and agent.jobs ([{pid, command, since, ports}]). The ssh column is the host a terminal is logged in to with plain ssh right now — the one -ssh on upload and download reaches — and - for the rest. Its first line gives the server's uptime, which counts from the first server of a chain of reloads — its panes have been alive that whole time — and then (reloaded N ago) for when the running binary was loaded, which is the one that says whether your last build got there |
conch new [-cwd DIR] [-name N] -- CMD [ARGS...] | start a pane (default command: your shell; default folder: the current one, or with -m that machine's home) and print its ID |
conch new -agent claude [-account NAME] [-cwd DIR] [-- CLAUDE ARGS...] | start Claude Code with state tracking; -account starts it on another of its accounts |
conch new -agent claude -chat [-permission ask|accept_edits|auto|full] [-resume SESSION] | start it as a Chat session (Claude Code, Codex, ACP agents): its own protocol rather than its terminal, drawn as a chat in Conch.app; -resume continues that conversation as one |
conch chat -backend claude|codex|acp [-prompt TEXT] [-resume SESSION] [-model M] [-permission P] [-plan] -- COMMAND | what a Chat session's pane runs: the agent behind its own protocol, the conversation on the server |
conch account list | add AGENT NAME [-dir DIR] [-key-env VAR] | remove AGENT NAME | an agent's other accounts (Claude Code, Codex, Antigravity CLI), each with its plan usage and agents |
conch account pin [PATH] NAME | unpin [PATH] | agents started in a project, worktree or task folder use that account |
conch account failover PERCENT|off|default [-agent AGENT] | a new agent whose account is past PERCENT of a plan window starts on the agent's next account; -agent sets one agent's own line, default puts it back on every agent's |
conch account suggest [AGENT] | the agent's accounts ranked for a move: signed in, the most room, the fewest agents |
conch agent move [-account NAME] ID | carry an agent's conversation to another account and resume it there |
conch agent switch [-now] [-preview] ID AGENT | switch an agent's conversation to another agent, resumed in the same pane (Switching agents) |
conch account back [ACCOUNT] | every agent moved off the account moved back, once it has room |
conch ssh TARGET [SSH OPTION...] | a terminal on this computer logged in to a host with ssh, outside every project — the session the TUI's H opens, built the same way (conch's ssh config, a connection of its own), so the tree, the files view and -ssh on upload and download know it as one; options after the target are ssh's (-p 2222, -o Setting=value); prints its pane ID. Not with -m: the session starts here |
conch ssh -copy-key TARGET [SSH OPTION...] | a terminal that puts this computer's public key on the host (making ~/.ssh/id_ed25519 first when there is none), so later logins need no password — the TUI's K. ssh asks for the host's password in that terminal, once; prints the pane's ID |
conch ssh -check-key TARGET [SSH OPTION...] | whether the host takes this computer's key, by one batch-mode login that never asks: prints key, password (every key refused) or unreachable, the last two with what ssh said, and exits 0 for all three |
conch send [-keys] ID TEXT... | type text into a pane; with -keys, the arguments are key names (e.g. enter, ctrl+c) |
conch read ID | print a pane's visible screen |
conch close ID | close a pane |
conch rename ID [NAME] | name a pane; without NAME it gets its own back. Refused when a running pane already has the name |
conch redraw ID | draw a pane's screen again, for stale text a program left behind |
conch wait ID [-state done] [-timeout 30m] | block until the pane's agent is done (or waiting, working, idle — several, comma separated, stop on the first to happen). Prints ID AGENT STATE. Exits 124 if the time runs out, so a script can tell that from a failure; without -timeout it waits as long as it takes |
conch [-m MACHINE] upload [-to DIR [-p]] [-f] PATH... | copy files or folders to the machine and print where each landed there: into DIR there (~ is its home), else its uploads folder (~/.config/conch/uploads), as dropping them on its pane does. A DIR that is missing is refused unless -p, which makes it and the folders above it first, as mkdir -p does. A name already taken is numbered (ca 2.pem) unless -f |
conch [-m MACHINE] download [-to DIR] [-f] PATH... | copy files or folders from the machine into DIR here (default: the current folder) and print where each landed; -f as for upload |
conch [-m MACHINE] upload|download -ssh PANE ... | the same with the host the terminal PANE (its ID or name) is logged in to with plain ssh — nothing of conch's needed there, as in its Files view. upload goes to that host's home unless -to says otherwise. It needs a key or an ssh agent for the host, since nobody is there to type a password |
Pane names
Every command that takes a pane's ID — send, read, close, redraw, wait, rename, agent explain, agent prompt — takes its name as well: the one in conch status's name column, set with conch rename or conch task -name. That is how one agent addresses another it started, without keeping track of IDs:
conch task -name reviewer -agent codex "Review the diff on this branch"
conch agent prompt -wait reviewer "Check finding 3 again" && conch read reviewer
- An ID is always an ID:
pand a number is never looked up as a name, so names of that shape are refused. - A pane on another machine can be named
MACHINE:ID—conch read busybox:p3isconch -m busybox read p3. That is how the TUI's status bar, Conch.app and the phone show a pane's ID, and what their Copy pane ID gives, so a copied ID works as it is. The machine is its ID, its label or its ssh target, as-mtakes, looked up in that order — so an ID always reaches its own machine — and the windows name a machine by its label only when no other machine answers to it, else by its ID. One that is not inconch machine lsis left alone, and a ref that disagrees with-mis refused. A command reaches one machine, soconch showrefuses panes on two — and a barep5besidebusybox:p3, sincep5alone means this computer's (or-m's). Only the command's pane is read this way:conch send p5 look at busybox:p3sends that text as it is. - A name is looked up once, when the command starts; a
waitthen stays with that pane. - Names are exact and case sensitive. A name two running panes share is refused rather than guessed — say which with its ID. A pane that has ended still answers to its name until another running pane takes it.
- Names belong to one machine's server, so
-mlooks them up there.
machine
conch machine bridge ID carries conch's protocol to that machine's server on its own stdin and stdout, reached the way conch reaches it — its ssh options, a sandbox's gateway — by running conch bridge there. It is how the Mac app talks to a machine other than this one, and anything else that speaks the protocol can use it the same way. It installs nothing: a machine without conch, or with one too old for this build, is said, with conch machine upgrade ID to fix it.
attach
conch attach p3 # show pane p3 here and type into it
conch attach -hold p3 # and keep its last screen when it ends, until a key
conch attach -raw p3 # give this terminal the program's own output to draw
conch -m busybox attach p3 # one on another machine
conch attach puts one pane in the terminal it runs in: the screen conch keeps for that pane, redrawn as it changes, with what you type, the mouse and the window's size going back to it. It is how the Mac app shows a pane in a view of its own, and it works in any terminal. The pane's program never sees this terminal — conch's server is its terminal — so arrows and the like are passed by name for the server to send the way the program asked, and the mouse only reaches a program that asked for it. The wheel follows the TUI's rule: on the main screen it scrolls conch's history, on the alternate screen it goes to the program. Shift with Page Up and Page Down scrolls the history a page at a time, and shift with Home and End goes to its oldest line and back to the live screen; a full-screen program gets those keys instead. Closing the terminal detaches and the pane keeps running; when the pane ends, attach ends too and says how.
With -raw the terminal gets what the program wrote rather than conch's screen of it, so it draws the pane itself: its own scrollback, selection, search, images and cursor shapes. This is how the Mac app's Ghostty shows a pane. It starts with output that rebuilds the history and screen, then follows the program as it writes. The questions conch already answers for the program — where the cursor is, what the terminal is, its colours — are taken out, so the program is not answered twice; the ones only this terminal can answer, such as whether it draws images, still reach it. The pane's size is still settled by the server between everyone showing it: this terminal draws the output at the pane's size, and typing here makes it this terminal's. Its own answers and the pointer just moving take nothing. -view (with -raw) only looks: it never resizes the pane or takes its size. Against a server too old for it, -raw is the plain attach.
When an agent runs these commands
An agent in a conch pane can drive conch with the same commands — start a reviewer, prompt it, read its answer. conch agent skill -apply teaches it how, and when to stop and ask you; Agents working together walks through it with examples. What it may change is kept to its own work:
- panes it started, and the panes those started, in any project;
- panes in its own project, whoever started them;
- its own project's branches and worktrees.
Anything else — typing into, closing, renaming or marking as seen another project's pane, sending it keys or a broadcast, removing another project, committing, pushing or discarding there — is refused with out_of_scope, and so is conch server stop or reload, and changing your own setup: the agents' skill, the library, a sync, or which local files a project copies into its worktrees:
conch: out_of_scope: the claude agent in p4 may not close p1: it did not start it, and it is in another project; do it from the TUI or a terminal pane
Reading is never refused (read, status, wait, sessions), and neither is starting panes and tasks: what an agent starts is its own, and each pane in the server's pane list carries who started it (created_by).
conch tells who is asking from the operating system — the process at the other end of the socket, and its parents up to a pane — not from CONCH_PANE_ID, so unsetting that changes nothing. Only a pane with an agent running in it is held to this: a terminal pane, the TUI and scripts outside conch act as you. It is a guard against a confused agent closing the wrong session, not a sandbox: a program set on escaping can leave the pane's process tree.
On other machines. -m from an agent's pane carries its scope along: conch asks this machine's server who is running the command and, for an agent, has the other machine's server hold the connection to what that agent started there — its panes (and theirs), and the projects it started them in. It has no project there otherwise, so another project's panes stay out of reach even when they share a name with its own. A machine whose conch predates this isn't driven from an agent's pane at all; conch machine upgrade it. A terminal pane's -m is you, as before. Like the rest, this asks conch: an agent that runs ssh itself, or points CONCH_SOCKET elsewhere so this machine's server can't be asked, is not held by it.
agent
| Command | Description |
|---|---|
conch agent explain ID | show how a pane's agent state was decided, as JSON |
conch agent status | list each supported agent: installed (with version and path) or not |
conch agent install NAME | run an agent's installer in a pane and wait for it |
conch agent add NAME -acp 'COMMAND [ARGS]' [-label L] [-dir DIR] [-env K=V] [-force] | add an agent that speaks the Agent Client Protocol: agents/NAME.toml with an [acp] table, written by the running server (on the -m machine, offered at once) or, with none running, here for the next one; -force changes one added before |
conch acp [-agent NAME] [-label L] [-prompt TEXT] [-load SESSION] -- COMMAND [ARGS...] | run an ACP agent in this terminal as its client — what an ACP agent's pane runs, and a way to try one by hand. Escape or ctrl+c stops a turn, ctrl+d on an empty line leaves |
conch agent prompt [-wait] [-until done,idle,waiting] [-timeout 30m] [-at TIME] ID TEXT... | send the pane's agent its next message and submit it. Unlike conch send it only types into an agent, and never into one waiting on a question — a permission prompt, a menu — where its Enter could answer something nobody read: it exits 3 and types nothing (a question that comes up in the moment before Enter leaves the message typed but unsent). The message is typed as text and only conch's own Enter submits it: escape sequences and control characters in it are dropped, and every line break becomes a newline, so a carriage return or ^C inside it can't submit half of it or stop the agent. With -wait it blocks until the work the message starts has ended — not on the done or idle still showing from before it — and prints ID AGENT STATE; a question the agent asks ends it too, unless -until leaves waiting out. An agent already working gets the message when that work ends, so that work is the one waited for. Exits 124 if -timeout runs out, and fails if the pane ends or another program takes it over. With -at (14:05, +30m, 2026-10-15 09:00) the server keeps the message and sends it then, once the agent is free — see Later, and on a schedule |
conch agent question ID | what a waiting agent asks and its choices, read off its screen as the phone reads them, as JSON: {"id": "q_…", "text": "Allow command?", "choices": [{"choice": "1", "label": "Yes", "default": true}, …]}. null when the agent is not waiting, which is an answer rather than an error. The Mac app shows it as buttons |
conch agent team ID [TEAM | - | -clear] | which team an agent is in, by hand or by rule, or put it in one: - keeps it out of every team, -clear leaves it to the rules |
conch agent answer [-question QID] ID CHOICE | pick one of those choices without opening the pane: the agent's cursor is moved to it and Enter pressed, as the phone does. On a multi-select question, Enter ticks a box; s is its Submit. With -question it is refused if the question has changed since it was read, so a late answer cannot land on the next question |
conch agent skill [-skill NAMES] [-agent NAMES] [-remove] [-apply] | install conch's skills — conch (how an agent in a conch pane starts, prompts and reads another), conch-team, conch-review, conch-ship, conch-factory, conch-autopilot, conch-qa, conch-cicd, conch-setup, conch-status and conch-manage (agents working together) — where each agent reads your skills: ~/.claude/skills/conch and the rest for Claude, ~/.agents/skills/conch for Codex, Gemini and OpenCode, ~/.config/devin/skills/conch for Devin. -skill conch,conch-review installs only those (a name conch has no skill by is refused before anything is written). Without -apply it only says what it would do; -remove takes it away again. A conch skill there that conch didn't write is left alone. With -m it installs on that machine. Not from an agent's pane: it is your setup |
conch skill [-list | NAME] | print conch's skill (or the one named; -list names them) to stdout instead of installing it, for an agent whose skills folder conch does not manage, a system prompt you assemble yourself, or a sandbox where it goes inline. The same bytes the installer writes |
conch agent setup [-agent NAME] [-copy] [-json] [DIR] | show what each agent loads in a folder; -agent limits it to one agent, -copy copies missing local files from the main checkout first, -json prints JSON |
conch agent sync [-user] [-from NAME] [-to NAMES] [-apply] [-undo [-stamp S]] [DIR] | give the other agents one agent's setup — instructions, skills, MCP servers — in a checkout, or with -user the setup in your home. Without -apply it only says what it would do; -undo puts a sync back. See One setup, every agent |
conch agent library [list | add | mcp | skill | on | off | rm | import AGENT | plan | apply | undo] | MCP servers and skills kept in conch, each given to the agents you choose. add NAME URL or add NAME -- COMMAND ARGS with -to NAMES, -env K=${VAR}, -header K=V, -sse; skill NAME FOLDER, or skill [NAME] owner/repo[/path][@ref] (or a github.com link) to download a skill from GitHub into the library on that machine; on/off NAME AGENTS; plan says what apply would write. See Shared MCP servers and skills |
The agents conch knows
The names -agent, conch agent install and conch new -agent take. Supported — their sessions are read: claude (Claude Code), codex (Codex), gemini (Gemini CLI), opencode (OpenCode), devin (Devin), copilot (Copilot CLI), cline (Cline), qwen (Qwen Code) and goose (Goose).
Runs here — from a manifest in internal/detect/manifests, which says what was checked for each: aider (Aider), amp (Amp), antigravity (Antigravity CLI, agy), auggie (Auggie), continue (Continue CLI, cn), crush (Crush), cursor (Cursor CLI), droid (Droid), grok (Grok), kilo (Kilo Code), kimi (Kimi Code), kiro (Kiro CLI, kiro-cli chat), vibe (Mistral Vibe) and pi (Pi). Add your own with conch agent add, or one that speaks ACP with conch agent add NAME -acp COMMAND (Agents over ACP).
Of these, Pi, Grok, Cursor, Kilo Code and Antigravity CLI have their conversations listed in Sessions.
Agents over ACP
An agent that speaks the Agent Client Protocol (ACP) is a third way in, beside the two tiers:
conch agent add gemini-acp -acp 'gemini --acp' -label "Gemini (ACP)"
That writes an [acp] table instead of [run] — command (it speaks ACP on stdin and stdout), and optionally dirs and env. Flags change between releases, so check the command against the agent's own --help. Others: goose acp, and the ACP adapters for Claude Code and Codex, claude-agent-acp (npm install -g @agentclientprotocol/claude-agent-acp) and codex-acp (npm install -g @agentclientprotocol/codex-acp). When Check does not find one of these, it says how to install it.
Or from Settings, on any machine: in Conch.app, Settings › Agents › Agents over ACP › + Add an ACP Agent…, or Add an ACP Agent… at the foot of a row's agent menu; in the TUI, Settings › Agents › a machine › a, or + in the c menu. Pick the machine, give the command, and Check starts it once there and says what it offers — that it speaks ACP, whether it reopens and lists sessions, whether it may ask to sign in — or why not: not found, exited (with what it last wrote), not speaking ACP. Add writes the file on that machine and the agent is in every menu at once, with no server reload. An agent added this way is changed with Edit… (TUI: enter) and removed with Remove… (TUI: d), which deletes only its manifest. With a server running, conch agent add -acp does the same, and -m MACHINE adds it there.
Its pane runs conch acp, the protocol's client, and is an ordinary pane — tabs, splits, the phone, conch send and conch read all work:
- The conversation streams in: messages, thinking (dimmed), tool calls with ✓ or ✗, diffs and plans. Type below it and press Enter; a message typed while it works is sent when the turn ends. Escape or ctrl+c stops the turn; ctrl+d on an empty line leaves.
- Its state — working, waiting, done — comes from the protocol (a prompt sent, a permission asked, the turn ended), never from screen rules.
- Permissions are a numbered menu with the agent waiting: answer with the arrows and Enter or a number, or from the phone and the Mac app. A stopped turn answers any request still open "cancelled".
- Files and commands it asks conch for stay inside the folder it was started in; a path outside it, or a link leading out, is refused.
- A first message goes through the protocol, so tasks and handoffs work.
- Sessions list in Sessions where the agent offers
session/list, and reopen where it offersloadSession; one it cannot reopen is refused rather than started afresh. conch does not delete them.
Every agent menu — a row's agents button, Start an Agent Here, Hand Off To and the TUI's c — lists them after the others, under Over ACP. Each takes the mark of the agent behind it (Claude's for claude-agent-acp, Codex's for codex-acp, Gemini's and Goose's for their own), and one conch does not know a plug (🔌). In the tree, in the TUI and the Mac app, its row is tagged ACP after its name, so claude-agent-acp is never mistaken for Claude Code.
Antigravity CLI
What conch does for agy (checked against 1.5.16), all read on this computer and nothing sent to Google:
- Sign-in: it signs in with Google the first time it starts. On a Mac the agent menu says beforehand when it is not signed in — conch sees whether its Keychain item is there without reading it — or that it will use a Gemini API key.
- State: it reports its own (OSC 7501), so working, waiting (sign-in, trusting a folder, approving a command) and done show with no hooks or screen rules.
- Chat: conch starts it with a title command of its own for that session (
--settings, never written to itssettings.json). That is where agy names its conversation, so Conch.app's chat shows its tools with what each was given and returned, its context window and its weekly quota. A title command of your own still runs. - Accounts: each a Gemini API key; see Agent accounts.
- Usage: Conch.app's Tokens used counts it by model over the last day, week and month, and its rows in Sessions show each conversation's output tokens.
- Setup (
i): itsAGENTS.md,GEMINI.mdand.agents/rules, its skills and plugins, and the servers in.agents/mcp_config.jsonand~/.gemini/config/mcp_config.json. Sync gives it instructions (a copy, since its@pathdoes not pull a file in) and skills, not servers: add those withagy mcp add.
project
| Command | Description |
|---|---|
conch project add PATH | add a project to the sidebar |
conch project clone URL [DIR] | clone a git repository and add it as a project — into DIR, or a folder named after the repository as git clone names it (here, in the current folder; with -m, in that machine's home — there DIR is an absolute path or one under ~). https, ssh and git@host:owner/repo URLs; a private repository uses that machine's git credentials, and git never stops to ask for a password |
conch project move [-plan] [-into DIR] [-y] [-json] PROJECT -to MACHINE | move a whole git project to another machine: cloned there from its origin (or joining the clone it has; with no origin, its repository copied there), every task worktree with its commits and uncommitted work, branches holding commits the origin hasn't, and the agents with their conversations. -to local brings one back here: conch -m gpu project move r1 -to local. -plan only says what would move; -json says the plan, each step and the result as lines of JSON. Everything here is kept — more |
conch project create [-no-git] PATH | create a folder with a git repository and an initial commit (-no-git: a plain folder) |
conch project git-init ID|PATH | make a project that is a plain folder a git repository: git init on main and an empty first commit, the files already there left uncommitted, so a task can make a branch in it. Refused for a folder that is already one or sits inside another repository; with no git identity set it says to set user.name and user.email and leaves the folder as it was |
conch project ls | list projects, their base branch and worktrees |
conch project rm [-close] ID | remove a project from the sidebar; its agents and terminals keep running unless -close closes them with it |
conch project files ID [-reset | -none | PATTERN...] | set the local file patterns copied into new worktrees; -reset restores the defaults, -none copies nothing. On APFS, Btrfs or XFS the copies are copy-on-write clones and cost no space; elsewhere a file over 10 MB is skipped. A pattern ending in / is a folder git ignores, cloned whole and only where clones work: a name alone matches at any depth (node_modules/, a default with macos/vendor/), a path from the top |
conch project setup ID [-none | COMMAND] | show or set the setup command run in each new worktree; -none runs nothing |
group
Projects kept together because they change together — an API, its web app, their specs. Each stays a project of its own, with its own git, branches and pull requests; the server keeps the groups (groups.json), so Conch.app shows the same ones.
| Command | Description |
|---|---|
conch group [ls [-json]] | the project groups: projects kept together because they change together — an API, its web app, their specs — each still a project of its own |
conch group add NAME PROJECT... | make a group of projects already added, or add projects to one; a project is named by its ID, its folder, or its name when only one project has it |
conch group rm NAME [PROJECT...] | take projects out of a group, or with none named take the group away — its projects stay |
conch group rename OLD NEW / conch group notes NAME [TEXT] | rename a group; give it notes for the agents working across it ("" clears them) |
conch group task [-branch B] [-agent A] [-each] [-only P,P] NAME PROMPT... | one task across a group's repos: the branch (named from the prompt unless given) in a worktree of each — or of those -only names — gathered in a task folder ($CONCH_HOME/tasks/GROUP/BRANCH) with a link to each worktree and CONCH-TASK.md; one agent works there with every worktree added (Claude's and Codex's --add-dir; Codex is started with --sandbox workspace-write, since it refuses the extra folders read-only, or danger-full-access when your ~/.codex/config.toml sets that), or with -each an agent in each worktree, told about the others. Refused before anything is made when a repo is not a git repository or already has the branch checked out; prints the folder and the agents' pane IDs. The flags may come after NAME too; -- ends them, for a prompt that starts with a dash |
conch group tasks NAME / conch group task-rm NAME BRANCH | a group's tasks, with their repos, folder and agents; forget one and remove its folder — each repo keeps its worktree and branch, to merge or delete as any branch |
conch group merge [-order P,P] [-remove] NAME BRANCH | Merge All When Green: once every pull request of the task is open, green and held back by nothing the autopilot would hold one for, they merge one by one in that order (default the task's), each after the one before has landed; one GitHub refuses stops it there. The server waits, so it carries on with nothing open. -remove then takes the task away with each repo's worktree and branch; -stop stops waiting. conch group tasks says where it stands |
task
conch task [-cwd DIR] [-branch B] [-base B] [-agent NAME] [-account NAME] [-n N] [-name N] [-at TIME] [-every SPAN] [-queue [-wip N]] [-after REF] [-issue N | -ticket KEY] [-team NAME] [-chat] PROMPT creates a branch and worktree and starts an agent with the prompt (-chat as a Chat session; -account on that account of the agent's; -at later, -every again and again, -queue when the project has room, -after once other work has finished, on top of it: see Later, and on a schedule; conch schedule lists and removes what is scheduled); in a folder that isn't a git repository — or, with -m and no -cwd, the machine's home — the agent works there with no branch. See Tasks.
| Flag | Default |
|---|---|
-cwd DIR | a directory in the project; default: the current one. With -m it is required, as an absolute path on that machine |
-branch B | branch name; default: derived from the prompt |
-base B | branch to start from; default: the project's base |
-agent NAME | an agent's name (the agents conch knows), or several separated by commas; default: [agents] default, and with none chosen Claude Code — or, on a machine last found without it, an agent it has (the server knows once anything has asked: opening conch, conch doctor or conch agent status). An agent this machine is known not to have is refused with how to install it, rather than started to die with command not found; after one dies that way, a task naming no agent looks for the others — and from that look on, the missing one is refused by name |
-n N | attempts at the same prompt, each on its own branch (default: one per agent, at most 10) |
-name N | name the task's pane, to address it by in place of its ID (see Pane names). Refused while a running pane has that name, and with more than one attempt |
-issue N | work on that GitHub issue, read with gh: its title and body are the prompt, and any PROMPT is added |
-ticket KEY | work on that Linear or Jira ticket — ENG-123, linear:ENG-123, jira:PROJ-42 or its address, or a tickets integration's NAME:KEY (shortcut:123) — read by the server with the key in [trackers] or the integration's: its title, body and comments are the prompt, and the branch is named from its key. Not with -issue or -sandbox |
run
A job split into tasks that depend on one another, kept by the server in graph.json so a coordinator agent that is restarted — or you — finds it where it was.
| Command | Description |
|---|---|
conch run new [-cwd DIR] [-manual] NAME | make a run in the project; -manual starts tasks only on conch run start |
conch run add [-id ID] [-after A,B] [-agent A] [-gate TEXT] RUN SPEC... | add a task. It starts once the tasks it is -after are done, with an agent on a branch RUN/ID made from the first one's (told to merge the others'); -gate waits for your approval first. A cycle, an unknown task or a repeated id is refused |
conch run ls / conch run show [-json] RUN | every run, or one: each task pending, ready, running, done, failed or blocked, with its pane, branch and result, and the questions |
conch run start RUN [TASK] | start ready tasks now (for a -manual run) |
conch run wait [-timeout D] RUN | wait until a worker asks something, the run is over, or nothing left can go on by itself. A gate waiting for you does not end it |
conch run done RESULT... / conch run fail WHY... | a worker's report, once; from its pane it needs no -run/-task. A worker whose pane ends without one has failed, and the tasks after it are blocked |
conch run ask [-option O]... [-default O] [-timeout D] QUESTION... | a worker asks the run's coordinator and waits; after -timeout the default is taken, or with none it fails |
conch run answer RUN QUESTION ANSWER... | answer a question (q1); with options, one of them |
conch run approve RUN TASK / conch run deny RUN TASK | approve a gate, or turn it down so the task fails. Yours alone: an agent is refused |
conch run rm RUN | forget a run (its panes and branches stay) |
conch run new checkout
conch run add -id model checkout "add the Order model"
conch run add -id api -after model checkout "add POST /orders"
conch run add -id ship -after api -gate "release the checkout API?" checkout "write the release notes"
conch run wait checkout
A message for an agent, kept by the server in mail.json and typed in only when that agent has finished its turn: never while it works, never over a question it is asking you, never while you are typing in its pane, never while it is being switched or moved. Everything waiting for one agent goes in as one prompt, starting ✉ m4 from api (codex · task api, p7): and saying how to reply. It is how one agent asks another something without interrupting it — a worker asking a teammate rather than guessing — and how you say something to an agent that is busy.
| Command | Description |
|---|---|
conch mail send [-wait D] TO TEXT... | send it. TO is a pane (p8), its name, @TASK or coordinator within the sender's run, or you; TEXT - reads stdin. With -wait the command waits for the reply and prints it (exit 4 if none came in time — the message stays open, and a later reply is typed into the sender as mail at the end of its turn) |
conch mail reply ID TEXT... | answer a message you were sent, before your turn ends; ends the sender's wait. Without it, what the agent answers in the turn the message went in for is taken as the reply — read from its saved conversation, or off its screen where conch cannot read that — so every message gets its answer back without anybody waiting for it |
conch mail ls [-json] [-all] [-pane P] | messages and what each waits for: held, delivered, replied, cancelled, undeliverable. From an agent's pane, its own |
conch mail show [-json] ID / conch mail wait [-timeout D] ID | one message with its replies; wait again for a reply |
conch mail cancel ID | call off a message still held (its sender or you) |
conch mail deliver ID | type a held message in now, while the agent works, as you would. Never over a question, and yours alone |
An agent may mail what it could prompt — the panes it started and its project's — and the other agents of its own run. Refused, with exit 3: a message to a pane that is not running an agent, a name two panes share, one over 16 KB (send a file's path), a 21st waiting for one agent, a 61st from one agent in an hour, and a -wait on an agent that is itself waiting on you, directly or along a chain — two agents waiting on each other would wait for ever. A message whose agent's pane ends is undeliverable; one to @TASK waits for the task's worker, and gives up if the task ends without one.
conch mail send -wait 10m @ui "Does the cart read order.total or order.amount?"
conch mail reply m4 "total"
conch mail send p12 "When you're done, also update the changelog" # you, to a busy agent
conch mail ls
ticket
Tickets in Linear and Jira, through the server on the project's machine and the key in [trackers]. Each command takes -cwd DIR; outside a project, name the tracker (linear:ENG-123). conch changes a ticket only when one of these is run.
| Command | Description |
|---|---|
conch ticket ls [-tracker linear|jira] [-mine] [-n N] [-json] | the project's open tickets, most recently changed first; -mine those assigned to you |
conch ticket show [-json] TICKET | a ticket: status, address, body, comments and links |
conch ticket comment TICKET TEXT... | add a comment |
conch ticket status TICKET STATUS... | move it to a status as the tracker names it (In Review, Done); Jira takes the transition that leads there |
conch ticket link [-title T] TICKET URL | attach a link — a pull request, a branch — to the ticket |
conch ticket all [-mine] [-json] | every project's open tickets — its GitHub issues, its Linear or Jira tickets and those of its tickets integrations — with what conch is doing about each: a task queued, its agent working or waiting, its pull request and CI, merged. Conch.app's Tickets window (⇧⌘I) shows the same |
conch ticket check [-json] | whether GitHub (through gh), Linear and Jira can be reached with what the server has: whose the key is, the teams or projects it sees, open tickets and yours, each [[trackers.projects]] entry, and what is wrong — never the key. Settings → Trackers shows the same |
conch task -ticket ENG-123
conch branch pr -title "ENG-123: Export as CSV"
conch ticket link ENG-123 https://github.com/acme/api/pull/42
conch ticket status ENG-123 "In Review"
branch
Finishing a task from a script, the same steps as the changes view. Every command takes -cwd DIR (a directory in the project; default: the current one) and -branch B; without -branch conch uses the branch checked out in that directory. With -m MACHINE, -cwd is required and must be an absolute path on that machine.
| Command | Description |
|---|---|
conch branch commit -m MESSAGE [-file PATH]... | commit every change on the branch, or only the -file paths (repeat the flag; a rename needs both its paths). Prints the new commit |
conch branch push | push the branch, setting its upstream on origin (or the only remote) the first time; a remote that has moved on refuses it, and -rebase takes its commits, puts the branch's own on top and pushes |
conch branch pr [-title T] [-body B] [-draft] | push, then open a pull request into the base with gh, and print its URL. Without -title, gh fills the title and body from the commits |
conch branch merge [-no-squash] [-m MESSAGE] | merge the branch into the base where the base is checked out, squashed unless -no-squash. A merge that conflicts is undone and the command fails |
conch branch discard [-n] [-force] | remove the branch's worktree and delete the branch. It refuses when that would lose uncommitted files or unpushed commits, unless -force; -n only prints what would go |
conch branch prune [-days N | -merged] [-y] [-force] [BRANCH...] | delete local branches with no commit in N days ([git] stale_days, else 30) that lose nothing: merged, or pushed. -merged takes instead every branch the base already has — merged, squashed in, or merged on GitHub with its last commit — however recent. It keeps the base branch and any branch checked out in a worktree, and — unless -force — one with commits neither merged nor pushed. A branch whose commits git could not count (a git that failed, a listing that ran out of time) is kept, -force or not: not knowing is not losing nothing. Without -y it only prints what would go |
conch branch fix-ci [-agent A] | send the branch's newest failed CI run — from GitHub Actions, or, when Actions has none, from the project's CI integration (CircleCI, GitLab CI; see Integrations) — its log's end and a link to it — to the agent working on the branch, as f in the review queue; with none there, start one (-agent, else [agents] default) in the branch's worktree with it. Refused while that agent waits on a question of its own |
conch branch rerun-ci | re-run what failed in the branch's CI: on GitHub Actions every workflow that failed at the branch's head, one gh run rerun --failed each, else the newest failed run through the project's CI integration |
conch branch commit -m "Add the health check" && conch branch pr -title "Health check"
conch branch merge && conch branch discard # land it and clean up
review
The changes view's comments from a shell: the same ones, kept by the server, so a comment written here shows on a's hunk marks and the phone's agent card, and the other way round. Like branch, every command takes -cwd DIR and -branch B, and without -branch uses the branch checked out in that directory.
| Command | Description |
|---|---|
conch review | list the comments waiting for the branch's agent, oldest first, each with its ID, where it is and who wrote it when an agent did. The unresolved comments on the branch's pull request follow, with the reviewer (alice on GitHub), their replies and their link |
conch review add FILE[:LINE] NOTE | comment on a file, or one line of it (a.go:12). Every word after the file is the note. Run from an agent's pane, the comment says which agent wrote it |
conch review rm ID | take a comment away. A pull request's comment is refused: answer or resolve it on GitHub |
conch review reply ID ANSWER | answer a comment, by its id — what an agent that was sent it does once it has dealt with it: what it changed, or why it left it. The answer shows under the comment's line in Conch.app, signed by the agent. Answered by a person, the comment waits to be sent again with its thread. Not a pull request's: answer those on GitHub. Needs review.thread.v1 |
conch review send [-agent A] | hand every comment waiting to the agent working on the branch as one message, numbered, each of conch's own with its id; they are marked as sent to that agent (a server before review.thread.v1 clears them). The pull request's comments stay on GitHub but aren't sent again until somebody replies to them. Refused while that agent waits on a question. With no agent on the branch it is refused too, unless -agent names one to start in the branch's worktree with them |
conch review add api/login.py:42 "This swallows the timeout; let it raise."
conch review send
An agent kept to its own work may comment on and send for its own project's branches, and no others — which is what lets a reviewer you started leave its findings as comments instead of a file.
worktree
| Command | Description |
|---|---|
conch worktree ls | list the project's worktrees besides the main checkout, with why each looks finished and what removing it would lose; one mid-rebase says rebasing, under the branch being rebased, and is removed only with -force |
conch worktree clean [-y] [-force] [PATH|BRANCH...] | remove the worktrees that look finished and lose nothing, or the ones named, deleting their branches (never the base). Without -y it only prints what it would remove; -force allows losing work |
Committing single hunks is a TUI-only step: see Finishing a task.
machine
| Command | Description |
|---|---|
conch machine add [-label NAME] [-yes] [-o Setting=value] SSH_TARGET | add a remote machine, installing conch there; -label sets the name shown in the sidebar (default: the host), -yes installs without asking, -o is an ssh setting this machine is reached with and can be repeated (-o ProxyJump=bastion -o Port=2222) |
conch machine ls | list machines (also plain conch machine) |
conch machine rm ID | remove a machine |
conch machine rename ID LABEL | change the name a machine is shown by; its ID and ssh target stay |
conch machine upgrade ID | install this build on a machine and reload its server |
conch machine hosts | list the host aliases in ~/.ssh/config, for suggesting machines to add |
sandbox
| Command | Description |
|---|---|
conch sandbox adapt [-agent A] [-name N] [-new] [-json] URL… | teach conch a provider it doesn't know — one the registry has is offered as an install instead, unless -new: it downloads the API docs, an agent (Claude by default) writes a provider file from them in a pane of its own, and conch checks the file. Your key is tried against the API only once you agree to which variable goes to which host; with -json it is not tried (conch sandbox provider check NAME does it). Nothing is saved; on a terminal it asks. -json says each step as a line, for Conch.app |
conch sandbox adapt -revise TEXT NAME | send TEXT to the agent that wrote NAME's draft, and check the draft again |
conch sandbox provider check [-offline] [-json] NAME|FILE | what is wrong with a provider file, and (without -offline) whether the provider's list answers your key; exits 1 when the file is wrong |
conch sandbox provider show|save|rm NAME | print a provider file; make a draft a provider; forget one (refused while a machine here is one of its sandboxes, which are never touched) |
conch sandbox provider search [-json] [TERM] | the provider registry: providers others adapted and published, what each can do beyond the usual (snapshots, preview links, usage), whether each was checked live, and what you have of it; one listed with no ssh yet is marked so and cannot be installed |
conch sandbox provider install [-y] [NAME] | install one from the registry: says where your API key and ssh go and asks (-y doesn't), checks the file's hash, then lists your sandboxes with the key if it is set. No NAME lists them and asks which |
conch sandbox provider update [-y] [NAME] | take the registry's newer version of what you installed; a file edited here is left alone, and new hosts, or a new variable or header for the key, are taken only when you say yes (never with -y) |
conch sandbox provider publish [-dry-run] [-json] NAME | check one of yours with your key, then propose it to the registry as a pull request through gh (your fork, or the repository itself if you can push); your key is never part of it |
conch sandbox providers [-json] | the providers conch can make a sandbox with, whether each has its API key here (and if not, what to set), the sizes or place it takes instead of a snapshot, and what it says before one is made. Conch.app's New Sandbox… reads it; no provider needed |
conch sandbox stats [-provider P] | every provider's sandboxes in one table, and a line per provider: how many, in which states, what is running; no provider needed |
conch sandbox -provider P … | whose sandboxes the command means — an installed provider: daytona, boat, tensorlake or any other file, in front of any subcommand below. Required for all of them — there is no default, and a sandbox named under another provider is refused |
conch sandbox -provider P create [-label L] [-template T] [-image I] [-region R] [-size NAME] [-cpu N] [-memory GiB] [-disk GiB] [-env NAME]... [-yes | -keep] [-progress FILE] | make a sandbox with an installed provider (its key in the variable its file names, e.g. $DAYTONA_API_KEY), install conch there and add it as a machine; it runs until stopped. Template, region, image and size are what the provider's file offers, defaulting to Settings'. -env passes a variable from your environment; -yes deletes the sandbox without asking if setting it up fails, -keep keeps it; -progress FILE writes each step as a JSON line (what Conch.app's sheet reads) |
conch sandbox -provider P settings [-json] | what the provider's file lets you choose — a region, a default image, a size — with its choices, and what config.toml chose |
conch sandbox -provider P add [-label L] [-progress FILE] ID | make a sandbox ls shows with no machine — one whose machine was removed, or on boat.dev one made in its own interface — one of conch's machines: started if stopped, conch installed, and added. Never deleted if that fails |
conch sandbox -provider P ls | conch's sandboxes, their state and size, including ones no longer added as machines (also plain conch sandbox -provider P) |
conch sandbox -provider P ssh [-t] ID [COMMAND...] | a shell in a running sandbox, or COMMAND run there (-t gives it a terminal); exits with its status |
conch sandbox -provider P start ID | start a stopped sandbox |
conch sandbox -provider P stop [-y] ID | stop it: its agents and terminals end, its files stay |
conch sandbox -provider P rm [-y] ID | delete it for good and remove the machine; lists work that isn't pushed first |
conch sandbox -provider P url [-expires 1h] [-open] ID PORT | a link to a port inside the sandbox |
conch sandbox -provider P usage [-since 720h] ID | what it has cost, period by period |
conch sandbox -provider P snapshot [-name N] ID | keep it, to make others from |
conch sandbox -provider P snapshots [-rm NAME] | list what is kept, or forget one |
ID is the machine's ID or label, the provider's own sandbox ID, or PROVIDER:ID; it must belong to the provider -provider names. See Sandboxes.
integration
| Command | Description |
|---|---|
conch integration search [-json] [KIND|WORDS] | what the registries list: each integration's kind, whether a maintainer has run it live, the hosts it reaches and what it can do. An index that is not signed says so, and a sandbox provider with no ssh yet is marked |
conch integration info [-json] NAME | what it can do and what you supply, what it does in conch, the hosts your key goes to (and the ones it reads without it), how to make its key, who wrote it |
conch integration install [-y] [-key-stdin] [-base URL] [-cwd DIR] NAME | say the hosts and the key's variable and ask (-y doesn't), check the file's hash and that it reaches nothing else, then ask for the key without echoing it (-key-stdin reads it) and keep it in the Keychain on a Mac — elsewhere it says the variable to set; then one read-only call against this project's branch. A hook has no key: its whole command and events are shown first, -y or not. A revoked version is refused |
conch integration key [-stdin] [-base URL] [-cwd DIR] NAME | give an integration — shipped or installed — its key: without echo (-stdin reads it), kept in the Keychain on a Mac, then checked against this project; -base keeps the address of a service you run yourself ([integrations.base]) |
conch integration ls [-json] [-cwd DIR] | every integration here: built in (GitHub, GitHub Actions, GitHub Issues, Linear, Jira), shipped with conch, installed or of your own, its version, its key's state and whether the project in DIR uses it; a file that is not used says why (revoked, a problem in it) |
conch integration update [-y] [NAME] | take newer versions of what you installed; a file edited here is left alone, and a version reaching new hosts, or reading the key or user name from another variable, or a hook running another command or on other events, is asked about even with -y; a failed update leaves the installed version as it was |
conch integration remove NAME | delete an installed integration and its record |
conch integration check [-json] NAME|FILE | everything wrong with a file, one line each; exits 1 when anything is |
conch integration guide | the file format, for writing one |
conch integration previews [-json] [-cwd DIR] [-branch B] [-head SHA] [NAME] | a branch's deploys on a deploy integration (Vercel, Netlify): state, preview link, the commit, why one failed, and the service's page for the newest; with no name, the one the project uses |
conch integration deploy-log [-lines N] [-cwd DIR] [NAME] DEPLOY | the end of what a deploy's build printed, 200 lines unless -lines says otherwise (0 for all) |
conch integration redeploy [-cwd DIR] [NAME] DEPLOY | build a deploy again |
conch integration promote [-y] [-cwd DIR] [NAME] DEPLOY | release a deploy to production — asks first, -y to skip asking; any other answer releases nothing and exits non-zero |
conch integration use [-off] [-cwd DIR] NAME | say this project deploys to a deploy integration its files don't show (Vercel linking the repository from its own dashboard, with no vercel.json): kept in config.toml under [integrations.projects] by the project's folder, also from a worktree; -off stops |
conch integration adapt [-kind ci] [-agent A] [-name N] [-json] [-cwd DIR] URL... | adapt one conch does not know: conch downloads the API docs, an agent (-agent, default claude) writes NAME.toml to the kind's contract in a pane of its own and runs conch integration check until it is clean, then conch reads the project in DIR's runs with your key — after asking, since the file chose the variable and the host. The agent never has the key. A service conch ships or a registry lists is pointed at rather than adapted (-new adapts anyway); -kind sandbox is conch sandbox adapt. -revise TEXT NAME asks the agent for a change, -check NAME runs the key check, -save NAME keeps the draft as a file of your own |
conch integration publish [-dry-run] [-json] [-y] [-cwd DIR] FILE|NAME | check the file with your key (asked first, unless -y), then open a pull request to the registry through gh adding the file and its index entry (kind, version — the next unused one —, hosts, key variable, operations), with the check's result in its body. Your key is never part of it |
See Integrations.
web
conch web [-listen ADDR] [-port N] [-url URL] [-cert FILE -key FILE] # the gateway a phone reaches
conch web pair [-permission view|reply|full] [-machine NAME] # a QR code and one-time code, good for 5
# minutes; it reaches this computer unless
# -machine names a machine
conch web devices [-json] # the paired phones, and which are on now
conch web revoke ID # cut one off at once
conch web rename ID NAME # name one: they all pair as "iPhone" or "Browser"
conch web permission ID view|reply|full [-machine NAME]... # change what one may do, and which
# machines it reaches (this computer only
# until you name one; 'local' clears them)
conch web pair -json # the same as JSON: the code, its link, and
# whether the gateway runs (for Conch.app)
conch web start # run it in the background, as last started
# or at the settings' address
conch web stop # end one running in the background
conch web -relay wss://HOST # also through a relay ([web] relay)
conch web relay # the link to the relay, and its key's words
conch web relay reset # a new key: phones paired through the
# relay are revoked and pair again
conch web serves your phone on this machine's Tailscale address and nowhere else, unless -listen names another address. -url is the address phones open — the https://…ts.net one tailscale serve gives — which the QR code points at. pair draws the QR code only when it prints to a terminal; anywhere else it prints the link the code would carry, to open on the phone. It takes no -m: it shows the agents of the machine it runs on. pair and revoke are refused from an agent's pane.
relay
conch relay [-listen ADDR] [-cert FILE -key FILE] # a relay phones and conch webs meet at
conch relay runs a relay on a server of your own (:8443 by default): conch web connects out to it, a phone opens its address, and it copies the encrypted session between them without being able to read it. It stores nothing and serves the phone's app — which is why it should be a server of your own: a relay that served a changed app could read what the phone sees. Without -cert, put a proxy that does HTTPS in front of it — a phone's browser encrypts only on an https page.
config
conch config web [-port N] [-no-open] # every setting as a form in the browser, until ctrl+c
conch config path # where config.toml is
conch config web serves the settings page on 127.0.0.1 — a free port unless -port names one — and opens it; -no-open prints the address instead. The address carries a key of its own, made fresh each time, which the page needs to read or write anything. A conch TUI that is open notices a change to config.toml within a second and takes it in — a new theme shows at once — so what the page saves is not written over by the TUI's next change; its own Settings (,, then e) hands every save straight to it as well.
mcp
conch mcp # an MCP server on stdin and stdout
An agent that would rather call a tool than a command talks to conch through conch mcp: a Model Context Protocol server over stdio, in front of the same socket the CLI uses. A tool call comes back as a typed result and a refusal it can act on, where shelling out hands it a screenful of text to parse.
| Tool | What it does |
|---|---|
list | the panes you may see, each with what its agent is doing and the subagents running inside it |
read | a pane's screen now (tail for its last lines — leave it out for an agent, whose last lines are its prompt box) |
start | an agent in a pane of its own, in a folder that exists |
prompt | an agent's next message; wait holds until the work it starts has ended |
wait | block until a pane's agent is done, idle, waiting or working |
task | a branch, a worktree and an agent on a prompt |
rename | name a pane, to address it by that instead of its id |
view | what the person is looking at: the tabs, what is in each, and which pane has the keyboard |
show | ask the terminal to put panes in front of them — one is revealed, several open side by side in a tab of their own |
run_create, run_add | a run of tasks that depend on one another, as conch run new and add |
run_status, run_start, run_wait, run_answer | where a run stands, start its ready tasks, wait until it needs you, answer a worker |
run_report, run_ask | for a worker: report done or failed once, or ask the coordinator and wait for the answer |
mail_send, mail_reply, mail_inbox, mail_wait | mail: a message held until its agent is free, its reply, your mail, and waiting again. A tool waits at most four minutes for a reply, since a client cuts off a longer call; the reply then comes as a message |
view and show are the two that reach past the server to the screen. The server owns panes and the terminal owns the arrangement of them, so conch carries both ways: a TUI publishes what it is showing, and a show is passed back to it as a request. A request, not an order — the panes asked for are gathered side by side in one tab and nothing else is touched. They move rather than being copied, since a pane is shown in exactly one place, which is the same rule that governs ctrl+b ! and dragging a pane between tabs. An agent may only show panes it could already type into, by the same scope that governs prompt.
The tools are the same work as conch agent prompt, conch wait, conch task and the rest — the same server methods with the same payloads — so the two doors cannot drift. Scope comes for free: conch finds the caller from its pane's token or the socket's peer pid walked up to a pane's program, so an MCP server an agent starts inside its own pane reaches only what that pane may reach, and nothing in a tool call can widen it.
Installing it is one action, because the entry is the same for every agent — the library writes it in each one's own format:
conch agent library mcp # conch's own tools, as a server in the library
conch agent library apply # write it into each agent's configuration
Or in the TUI: , → Agents → Shared MCP servers & skills… → Add conch's own tools…, then Apply…. It is conch mcp on stdio with nothing in its environment — it finds its socket the way every other command does — and the command is the bare name, so an update that moves the binary doesn't strand it. Adding it twice is adding it once. Restart an agent afterwards for its client to list the tools.
Three reviewers at once is what this is for: several helpers, several kinds of agent, no shell.
Over HTTP
conch token create -level prompt -project api remote-agent # prints the token, once
conch mcp -http 127.0.0.1:7740 # the same tools at http://127.0.0.1:7740/mcp
An agent that is not a process on this computer — in a container, on another machine, in a tool that only speaks HTTP — reaches the same tools over MCP's Streamable HTTP. Every request carries an access token as Authorization: Bearer TOKEN; without one, or with one conch refuses, the answer is 401. Each token gets a connection to conch of its own that holds it, so the server decides what each may do, and this door never acts as you. Requests from a web page on another site are refused. It is plain HTTP: keep it on 127.0.0.1, or put TLS in front of it (tailscale serve).
Stdin and stdout are the protocol: notes go to stderr, one request per line (this revision of MCP has no batches), answered one at a time in order, and a wait tool holds the session until it ends, as conch wait holds a shell. A tool that names a pane refuses a name shaped like a pane id or one another running pane holds, as conch rename does — ids win, so such a name would pick out nothing. timeout_seconds defaults to 1800, 0 waits with no limit, and anything over a day is capped.
token
conch token create -level prompt -project api -expires 30d reviewer # prints the token once
conch token ls # name, level, projects, expiry, last use
conch token revoke reviewer # refused from now on, where it is in use too
conch -m busybox token create -level read watcher # a token for that machine
An access token is a limited right for an agent outside conch — an MCP client elsewhere, a script, another tool. It is given to conch in CONCH_TOKEN (every conch command and conch mcp present it), or as a bearer token to conch mcp -http.
| Level | What it may do |
|---|---|
read | read: screens, panes, projects, diffs, sessions, files in its projects (with none, in any of conch's projects — never elsewhere, such as ~/.ssh) |
prompt | also send to agents — a prompt, a reply, keys — only into agents, never a shell. An agent may still run what it is sent: Claude Code runs a line starting with ! as a shell command without asking |
drive | also start and stop agents: tasks, agent panes, resumed sessions, closing and interrupting them. It picks the agent and its --model, no other flags and no environment |
full | what you can do — within its projects; with none, making and revoking tokens too |
-project (name, id or folder; repeat it) limits a token to those projects: every pane, project and folder a call names must be in one of them, and anything about all of them — the server, the library, other tokens — is refused, and so are another project's task runs. Lists are not filtered. Without -project it reaches every project. Tokens last 30 days unless -expires says otherwise (12h, 90d, never). A token belongs to the machine whose conch made it; another machine's is refused by name.
The secret is printed once and kept only as a hash, in tokens.json beside config.toml. A token revoked or expired stops connections already holding it, not only new ones. Every refusal is written to the server's log with the token's name. Settings → Web → Access tokens… lists and revokes them too.
Every pane is also given a token of its own in CONCH_TOKEN, for the scope its agent already has (what an agent may do). It keeps a helper the agent detached — or a harness that started it again under launchd — held to that agent, where walking its process tree would find no pane and take it for you. When the walk does find a pane, the walk decides, so a token copied from another pane changes nothing. A pane's token ends with the pane; a connection still holding it stays held. An agent in a pane cannot make, list or revoke tokens.
completion
eval "$(conch completion zsh)" # in ~/.zshrc, after compinit
eval "$(conch completion bash)" # in ~/.bashrc
conch completion fish > ~/.config/fish/completions/conch.fish
Tab then completes commands and their subcommands, and what is running now: pane ids and names for read, send, wait, close, rename, redraw, show and agent prompt/explain; machines after -m and for machine rm; hosts from your ssh config for machine add; projects for project rm; agents for agent install and -agent (also a comma list, -agent claude,co<tab>); providers for sandbox -provider. zsh and fish show what each one is beside it — the commands with what they do, a pane with its agent, folder and state — so conch <tab> is also a way to find out what conch can do.
The scripts are a few lines that ask conch itself on every tab, so a pane started a second ago completes, and an update brings new commands with it. Panes and projects come from the local server: it is never started for a tab, and one that does not answer within a second and a half gives nothing rather than a hung prompt. Another machine's panes (-m NAME read <tab>) are not asked for, since that is an ssh connection away. Where conch has nothing to offer, the shell completes file names. conch completion with no shell says how to turn it on for the one you use. Homebrew installs it for all three.
app
conch app # open conch in a terminal of its own
conch app -terminal kitty # in that one
conch app ls # which terminals conch can open here
conch app install # put conch in the desktop's applications, with its icon
conch app remove # take it out again
conch is a terminal program, so it is usually started by typing into a terminal somebody set up first. conch app starts the terminal as well: it writes a configuration of its own and opens a known terminal with only that one, so a terminal that was never configured — or configured years ago for something else — stops being conch's problem. The terminals it knows, in the order it picks one: ghostty, kitty, foot, alacritty. It looks for each on your PATH, then in the places a terminal lives that the PATH in hand may not have — /usr/local/bin, /usr/bin, ~/.local/bin, /snap/bin and the flatpak export directories on Linux, Homebrew's on macOS — and on macOS in ~/Applications and /Applications, where a terminal is an application and not a program on PATH at all. Both detours matter: ghostty adds its own directory to PATH only for the shells it starts, so a shell from a conch pane or launchd cannot see it; and a desktop entry is started with the session's PATH rather than your shell's, so a terminal in ~/.local/bin could be found when you type conch app and missed when you click the icon — which, with Terminal=false, would show nothing at all. conch app ls says which it found and where. Each is started in the way that leaves your own config unread (--config-default-files=false, --config, -c, --config-file), which is the whole of the trick.
Terminal defaults are good; what conch needs is that nothing broken is read on top of them. Beside what makes the window conch's own (below), the only settings in the file are the ones that would otherwise bite: TERM held at xterm-256color when nothing the window could read describes the terminal's own entry (the thing conch doctor warns about) — asked of this computer and of the terminal itself, since one may carry its own terminfo and point TERMINFO at it for what it starts, as macOS Ghostty does from inside its bundle; asking only the environment conch happens to be in cost the window xterm-ghostty for no reason, and, for ghostty, single-instance turned off and quit-after-last-window-closed turned on. Both of those are about the window being conch's: a ghostty already running would otherwise make it itself, from its own configuration rather than conch's, and on macOS — where ghostty cannot be started from the command line at all, so conch goes through open -na Ghostty.app --args — the separate instance that creates would sit in the Dock with nothing in it after the conch window was closed, one more for every launch. Anything you want to add goes in <name>.local.<ext> beside it (~/.config/conch/app/ghostty.local.conf), which is included when it exists; the generated file itself is rewritten every time, so edits there are lost.
conch app install puts conch in the launcher: a conch.desktop entry and conch's own icon under ~/.local/share on Linux ($XDG_DATA_HOME when set), or a conch.app bundle in ~/Applications on macOS, where the icon is built from conch's with sips and iconutil and left out if they are missing. Both are files of your own, nothing is installed system-wide, each path is printed as it is written, and conch app remove takes exactly those away. Neither touches a file conch did not write: on a Mac's usual case-insensitive disk ~/Applications/conch.app is the same name as Conch.app, so a bundle there whose identifier is not the launcher's (dev.conch.app) — the native app, or anything conch cannot read as its own — is left as it is, and install and remove say so; keep Conch.app in /Applications to have both. On Linux an entry or icon by the same name that conch did not write is left alone the same way. It refuses to install when none of the terminals is there, since the entry would be a launcher that does nothing when clicked.
The window is conch's in a few more ways, all of them settings of the terminal rather than anything drawn around conch:
- The theme. Its background, text, cursor and selection are the theme in
config.toml([ui] theme,accent), so the window is that theme rather than a terminal's stock black with conch's colours on it. A theme changed in Settings reaches the window the next timeconch appopens one. - ⌘ shortcuts (Ghostty and kitty).
⌘T,⌘W,⌘D,⌘1–⌘9and the rest send your prefix and a key, so each is exactly a key conch already has — the list is on the keys page. They replace the terminal's own, which would make a tab or split of the terminal, outside conch.⌘Kopens the palette. A prefix no character stands for (f12) gets no shortcuts, and the file says why. - An application's size and title bar. It opens at 14pt and about 160 columns by 46 rows every time, rather than restored to whatever filled the screen last, with room around the grid and between its lines. Ghostty draws a native title bar, a shade off the window (its default transparent one is the window's own background, and on macOS no setting colours it), and conch's strip along the top is drawn in that same shade, edge to edge, so the two read as one bar.
- The left option key is alt, for conch's alt keys and alt+click; the right one still types the characters your keyboard puts there.
- A strip along the top: conch's mark and the workspaces at its left (where the sidebar's top row keeps them in any other terminal), a search box in the middle that opens the palette, and on the right what is waiting or done — a click there goes to the next agent waiting. A window under 12 rows tall goes without it.
- The title says what is waiting —
conch · ⚑ Fix flaky tests on fix/flaky waiting— so the title bar and the Dock's window list show it while conch is not on screen. conch sets it only in this window (it is told byCONCH_APP_WINDOW, which the configuration sets); in any other terminal the title belongs to whoever set the terminal up.
Your own .local file comes after all of this for Ghostty and kitty, so it can change any of it. foot and alacritty read their includes first, so there conch's colours hold.
It is not a window of conch's own, and will not become one: conch's interface is conch's, drawn in a terminal, and a second interface around it would compete both with that and with the terminal it is standing in for.
doctor
conch doctor # check what conch needs, and say how to fix what is wrong
conch doctor -json # the same checks, for a script
The first thing to run when something does not work. Each line is one thing conch relies on, and anything wrong comes with the command that puts it right:
✓ conch 0.2.1 · darwin/arm64
✓ config /Users/you/.config/conch/config.toml
✓ keys ctrl+b, then 46 keys
✓ socket /Users/you/.config/conch/conch.sock
! server pid 28356, up 6d, on another build (0.2.0) than this conch (0.2.1)
→ conch server reload -binary /Users/you/.local/bin/conch (panes and agents keep running)
✓ agents claude 2.1.3 · codex 0.46.0 (not installed: gemini, opencode, devin)
✓ git 2.49.0, committing as You
! gh 2.62.0 not signed in
→ gh auth login
✓ terminal ghostty, xterm-ghostty, 24-bit colour, says it is ghostty 1.2.0, synchronized updates
✓ machines 1 machine saved (not dialled; conch -m NAME status reaches one)
conch works; 2 things worth a look.
| Check | ✗ (must be fixed) | ! (worth a look) |
|---|---|---|
| config | config.toml does not parse, so none of it is in force | an [[actions]] entry with no name, no command or an unknown place |
| keys | a [keys.bind] entry naming something conch does not bind, or two of them on one key | |
| socket | the socket path is longer than the system allows (103 bytes on macOS, 107 on Linux), so no server can listen | |
| server | the socket is there but nothing answers — stuck, or somebody else's (starting conch would clear it, and every pane) | not running; on another build than this conch (the fix reloads it onto this binary, or says to run the newer one when the server is ahead); missing features this conch uses |
| agents | the server finds none installed | not checked, because no server is running |
| git | not found | no name or email to commit as, in git's config or its environment variables; older than 2.38, which telling which branches would conflict needs |
| gh | not found, or not signed in — pull requests, CI results and issues come through it | |
| terminal | TERM is empty or dumb | no terminfo entry for TERM on this computer, so curses programs fall back; a terminal that names itself (Ghostty, kitty, WezTerm, foot, alacritty) while TERM says plain xterm, so its own keys and colours are off; no SGR mouse reports, so clicks and drags never arrive; no bracketed paste, so a pasted prompt is typed line by line into an agent; inside tmux with the same prefix as tmux (asked of tmux itself), and a key free in both to use instead |
| machines | machines.json cannot be read; machines are saved but there is no ssh |
It asks the terminal what it can do. TERM is set by whatever started your shell and is wrong often enough to be worth checking against the terminal itself — a Ghostty whose terminfo was never installed still says it is Ghostty while TERM says plain xterm, and then nothing describes its keys and colours. So the command sends the terminal a few questions (DECRQM for the modes conch turns on, XTVERSION for its name, device attributes last) and reads the replies, which is the one thing it writes anywhere. It does that only when run in a terminal, never when output is redirected, and it waits 300ms at most for a terminal that will not answer. Anything the terminal says nothing about is left unsaid rather than reported as missing: a terminal that does not answer mode queries is not a terminal without the modes. Run in a conch pane it says so, because the terminal answering there is conch's own emulator and not the window you are looking at. The TUI never asks — a reply would land on its own input as keystrokes — so the page under , → Check conch… shows everything except what only a question can find.
It exits 1 when anything is marked ✗, and 0 otherwise. The checks run side by side, so one slow thing costs only its own wait. It changes nothing and starts nothing — not even the server — and it does not dial your machines, so a machine that is asleep cannot make it hang. Whether gh is signed in is asked without reaching GitHub, so an offline laptop is not called signed out (a gh too old for that is asked the usual way), and the token gh hands back is thrown away. It checks this computer: on another machine, run it there. The TUI runs the same checks a moment after it starts and shows what they find on this computer's page; , → Check conch… lists them there and checks again.
import
conch import conductor # Conductor's conversations: Claude's resume in Claude Code
conch import conductor -markdown # and a document of each as well
conch import conductor -resumable=false # documents only, as conch did before
conch import conductor -n # say what it would do, with each conversation's id, and write nothing
conch import conductor -json # what was written, for a script
conch import conductor -ids ID,ID # only these conversations (-n -json lists them with their ids)
conch import conductor -project=false # leave the repositories out of conch
conch import conductor -ids ID -dir ~/src/shop # resume these in a folder you choose
Conductor kept its conversations in a database of its own (~/Library/Application Support/com.conductor.app/conductor.db), not where Claude Code and Codex keep theirs, so Sessions cannot list them. This reads them from there — from a copy, so a Conductor that is still open is neither locked nor written to (-db PATH for a database somewhere else). It needs the sqlite3 command, which macOS has.
A Claude conversation resumes from the session Claude Code kept itself. Conductor ran Claude Code with its usual folder, so the session is already in $CLAUDE_CONFIG_DIR/projects (else ~/.claude/projects), under the id Conductor stored: while the folder it ran in is there, the import uses that one and writes nothing. A copy an earlier conch wrote of the same conversation is removed then, unless it was carried on since, in which case it is kept and used. Otherwise it becomes a Claude Code session, whole — prompts, answers, tool calls and their results — in the project folder Claude keeps for the workspace it ran in, or for the repository when the workspace is gone ($CLAUDE_CONFIG_DIR/projects, else ~/.claude/projects). It is an ordinary session from then on: it is in the Sessions view and resumes with conch new -agent claude -cwd DIR -- --resume ID, which the command prints for each one. A tool call that never returned in Conductor is answered as Claude Code answers one it was stopped in. Claude Code finds a session only in the project folder of the directory it is resumed in, so when a workspace is removed after its conversation was imported, the next import — or Resume in Conch.app, which imports that one first — moves the session, unchanged, to the repository's project, where it resumes from then on.
A Codex conversation resumes in Codex. Conductor ran Codex itself, and Codex kept its own session of it ($CODEX_HOME/sessions, else ~/.codex/sessions) under the thread id Conductor stored, so nothing is written: the import finds that session and prints conch new -agent codex -cwd DIR -- resume ID.
Anything else becomes a handoff document: the prompts and the agent's answers, without tool calls, command output or thinking, under imports/conductor/REPO/ in conch's folder (-out DIR for another). That is a Codex conversation whose session Codex does not have on this computer, and a Claude one conch cannot write as a session — its workspace and repository both gone, say — and the output says why. For a Claude or Codex one with nowhere to resume, -ids ID -dir FOLDER writes it as a session in a folder you choose instead, a fresh clone of the repository say; conch remembers the folder, so importing again later keeps it there; once that folder is removed, the output says so and -dir chooses another. The last thing printed is the command that carries one on: an agent started where the conversation ran and told to read the file.
The repository comes into conch too. Each repository a conversation ran in that is still on this computer is added as a project, if it is not one already — Conductor's workspaces are its worktrees, so they are its branches, each with its conversations in its sessions. Only a server that is running is asked; without one the import still stands and the output gives the conch project add that does it. -project=false leaves them out.
Importing again brings in only what is new. What was written is kept in imports/conductor/state.json. A conversation imported before gets Conductor's newer messages added to its session only if that session is as conch left it; one you have carried on with in conch is left alone, and the output says so. Nothing is ever deleted, and a session you removed is not written again. Documents are replaced in place. -n -json says, for each conversation, its id, where it carries on (its workspace, or the repository once the workspace is gone), when it was last used and whether it was imported already; Conch.app's Integrations → Import sheet is drawn from it, and imports what you tick with -ids.
keys
conch keys # every key after the prefix, what it does, and what it is on now
conch keys -bound # only the ones that are bound to something
conch keys -toml # the whole table as a [keys.bind] ready to paste and edit
conch keys -json # the resolved table as JSON — the prefix, and every action with its keys
tmux's list-keys, for conch's prefix table. It prints one line per action — the key it answers to, the name to write in config.toml, and what it does:
ctrl+b, then:
KEY ACTION DOES
\ split_right split right (was v % |)
" split_down split down
— close_split close the split (ends its pane) (unbound)
↓ j focus_down focus the split below
ctrl+n next_tab next tab (was n)
space zoom zoom the split (was z)
— next_layout next layout (space is zoom now)
A key you moved says what it was, one you unbound says so, and one whose key went to another action says where it went — which is the surprise worth naming, since nothing else would tell you that binding zoom to space took space off next_layout. Rebinding is [keys.bind] in config.toml; -toml prints the current table in that form, so you can paste it and edit from what you have rather than from a blank table.
It reads config.toml and nothing else — no server, no network — so it works wherever conch is installed. It exits 1 when that table has a mistake in it (an action conch does not bind, two actions on one key), naming each; conch doctor says the same under keys.
-json is how Conch.app takes its prefix keys: the prefix in conch's spelling (C-a comes out ctrl+a), every action with the keys it is on (an empty list for one unbound), and what was wrong with the table under problems — in the output rather than the exit status, so a reader still gets the keys that did resolve. A binding on the prefix itself is left out there, as the TUI leaves it out.
A digit is the tab at that place and ctrl/alt+arrow is a resize, and neither is in the table: they are a key family, not one action.
bug
conch autopilot push # hand the server [verify]'s autopilot policy,
# as the TUI does (Conch.app runs it)
conch bug # the facts about this conch
conch bug -open "the tree lost a terminal" # …in a GitHub issue, already filled in
conch bug -log # where the server's log is
What to hand over when conch itself is the problem, without writing anything down:
conch 0.1.7-dev (build 29945acfb71a, darwin/arm64)
server: 0.1.7-dev (build 01096cd11ad4, darwin/arm64), pid 28356, up 6d
reloaded 5h06m ago
panes: 25 · claude×16
machines: 2, 1 reachable
terminal: iTerm.app, xterm-256color, 247×48, icons=nerd
last error: out_of_scope: the claude agent in p1 may not reload the server
It is facts, not contents: versions, counts, sizes, the capabilities a server is missing, and conch's own last error. Never a path, a project, a branch, a pane's title or anything off a screen — which is what makes it safe to send without reading it through first. The two builds above being different is the sort of thing it is for.
-open opens a GitHub issue with the block already in it; nothing is sent until you press submit there. Over ssh, or anywhere with no desktop, it prints the link instead. -log says where the server's log is and what is in it — paths, branch names and pane titles — and leaves attaching it to you.
Run conch doctor first: what it finds usually has a fix you can make yourself.
In the TUI the same thing is , → Report a problem…, which shows the report and offers to open the issue, copy it, or copy the log's path.
ask
conch ask [-y | -n] [-model] REQUEST asks the brain; it proposes actions and runs them once you confirm. -y runs the plan without asking; -n only shows it. Requests that can only mean one thing, like show codex, tell everyone to commit or what is waiting?, are planned without the model; -model asks the model anyway. -pane ID says which pane this and here mean.
conch ask -suggest [-pane ID] [EARLIER REQUEST...] prints, as JSON, what the Ask window offers: the agents by state, which model would plan, and what is worth asking now, each saying whether it is answered at once or planned by the model. The requests after it are earlier ones, oldest first, offered back as recent. It asks no model, so it works with none set up. Conch.app's ✦ Ask draws its list from it.
preview
conch preview reaches the phones a mobile app is tried on, on this computer: the iOS simulators Xcode installs and the Android emulators and phones adb sees. It is what Conch.app's Mobile Preview tab draws beside an agent, and how an agent looks at its own work. It runs the platforms' own tools (xcrun simctl from Xcode — the one in /Applications when xcode-select points at the Command Line Tools — and adb and emulator, found in the Android SDK where Android Studio puts it as well as on PATH; [preview] in config.toml names either) and asks no server, so -m is refused: run it on the machine with the simulators.
conch preview devices [-json]lists them, running ones first, with the ID each other command takes.-jsonprints{devices, notes}; a platform whose tool failed is left out and said innotes.conch preview boot DEVICEstarts one, by name or ID: a simulator boots with no Simulator window, an emulator is left running.conch preview shutdown DEVICEstops one — a simulator keeps running after its preview is closed until something stops it — andshutdown -allstops every running simulator and emulator (a phone plugged in is left alone).conch preview delete DEVICEdeletes an iOS simulator for good, stopping it first; since that cannot be undone it takes the ID, or a name no other simulator has. An Android emulator is deleted in Android Studio's Device Manager.conch preview shot [-device D] [-o FILE]saves a PNG of the screen and prints its path. Without-deviceit is the device that is running.conch preview tap [-device D] X Ytouches the screen at pixels of that picture;type [-device D] TEXTtypes into the field with the focus;button [-device D] home|back|lock|sidepresses a button (back is Android's; on Android lock and side are both the power key). An iOS simulator can be looked at with Xcode alone but touched only with a tool that drives it: AXe (brew install cameroncooke/axe/axe, found onPATH, in~/.local/binor Homebrew's folder), else idb. conch gives them the screenshot's pixels turned into the points they take, by the device's own scale.conch preview keyboard [-device D] show|hidesays whether an iOS simulator shows its own keyboard once it has seen a hardware one (typing through AXe counts), which by default it hides. The setting stays with that simulator and reaches a running app at the next field touched.runand Conch.app's Mobile Preview set it to show.conch preview run [-device D] [-scheme S] [-status FILE] [DIR]puts an Xcode project's app on a simulator, as ▶ Run does: it builds the folder's workspace (else its project) withxcodebuildfor that simulator, showing the build as it goes, then installs the app and opens it, closing the copy already running. The scheme is the one named as the project, else the only one; Xcode's own build settings say where the app was built and its bundle ID. A simulator that is shut down is started first; without-deviceit is the one running.-status FILEkeeps a JSON file saying the step it is at and how it ended, which is what the app's status bar shows.conch preview detect [DIR...]says, as JSON, what kind of mobile app a folder is — Expo, React Native, Flutter, Xcode or Android — and the command that starts its dev server. Given several folders it prints a line for each, with itsdir; Conch.app asks it about every project and checkout to know which are mobile apps.
conch preview boot "iPhone 16 Pro"
conch preview shot # an agent then reads the picture at the printed path
conch preview tap 540 1200
commit-message
conch commit-message [-context TEXT] reads a diff on stdin and prints a commit message for it — a subject line, a blank line and a body — written by the brain set in [brain]; -context adds what the agent that made the change said it was doing. An empty diff is refused. Conch.app's ✦ Write runs it.
git diff --cached | conch commit-message -context "adding a health check"
update
conch update [VERSION | latest | list | rollback] replaces this binary with a release and reloads the local server onto it, keeping panes.
| Command | What it does |
|---|---|
conch update | install the latest release, or say it is already running |
conch update VERSION | install that release; an older one moves conch back |
conch update list | list the releases published upstream, newest first, marking the running, latest and locally kept ones |
conch update rollback | go back to the version before the last update, from the copy it kept |
See Auto-update and Going back to an older version.
version
conch version [--json] prints the version, build and platform (also --version, -v).
Internal commands
These are run by conch itself, not by you:
| Command | Used by |
|---|---|
conch bridge | a remote client over ssh: connects stdio to this machine's server, starting it if needed |
conch report | agent hooks and plugins, to report state to the server |
Conch Cloud commands
Conch Cloud is not enabled in this release: these commands are left out of conch help all and completion, and run they say so. To try it, set CONCH_CLOUD=1 in the environment or put enabled = true under [cloud] in config.toml (the variable, when set, wins: CONCH_CLOUD=0 turns it off again). A cloud machine already among your machines keeps working either way — it is reached, woken and put to sleep (conch cloud machine wake|sleep|rm) as before.
login
conch login [-no-browser] [-json] [-api URL] # sign this device in to Conch Cloud
conch login signs this device in to Conch Cloud: it prints a code, opens the page where you approve it (signed in there in your browser), and waits until you do. The server is CONCH_CLOUD_URL, else [cloud] api in config.toml, else Conch Cloud itself; -api names one for this sign-in. The device's tokens go in the macOS Keychain, or elsewhere in cloud.json in conch's folder, readable by you alone — conch refuses that file if anyone else can read it. -json says each step as a line of JSON (the code, then signed_in or error), which is how Conch.app's Settings signs in. A conch that has never signed in asks nothing of Conch Cloud, ever.
logout
conch logout # revoke this device's sign-in and forget it
account
conch account [-json] # who, the plan, this month's hours and storage, the devices
cloud
conch cloud machine ls [-json] # the account's cloud machines and their state
conch cloud machine new NAME [-size S] [-region R] [-provider ID] [-wait]
conch cloud machine wake|sleep NAME [-force] # sleep refuses while agents work, unless -force
conch cloud machine rm NAME [-y] # destroy it and its disk
conch cloud machine forget-key NAME # the next connection pins whatever key it is given
conch cloud exec [-t] NAME [-- SCRIPT…] # run a script there (a shell with none), waking it
conch cloud bridge NAME # conch's protocol on stdin/stdout, for conch machine bridge
conch cloud agent [-boot FILE] [-state DIR] [-user NAME] # inside a Conch Cloud machine only
conch cloud install [-user NAME] # ready a machine image (as root)
conch cloud git-credential [-socket PATH] get # git's credential helper there
Once signed in, the account's machines are in conch's machines (conch machine ls, the TUI's tree, Conch.app's sidebar) as conch:<id>, named as on the account, and -m NAME reaches one. They are reached through Conch Cloud's relay rather than ssh: exec and bridge ask the control plane for a ticket and the machine's key, check the key against the one kept from the first connection (cloud-keys.json; a different key on a machine that was not recreated is refused), and open an end-to-end encrypted tunnel to the machine's conch. A background connection never wakes a machine that sleeps — it is shown asleep — but exec and bridge, asked for by you, wake it and wait.
conch cloud agent is the machine's side of Conch Cloud, and runs inside a cloud machine: its host starts it (the conch-cloud-agent systemd unit — see Cloud machine image) after writing /run/conch-cloud/boot.json. It refuses a boot.json anyone but its owner can read, keeps the machine's Noise key in /var/lib/conch/cloud/noise.key (0600, made once), starts the machine's conch server as -user (conch when it runs as root), says hello to the control plane, reports what the agents are doing so an idle machine sleeps, and joins the relay as the room's gateway so clients reach the server through an end-to-end encrypted tunnel. Agents it starts are given the account's env secrets (a shell is not, and only the server it registered with may ask for them); the machine token and those secrets are never written to disk, though a running agent's environment, and the token git is handed, are readable by processes of the same user — see Cloud machine image. It exits 3 when the control plane refuses its token — each inject gives the machine a new one and restarts the agent — and 4 when the control plane refuses the machine itself. install readies a machine image: it writes the conch-cloud-agent unit (running this conch), enables it and makes /var/lib/conch/cloud; the user (conch by default) must exist. git-credential is what git asks for the git proxy's password: the machine token, from the agent's memory.
Agent accounts
An account is a configuration folder of the agent's own: CLAUDE_CONFIG_DIR for Claude Code, CODEX_HOME for Codex. Its sign-in, settings and conversations live there, so each account is signed in once and keeps its own history. Gemini CLI, OpenCode and Devin keep one account each: conch knows no clean way to give them a second.
An Antigravity CLI account is a Gemini API key, named by the variable that holds it (-key-env), with a folder of its own for its conversations, given to agy as --gemini_dir. Its Google sign-in is one Keychain item whatever the folder, so a second Google account cannot be kept apart; that sign-in is its default. conch keeps the variable's name, never the key: your login shell reads it when agy starts, and an empty one stops the start, saying which. --gemini_dir is a flag agy does not document, checked on 1.5.16.
A new agent starts
- 1Started with -account NAME?
conch new -agent claude -account workuses that accountdefault is the agent's own - 2Is its folder pinned?
conch account pin ~/src/acme workuses the pin's accountthe longest pin wins - 3Neither
~/.claude, as without conchuses the agent's own account
Failover on, and that account past the line? conch account failover 90
- Yes: the agent’s next account with room, its own first, then the others in the order added.
- Every one past it: it starts on the account chosen above anyway.
CLAUDE_CONFIG_DIR or CODEX_HOME: its sign-in, settings and conversations. It stays there until it ends, even past its limit, and its sessions resume there.conch account add claude work # a folder of conch's for it
conch account add claude home -dir ~/.claude-home
conch account add antigravity team -key-env TEAM_GEMINI_KEY # agy on that key
conch new -agent claude -account work # start it there, and /login once
conch account pin ~/src/acme work # agents started in acme use work
conch task -account home "Fix the flaky test" # this task's agent uses home
conch account list # each one's 5h and 7d usage, and its agents
An agent starts on the account it is asked for (-account, default for the agent's own), else the one its folder is pinned to, else the agent's own. The longest pin wins, so a worktree or a task folder can differ from its project.
A pin names an account by name: a project pinned to work uses Claude's work and Codex's work, and an agent with none by that name keeps its own.
Plan limits are per account. The status bar shows the account of the agent in view, on whichever machine it runs (✳✳ work 5h 88%), its panel has a tab per account with the tokens each used by day and model, and an alert says which account passed the line. Settings → Agents → Agent accounts… in the TUI lists each machine's accounts with their usage and how many agents run on each; Conch.app's Settings → Agents → Agent accounts also adds and removes them, starts one to sign in, pins folders and sets failover. A window whose reset has passed shows no percentage until the agent reports again.
Failover. With conch account failover 90 (or the Failover row in Settings), a new agent whose account is past 90% of a plan window starts on the agent's next account: its own first, then the others in the order added. A running agent is never moved, since its conversation lives in its account's folder. Failover never crosses agents: Claude's accounts for Claude, Codex's for Codex. conch account failover 95 -agent codex gives Codex a line of its own (off for none); conch account failover default -agent codex puts it back on every agent's.
Moving a running agent. A Claude Code agent whose plan runs out moves by itself to the account with the most room and carries on: conch stops it, copies its conversation into that account's folder, resumes it there in a pane that takes the old one's place, and sends "continue". A card counts down a few seconds first, with Move Now, Choose… and Keep on default. [agents] no_move_at_limit = true turns it off; move_at_line = true moves agents past the failover line too, when their turn ends. An agent sitting idle never moves; at the line, only one in use moves, as its turn ends. By hand: Switch Account ▸ on an agent's menu, or conch agent move p12 [-account NAME]; once the account it came off has room again, Move Back is offered, for all of them at once with Move All Back or conch account back default. conch picks among signed-in accounts the one with the most room, then the fewest agents (conch account suggest shows its ranking). Never mid-turn, and never with background commands it started still running: those stop with it and the resumed agent cannot reach them, so an automatic move waits up to ten minutes for them, then says which will stop; by hand it is refused without -force. Start a dev server in a terminal of its own and a move leaves it running. Claude Code only for now. When no account of the agent has room, another agent is offered instead, or switched to unasked with [agents] switch_at_limit (see Switching agents).
conch account suggest # the ranking, conch's pick first
conch agent move p12 # to the account with most room
conch agent move p12 -account default # back
Sessions are read from every account's folder, say which account they belong to, and resume on that account whatever the folder is pinned to now.
Accounts are kept by each machine's server in ~/.config/conch/accounts.json, so conch -m box account add claude work makes one on box. Removing an account forgets it and leaves its folder, sign-in and conversations where they are.
An account's folder starts empty: your CLAUDE.md, skills and settings in ~/.claude are not in it until you copy or link them there.