One terminal for every coding agent.
Claude Code, Codex, Gemini CLI, Cursor, OpenCode and 32 more, in one
keyboard-driven window, side by side, working as a team.
chord brings Claude Code, Codex, Gemini CLI and other coding agents into one
terminal interface: the same transcript, diffs, permission prompts, slash
commands, @ mentions and plans. It connects to agents through the
Agent Client Protocol.
Run agents side by side or give a task to a team. For example, have Codex write a fix and Claude review it, each with its own model and role. Agents exchange messages, permission requests come to you, and a saved team can take on your next task.
npm install -g @chorded/chord
chord # choose an agent, here
chord codex # or any other agentchord opens a title page with the logo, version and directory above the
agent picker. Smaller windows shrink the art, then leave just a line,
then the picker.
- Any agent, one interface. Agents from the ACP Registry and their own CLIs. Switch agents without relearning keys.
- Agents that work together. Open a second agent beside the one you talk to, hand a job to a saved team, and watch each of them in a list under the prompt. Messages go between them; permissions still come to you.
- Every action has a key. Nothing on screen needs a mouse.
?lists them all, and a keybindings file moves them. - Nothing to set up. One binary, no account, no daemon. chord starts the
agent, keeps the session, and gives it back with
chord --continue. - Open source. MIT, built in Dart on chord_tui.
Edits arrive as whole, numbered, highlighted diffs, with long lines wrapped under their code. Copied replies join wrapped text; code outside quotes copies without its box. Blank lines between blocks stay.
Each permission the agent asks for is a choice under the transcript, answered
with a number or the arrows. Proposed diffs scroll above the choices.
Between turns, it leaves your typing alone:
ctrl+x a moves into the box to answer. shift+tab cycles permission modes.
Claude opens in Auto, where Claude decides permissions;
the guide explains how to start in another mode.
/new [agent] [--name <name>] opens an idle agent beside main and goes to
it; --name names it. The list under the prompt shows agents and teams,
their state and unseen news.
/fork [name] continues the current conversation in a separate agent where
the runtime supports it. /clear starts the picked agent afresh.
ctrl+x a takes you to what waits.
When the agent fans out, its subagents run as one tree; ctrl+o shows their
whole task and work. Claude launches and messages appear as
→ to Agent(<title>) and ← from Agent(<title>) rows. Claude, Codex and Cursor subagents
join monitors and spawned tasks in the background summary under the
agents list. From an empty prompt, ↓ past the agents reaches it; Enter opens
a frame above the prompt, at most half the screen. Enter shows the item's
work or a monitor's command and latest output; x stops where offered.
Describe how you work and the agent proposes a team: a lead and its members,
each on the runtime, model and mode you want. Save it once, then hand it any
job with /team run bugfix <job> using its saved composition. In conversation,
its instructions can ask the launching agent to read provider limits and select
supported settings for that run, leaving the saved team unchanged. Limits are
read on request on Apple silicon Macs with installed official Codex or native
Claude Code; see
the guide for their limits.
chord --resume opens a title page listing earlier sessions by the agent's
title, or the first prompt if untitled. /rename <title> changes the
session title; /resume opens the list. Quitting prints main's resume command.
npm install -g @chorded/chord # or bun, pnpm, yarn
# Or, for stable releases:
brew install ikatsuba/tap/chordThe package is a small shim around a prebuilt binary for macOS and Linux,
arm64 and x64; the macOS binaries are signed and notarised. chord upgrade
updates it through the package manager that installed it.
chord starts agents through npx, uvx or their own CLI; sign in to
Claude Code, Codex or Gemini as you normally would.
Build from source with Dart 3.12 or newer:
git clone https://github.com/IKatsuba/chord && cd chord
dart pub get
mkdir -p build
dart compile exe bin/chord.dart -o build/chord
./build/chordThe binary needs no Dart runtime. Development covers fixtures, benchmarks and release tooling. The website source is a chord_tui app compiled to WebAssembly and drawn full-window by wterm, with an ink, cream and green poster layout, live framework examples and chord screens, and recorded flows. Build and preview it with:
cd site
dart pub get
dart run tool/build.dart build
dart run tool/build.dart serveOpen http://127.0.0.1:8080/. F1 lists keys. Outside live frames, Ctrl+Q
and Ctrl+C return home. On the chord page, Tab selects a plate and Enter
enters it; on framework articles, Tab enters directly. Follow the plate's
caption to leave: Esc, or Ctrl+Q where the example owns Esc. Ctrl+C follows
Ctrl+Q. Framework articles include source and live examples; phones have
a tappable key row. The build writes site/build/; --base=/chord/ on both
commands previews a subpath. A static host must serve .wasm as
application/wasm and return index.html for page paths so direct links
and browser Back work.
chord # choose an agent in this directory
chord gemini -C .
chord agents # agents, startup commands and own CLI availability
chord agents --json # versioned agent list for scripts
chord acp codex # serve ACP on stdin and stdout for another client
chord --continue # the latest session here, again
chord --resume <id> # a recorded session, on its own agent
chord --resume # pick an earlier session
chord -p "Explain this project" # one reply on stdout, for scripts
git diff | chord -p "Review this" --output-format jsonInside the window, completion lists, history search, ? and command pickers
float over the transcript above the prompt, keeping its height and scroll.
Ctrl+P opens a searchable command palette and keeps the draft; Enter runs
the highlighted row, and Esc, ctrl+c or ctrl+p closes it.
The prompt, status and agents stay on their rows. /model shows the model's
settings; ←/→ changes its effort, waiting for Enter. /effort picks an
effort, /fast toggles fast mode where offered, and /config lists all
session settings except model and mode:
| Key | Does |
|---|---|
ctrl+p |
search and run commands or window actions |
? |
every key, on an empty prompt |
/ |
slash commands, chord's and the agent's |
@ |
mention a file |
@@ |
complete an agent's name |
! |
run a shell command, its output for the agent |
alt+← / alt+→ |
move by word in the prompt |
cmd+← / cmd+→ |
line start/end, where the terminal passes it |
tab |
send the oldest queued into the running turn |
shift+tab |
cycle the permission mode |
ctrl+o |
expand Read output and subagents |
ctrl+x a |
go to what waits on you |
ctrl+x b |
pick code; c copies, r puts in the prompt |
esc |
interrupt the turn |
Settings live in ~/.config/chord/settings.json and the project's
.chord/settings.json: the default agent (highlighted in the startup picker
when listed), each agent's model, effort and mode, MCP servers, theme
and notifications. Each new unnamed interactive start asks again; the pick
applies to that run and is not saved. Main's agent can read settings and
ask to change allowed keys through settings; each change needs your yes.
Reads return only checked settings, with env, headers, command,
args and url values masked. Unknown server fields such as token are
left out; values under real setting names and agent, server and env key
names can reach the model.
The guide has everything else: every flag, setting, key, saved teams, chord's MCP tools for agents, and how sessions are recorded.
Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, OpenCode, Cline, Qwen Code,
Kimi Code, Kiro, Goose, Junie, Factory Droid, Auggie, Kilo, bob, Devin, fx,
Cursor Cloud Agents and more: chord agents
prints the full list. Any other ACP agent runs with
chord my-agent --agent-command "my-agent --acp".
Issues and pull requests are welcome. CONTRIBUTING.md has how to run chord from source against its scripted test agent, choose checks for a change, and follow the code conventions. Found a security issue? See SECURITY.md.
The screenshots show chord itself, captured with
dart run tool/screenshots.dart using fixture settings and sessions and
the scripted Dart agent. It also saves terminal recordings at 120x36,
80x20 and 48x32 in docs/images/<shot>.<size>.rec.json for the website.
Development has the capture commands.
chord's code is MIT. The Chorded name and chevron mark are trademarks of Igor Katsuba, outside the licence; a fork should draw its own (TRADEMARKS.md).
chord is the open sibling of Chorded, a native macOS workspace for agent sessions driven by key chords.
The CHORD wordmark rows come from OpenTUI's block and tiny fonts, under the MIT licence; its notice is retained in wordmark.dart.
Record scans use byte_search 0.1.0,
under the BSD-3-Clause licence; release archives and npm packages retain
its licence in NOTICES.







