conch

module
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: Apache-2.0

README

conch conch

GitHub stars Latest release CI

A terminal orchestrator for AI coding agents.
Run Claude Code, Codex, Gemini CLI and a dozen more side by side, each on its own branch and worktree, on your laptop or on machines over SSH. A background server owns their terminals, so they keep working when you close the UI — and the same agents are a native Mac window or your phone away.

Install conch · Documentation

Features

A tree of everything

Machines → projects → branches, agents and terminals, beside a live view of whatever you select. Tabs and splits behave like tmux windows; ! jumps to the next agent waiting on you.

Docs →

Review before it lands

A branch's uncommitted files and commits ahead, each diff hunk by hunk; space stages one, and a note on a line goes to the agent, which answers it in the thread.

Docs →

Conch.app, on a Mac beta

The same agents in a native window, panes drawn by Ghostty. A waiting agent's question comes with its answers to click; ⌘K finds a pane, a branch or a file, and ⌘S saves one — checked against what the agents wrote meanwhile.

Docs →

Changes, files and the dev server, in tabs

In Conch.app a branch's changes, the project's files and the dev server's page sit in tabs beside the agents: stage a hunk, write the commit, watch the pull request's checks, submit a review.

Docs →

From your phone

conch web serves the same agents to a phone: what each is doing, the question it is waiting on with its answers as buttons, and a keyboard into any terminal. Nothing to install; off your tailnet it goes through a relay you run yourself, end-to-end encrypted.

Docs →

Also in the box:

  • Remote machines — conch machine add installs conch over SSH; conch project move takes branches, worktrees and agents there.
  • Cloud sandboxes — providers described by a file, from a signed registry; conch-sandbox makes them for herdr and Orca too.
  • Sessions — every agent's saved conversations per project, to resume or delete.
  • The brain — ask in plain words with :; nothing it proposes runs until you press Enter.
  • Agents working together — skills that let an agent start helpers, review until clean and take a ticket to a merged pull request.
  • Autopilot — a failed CI run sent back to the branch's agent, a green pull request merged, issues triaged and queued as tasks.
  • Mobile preview — iOS simulators and Android emulators an agent can look at with conch preview shot.
  • MCP and the CLI — conch new/send/read, and conch mcp for agents that speak MCP.
  • Hot reload — the server moves onto a new build without stopping your agents.

Supported agents

Claude Code  Codex  Gemini CLI  OpenCode  Devin  Copilot CLI  Cline  Qwen Code  Goose

Sessions, setup, skills and state for each. conch also runs and watches:

Aider  Amp  Antigravity CLI  Auggie  Continue CLI  Crush  Cursor CLI  Droid  Grok  Kilo Code  Kimi Code  Kiro CLI  Mistral Vibe  Pi  + any CLI agent

Add your own with conch agent add. See Agents.

Install

CLI and TUI — macOS, Linux (amd64, arm64)

curl -fsSL https://raw.githubusercontent.com/Amitgb14/conch/master/install.sh | sh

Or with a package manager:

# Homebrew, macOS or Linux
brew install Amitgb14/conch/conch

# Go 1.25+
go install github.com/Amitgb14/conch/cmd/conch@latest

conch update upgrades to the newest release (update list, update rollback); a Homebrew install is updated with brew upgrade conch, and conch then offers to reload onto it. On Windows, use WSL.

Conch.app — macOS (beta)

Phone

  • Run conch web, then conch web pair and scan the QR code. See Phone.

Quick start

conch                                   # open the TUI (starts the server)
conch task -cwd ~/src/api "Add a health check endpoint"   # branch + worktree + agent
conch machine add gpu-box               # add a remote machine over ssh
conch project move api -to gpu-box      # branches, worktrees and agents, moved there
conch status                            # panes with agent state
conch read gpu-box:p3                   # a pane's screen, by the ID every view shows
conch agent skill -apply                # teach your agents to drive conch

In the TUI: t new task · c start an agent · : ask in plain words · B broadcast to a group · ! next agent waiting for you · ? all keys · q detach.

The skills are also a Claude Code plugin: /plugin marketplace add Amitgb14/conch then /plugin install conch@conch.

Is it for you?

It is for running several agents at once and keeping track of them — which one is waiting on you, what each has changed, and getting back to them after your laptop slept. It earns its keep from the third agent, not the first.

It is the wrong shape if you run one agent in one repo, if you branch and commit by hand, or if review means a conversation with other people (pair it with gh for that). And it waits for Enter on purpose, so it is not the tool for unattended swarms. The longer version, losses included.

Community & support

  • Bugs and ideas: GitHub issues — conch bug fills in versions and counts, never your paths or screens.
  • Health check: conch doctor says what is wrong and how to fix it.
  • Show support: star the repository.

