conch

module
v0.1.9 Latest Latest
Warning

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

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

README

conch

A terminal orchestrator for AI coding agents. A background server owns the terminals your agents run in, so they keep working when you close the UI. The TUI organises everything as a tree — machines, projects, git branches, agents and terminals — beside a live view of whatever you select.

Works with Claude Code, Codex, Gemini CLI, OpenCode and Devin, on your machine or on remote machines over SSH.

Website · Documentation

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 (use the agent's own CLI, with tmux if you want it to survive a dropped ssh session), if you branch and commit by hand (a plain multiplexer gives you panes without the opinions), or if review means comments, threads and approvals — conch reads diffs side by side and stages hunks, but has no review threads and no approving a pull request, so pair it with gh or your forge for those. It is macOS and Linux; on Windows, WSL. And it waits for Enter on purpose: nothing the brain proposes runs until you confirm, so it is not the tool for unattended swarms.

The longer version, losses included.

Adding a project: pick a folder, and its branches, agents and terminals are there to open.

A machine at a glance: what is running, how much of the plan window is left, and which agents are installed.

A project expanded into branches, agents and terminals, with a tab per agent and its work live in the pane.

Install

macOS and Linux (amd64 and arm64):

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

With Homebrew, on macOS or Linux:

brew install Amitgb14/conch/conch

Or with Go 1.25+: go install github.com/Amitgb14/conch/cmd/conch@latest. conch update upgrades to the newest release, conch update list shows what is published and conch update rollback goes back to the version before it; conch server reload moves the server onto a new build without stopping your agents. A Homebrew install is updated with brew upgrade conch instead, and conch then offers to reload onto it.

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 status                            # panes with agent state

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

Development

make build        # bin/conch
make test         # go test -race -timeout 20m ./...
make lint         # gofmt, go vet, staticcheck — what CI checks first

The tests of the phone app and the settings page run with node and skip without it. The settings page (internal/configweb/app) is committed as built; after changing it, run make settings-ui (needs pnpm) and commit internal/configweb/dist. AGENTS.md has the rules for contributing, including keeping tests away from your own running conch.

The website and documentation live in web/, a Next.js and shadcn/ui app (pnpm dev there).

License

Apache License 2.0 — see LICENSE.

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.
internal
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.
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.
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.
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.
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).
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.
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.
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:
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.

Jump to

Keyboard shortcuts

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