Developing

make build        # bin/conch
make test         # go test -race -timeout 20m ./...
make lint         # gofmt, go vet, staticcheck — CI's lint job
make gate         # lint, then the suite with internal/server in shards — what CI runs

AGENTS.md has the rules for contributing, including keeping tests away from your own running conch. The settings page (internal/configweb/app) is committed as built: after changing it, run make settings-ui (needs pnpm) and commit internal/configweb/dist. The website lives in web/; its screenshots are regenerated by web/scripts/tui-capture and web/scripts/phone-capture.

Star history

License

conch is free and open source under the Apache License 2.0.

Directories

Path Synopsis
cmd
conch command
Command conch is a terminal orchestrator for AI coding agents.
Command conch is a terminal orchestrator for AI coding agents.
conch-sandbox command
Command conch-sandbox makes, starts, stops and deletes conch's sandboxes for tools that are not conch — herdr, the herdr app, Orca — which reach a machine over ssh and install their own server there.
Command conch-sandbox makes, starts, stops and deletes conch's sandboxes for tools that are not conch — herdr, the herdr app, Orca — which reach a machine over ssh and install their own server there.
internal
accounts
Package accounts keeps the agent accounts a machine has besides each agent's own: a work and a personal Claude subscription, two Max plans.
Package accounts keeps the agent accounts a machine has besides each agent's own: a work and a personal Claude subscription, two Max plans.
acp
Package acp is conch's side of the Agent Client Protocol (agentclientprotocol.com): JSON-RPC 2.0 over an agent's stdin and stdout, one message a line.
Package acp is conch's side of the Agent Client Protocol (agentclientprotocol.com): JSON-RPC 2.0 over an agent's stdin and stdout, one message a line.
adapter
Package adapter knows how to launch each supported agent with conch's integration wired in.
Package adapter knows how to launch each supported agent with conch's integration wired in.
agentsetup
Package agentsetup reports what an agent loads when it starts in a directory: instruction files, skills, commands, subagents, MCP servers and plugins, from the user's configuration and the project.
Package agentsetup reports what an agent loads when it starts in a directory: instruction files, skills, commands, subagents, MCP servers and plugins, from the user's configuration and the project.
artifacts
Package artifacts reads the claude.ai artifacts Claude Code published from its session transcripts (~/.claude/projects/FOLDER/SESSION.jsonl).
Package artifacts reads the claude.ai artifacts Claude Code published from its session transcripts (~/.claude/projects/FOLDER/SESSION.jsonl).
brain
Package brain is conch's model-backed intelligence: it turns requests typed in the command bar into plans of conch actions, and summarises what agents are doing.
Package brain is conch's model-backed intelligence: it turns requests typed in the command bar into plans of conch actions, and summarises what agents are doing.
buildinfo
Package buildinfo identifies this conch binary, so a client can tell whether a remote machine runs the same build.
Package buildinfo identifies this conch binary, so a client can tell whether a remote machine runs the same build.
client
Package client talks to a conch server over its socket.
Package client talks to a conch server over its socket.
cloud
Package cloud is conch's client of Conch Cloud's control plane: signing a device in (the device flow), keeping its tokens, and the calls a person's conch makes — the account, its devices, its machines and how to reach one (contract conch-cloud/contract, openapi.yaml's userToken side and PROTOCOL.md §3.2).
Package cloud is conch's client of Conch Cloud's control plane: signing a device in (the device flow), keeping its tokens, and the calls a person's conch makes — the account, its devices, its machines and how to reach one (contract conch-cloud/contract, openapi.yaml's userToken side and PROTOCOL.md §3.2).
cloud/cloudtest
Package cloudtest is a fake Conch Cloud control plane for conch's tests: the client side of the contract on httptest — the device flow, tokens that rotate (a reused refresh token revokes the device, as the real one does), machines, connect with single-use tickets — and a relay that checks those tickets in front of conch's own.
Package cloudtest is a fake Conch Cloud control plane for conch's tests: the client side of the contract on httptest — the device flow, tokens that rotate (a reused refresh token revokes the device, as the real one does), machines, connect with single-use tickets — and a relay that checks those tickets in front of conch's own.
cloudagent
Package cloudagent is `conch cloud agent`: the program that runs inside a Conch Cloud machine, beside its conch server.
Package cloudagent is `conch cloud agent`: the program that runs inside a Conch Cloud machine, beside its conch server.
cloudcontract
Package cloudcontract checks requests and answers against Conch Cloud's contract (conch-cloud's contract/openapi.yaml), for the fakes conch's tests put in the control plane's place.
Package cloudcontract checks requests and answers against Conch Cloud's contract (conch-cloud's contract/openapi.yaml), for the fakes conch's tests put in the control plane's place.
config
Package config resolves conch's on-disk locations and loads config.toml.
Package config resolves conch's on-disk locations and loads config.toml.
configweb
Package configweb is a page in the browser for editing config.toml: every setting the TUI's Settings screen has, and the ones it only names (actions, permission rules, check commands), as a form.
Package configweb is a page in the browser for editing config.toml: every setting the TUI's Settings screen has, and the ones it only names (actions, permission rules, check commands), as a form.
detect
Package detect works out which agent runs in a pane and what it is doing, from the terminal's foreground process, the visible screen, and lifecycle hooks the agent reports.
Package detect works out which agent runs in a pane and what it is doing, from the terminal's foreground process, the visible screen, and lifecycle hooks the agent reports.
doctor
Package doctor is what `conch doctor` finds and how it is said: a check of something conch leans on, its outcome, and the fix.
Package doctor is what `conch doctor` finds and how it is said: a check of something conch leans on, its outcome, and the fix.
fleet
Package fleet keeps a client per machine — this computer and every enabled machine in the catalog — for a program that shows them all at once: the phone gateway.
Package fleet keeps a client per machine — this computer and every enabled machine in the catalog — for a program that shows them all at once: the phone gateway.
ghx
Package ghx reads pull requests through the GitHub CLI, so conch uses the user's existing gh login and never handles tokens itself.
Package ghx reads pull requests through the GitHub CLI, so conch uses the user's existing gh login and never handles tokens itself.
gitx
Package gitx reads and manipulates git repositories for the sidebar: repository discovery, worktrees, branches, status and diffs.
Package gitx reads and manipulates git repositories for the sidebar: repository discovery, worktrees, branches, status and diffs.
integration
Package integration reads integration files: descriptions of a service's HTTP API for one kind of job conch already does, so a service conch has no code for can still be used.
Package integration reads integration files: descriptions of a service's HTTP API for one kind of job conch already does, so a service conch has no code for can still be used.
keymap
Package keymap is what a key pressed after conch's prefix does, and which key that is.
Package keymap is what a key pressed after conch's prefix does, and which key that is.
nodetest
Package nodetest finds node for the tests that run conch's JavaScript: the phone's app (internal/phone) and the settings page (internal/configweb).
Package nodetest finds node for the tests that run conch's JavaScript: the phone's app (internal/phone) and the settings page (internal/configweb).
pane
Package pane runs a program on a pseudo-terminal and keeps an emulated screen of its output, so the server can render it to any number of clients and keep it alive while none are attached.
Package pane runs a program on a pseudo-terminal and keeps an emulated screen of its output, so the server can render it to any number of clients and keep it alive while none are attached.
phone
Package phone is the gateway `conch web` runs: HTTP and a WebSocket for a phone, in front of the local conch server, which it talks to as a client like the TUI does.
Package phone is the gateway `conch web` runs: HTTP and a WebSocket for a phone, in front of the local conch server, which it talks to as a client like the TUI does.
preview
Package preview reaches the phones a mobile developer runs their app on while an agent works on it: the iOS simulators Xcode installs and the Android emulators and devices adb sees.
Package preview reaches the phones a mobile developer runs their app on while an agent works on it: the iOS simulators Xcode installs and the Android emulators and devices adb sees.
procs
Package procs reads what processes on this computer use — memory and CPU time from ps, the whole machine's memory and CPU from the system — and adds them up by process tree.
Package procs reads what processes on this computer use — memory and CPU time from ps, the whole machine's memory and CPU from the system — and adds them up by process tree.
proto
Package proto defines conch's client/server protocol: newline-delimited JSON messages over a stream (a unix socket locally, an SSH bridge remotely).
Package proto defines conch's client/server protocol: newline-delimited JSON messages over a stream (a unix socket locally, an SSH bridge remotely).
relay
Package relay is how a phone reaches conch web without Tailscale: both connect out to a relay, which pairs a phone's WebSocket with one the gateway opens for it and copies messages between the two.
Package relay is how a phone reaches conch web without Tailscale: both connect out to a relay, which pairs a phone's WebSocket with one the gateway opens for it and copies messages between the two.
relocate
Package relocate moves a whole project to another machine: the repository (cloned there from its origin, or a project there that has it), every task worktree with its commits and uncommitted work, every branch holding commits its origin hasn't (given a worktree here first, so it travels the same way), and the agents — each continued there with its conversation, then closed here.
Package relocate moves a whole project to another machine: the repository (cloned there from its origin, or a project there that has it), every task worktree with its commits and uncommitted work, every branch holding commits its origin hasn't (given a worktree here first, so it travels the same way), and the agents — each continued there with its conversation, then closed here.
remote
Package remote connects to conch servers on other machines over the system's OpenSSH: it probes the machine, installs conch there when needed, and bridges the protocol through `conch bridge`.
Package remote connects to conch servers on other machines over the system's OpenSSH: it probes the machine, installs conch there when needed, and bridges the protocol through `conch bridge`.
report
Package report builds what somebody hitting a problem can hand over in one keystroke: the facts about their conch, written out for a GitHub issue, and the link that opens one with it already filled in.
Package report builds what somebody hitting a problem can hand over in one keystroke: the facts about their conch, written out for a GitHub issue, and the link that opens one with it already filled in.
sandbox
Package sandbox creates and manages sandboxes with a hosted provider.
Package sandbox creates and manages sandboxes with a hosted provider.
server
Package server is the conch daemon: it owns panes and serves the protocol on a unix socket so clients can come and go without killing agents.
Package server is the conch daemon: it owns panes and serves the protocol on a unix socket so clients can come and go without killing agents.
sessions
Package sessions finds the conversations agents saved for a directory, so conch can list and resume them.
Package sessions finds the conversations agents saved for a directory, so conch can list and resume them.
sshkey
Package sshkey is the ssh key conch reaches machines with, and the step that lets a sandbox in with it.
Package sshkey is the ssh key conch reaches machines with, and the step that lets a sandbox in with it.
sshtest
Package sshtest is a stand-in for ssh in tests, so the files of a host a terminal is logged in to (fs.ssh.v1) are tested without a network: the test binary, run under the name ssh, logs in by waiting as a shell would, and asked for sftp serves a folder of this machine as the host's home.
Package sshtest is a stand-in for ssh in tests, so the files of a host a terminal is logged in to (fs.ssh.v1) are tested without a network: the test binary, run under the name ssh, logs in by waiting as a shell would, and asked for sftp serves a folder of this machine as the host's home.
sysstat
Package sysstat reads the machine conch's server runs on: its CPU and each core, memory and where it goes, load, disk, and every process with its CPU and memory — for system.stats, the window beside the resource monitor.
Package sysstat reads the machine conch's server runs on: its CPU and each core, memory and where it goes, load, disk, and every process with its CPU and memory — for system.stats, the window beside the resource monitor.
tools/acpfake command
Command acpfake is an agent that speaks the Agent Client Protocol on its stdin and stdout and does nothing else, for testing conch's ACP client (internal/acp) without a real agent or a model.
Command acpfake is an agent that speaks the Agent Client Protocol on its stdin and stdout and does nothing else, for testing conch's ACP client (internal/acp) without a real agent or a model.
tools/clicker command
Command clicker clicks or drags a cell of a pane through conch's protocol, for driving a TUI under test by hand:
Command clicker clicks or drags a cell of a pane through conch's protocol, for driving a TUI under test by hand:
tools/standin command
Command standin is a program conch detects as an agent, for driving the paths that need one without running one:
Command standin is a program conch detects as an agent, for driving the paths that need one without running one:
tracker
Package tracker reads and updates tickets in the trackers teams use besides GitHub issues — Linear and Jira Cloud — so a task can start from one and its branch and pull request can be linked back to it.
Package tracker reads and updates tickets in the trackers teams use besides GitHub issues — Linear and Jira Cloud — so a task can start from one and its branch and pull request can be linked back to it.
transfer
Package transfer packs a folder for copying between machines and unpacks it at the other end, and picks the name a copy lands under.
Package transfer packs a folder for copying between machines and unpacks it at the other end, and picks the name a copy lands under.
tui
Package tui is conch's Bubble Tea client: a tree of machines, projects, branches and agents beside the selected pane, branch changes or project.
Package tui is conch's Bubble Tea client: a tree of machines, projects, branches and agents beside the selected pane, branch changes or project.
update
Package update finds newer conch builds — a rebuilt or downloaded binary, a GitHub release, machines running older builds — and applies them without stopping panes: binaries are replaced, servers reloaded.
Package update finds newer conch builds — a rebuilt or downloaded binary, a GitHub release, machines running older builds — and applies them without stopping panes: binaries are replaced, servers reloaded.
usage
Package usage totals an agent session's token usage from its transcript.
Package usage totals an agent session's token usage from its transcript.
when
Package when reads the times people give conch for later — 14:05, +30m, 2026-10-15 09:00 — and how often to repeat — daily, 6h — the same way in the command line and the TUI.
Package when reads the times people give conch for later — 14:05, +30m, 2026-10-15 09:00 — and how often to repeat — daily, 6h — the same way in the command line and the TUI.
scripts
registry-key command
Command registry-key makes the key an integrations registry signs its index with, and signs one — for the registry's CI.
Command registry-key makes the key an integrations registry signs its index with, and signs one — for the registry's CI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL