CCCC
Coordinate your coding agents like a group chat
Local-first coordination for coding agents: durable Group history, explicit message status,
cross-instance collaboration, and access from the Web, the terminal and IM.
Connect the Claude Code, Codex, Pi and OpenCode sessions you already run, or let CCCC run agents for you, as one persistent team.
One install command. No Rust toolchain, database server, message broker or Docker required.
English | 中文 | 日本語
Quick start · Documentation · Community
What CCCC does
When several coding agents share work, you need to know who owns a task, whether a message reached its recipient, and what survives a restart. CCCC keeps that in one place:
- A durable Group chat. Each Group records messages and events in an append-only ledger; tasks and shared context are stored as well.
- Explicit delivery. Messages go out as Send, Send + Reply or Mail, and delivery, read and reply are recorded as separate facts.
- Your sessions or CCCC's. Connect sessions you already run, or let CCCC manage agents on many CLI and Web runtimes, in the same Group.
- One control plane. The Web UI, the terminal interface, the CLI, MCP tools and IM bridges share the daemon's state.
- Chet, a global assistant you can write or talk to.
- CCCC Connect links Groups across machines and teams; each instance keeps its own state.
- Local-first. Runtime state stays in
CCCC_HOME (default ~/.cccc/), outside your repository.
What's new in 0.4.60
- Let Chet act for you while you are away (Experimental). Turn on Unattended in Chet's title bar (off by default) and each new message a member on this instance sends you with Send or Send + Reply also goes to Chet, which can reply, answer question cards for you, or flag a risk; it is instructed to leave to you what only you can do. You still get every message; a card Chet answered says so, and you can correct it by replying.
- Choose which messages notify you. In Settings > Notifications, each browser can notify you for All messages to me or Only when a reply is requested, so a phone can stay quiet until someone needs your answer.
- See where a message went. When CCCC has the evidence, the recipient list says whether a message was written to a member's terminal or accepted by its runtime, and it can show why a message is still waiting. For a plain message, open it from Show recipient status in the message's action menu.
- Recover missed deliveries. Messages not yet handed to the runtime, or known not to have been submitted, during a short disconnection are delivered when the member is back. A partial terminal write stays unconfirmed and is not replayed automatically.
- One unresponsive session owner no longer holds up the others. While CCCC is running, if one session owner stops responding, new messages can still reach running members whose healthy owner CCCC can verify. Those members can also be stopped individually.
Upgrade notes. On Linux and native Apple Silicon Macs, a compatible update from 0.4.59 can keep agents running; Windows updates restart agents. A member kept running from 0.4.59 can still show Sent to runtime until it is restarted. Managed and DeepSeek members kept running from 0.4.59 need a restart of that member for the delivery and individual-stop fix above. If a session owner is already unresponsive when CCCC starts, startup can still fail; see the release notes for recovery.
Details: 0.4.60 release notes.
Quick start
Install
# macOS / Linux
curl -fsSL https://chesterra.github.io/cccc/install.sh | sh
# Windows CMD or PowerShell
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; Invoke-RestMethod 'https://chesterra.github.io/cccc/install.ps1' | Invoke-Expression"
# Or through pip: the same native executable in a platform wheel
python -m pip install -U "cccc-pair>=0.4.36"
CCCC runs on Linux x86-64 (glibc 2.28+), Apple Silicon macOS 11+ and Windows x86-64. See Installation and upgrades for more.
Launch
cccc
cccc starts the daemon and the Web UI. In an interactive terminal it also opens a status panel; type / for its commands, and /quit or Ctrl+C stops what this launch started. Open http://127.0.0.1:8848 for the full Web UI; local use needs no password.
On servers, in containers and in scripts, use cccc --headless (the same as cccc web). If port 8848 is in use, choose another with cccc --port 9000. cccc doctor checks the installation and the agent CLIs it detects.
Choose how agents join
|
Sessions you already run |
Agents CCCC runs |
| Who starts it |
You, in Codex, Claude Code, Pi or OpenCode V2 |
CCCC, with the Runtime you choose |
| Who owns it |
The app keeps its process, conversation, account, model, approvals and terminal |
CCCC starts, stops and restarts it; most runtimes show their terminal in the Web UI |
| Approval prompts |
The app's own prompts still apply |
Many runtimes start with them bypassed |
| Set up with |
/setup or cccc sessions enable, then Add Agent → Add existing sessions |
New and Add an agent in the Web UI, or cccc attach and cccc actor add |
Both kinds can work in the same Group. Steps: Connect the sessions you already run or Let CCCC run agents.
Connect the sessions you already run
Codex, Claude Code, Pi and OpenCode V2 sessions that you started yourself can join Groups and contact each other through the local daemon. CCCC imports no history and needs no provider API key. This is experimental: it was tested on Linux and WSL, and macOS and native Windows still need acceptance testing. Antigravity sessions cannot connect this way yet.
Requirements. Codex 0.163.0, Claude Code 2.1.306, Pi 1.4.0 or OpenCode V2 2.1.4, or later, on the machine running CCCC, as the same OS user and with the same CCCC_HOME as the daemon. Enable this only if your local sessions may receive work from each other and from this instance's administrator. Codex also needs its shared app-server: add this to $CODEX_HOME/config.toml (normally ~/.codex/config.toml), inside the existing [features] table if there is one:
[features]
daemon_auto_start = true
- Enable each app once. In the
cccc status panel, type /setup, tick the apps with Enter, choose Continue, then Connect. Or run cccc sessions enable --runtime codex (or claude, pi, opencode).
- Load it in the app.
- Codex: restart it, approve the CCCC hooks when asked (
/hooks), then send any message.
- Claude Code: restart it (
claude --resume picks the conversation to continue), then send any message. Plugin Monitor must be enabled.
- Pi: run
/reload, or start Pi.
- OpenCode V2: reopen the original session; a blank new session needs a first message.
- Check with
cccc sessions list. Add --include-offline to also see registered sessions that cannot receive right now.
- Add them to a Group. In the Web UI, open the Group, choose Add Agent, switch to Add existing sessions, select the sessions and choose Add N sessions. To start a new Group from them, choose New → Create from existing sessions; with several sessions, choose the Foreman under New Group defaults. Setup steps for each app are under How to connect · 3 steps in the list, and Troubleshooting sits beside them. A session marked Unavailable to receive cannot be selected; when CCCC knows why, its row shows the reason and Check again. Settings → Session access manages which sessions and paired computers may join.
You can also ask from inside a session; CCCC creates or reuses a Group for both:
Use CCCC to contact the Codex session in /path/to/project about the current task. Use Send + Reply and ask it to reply through CCCC using Send. If several sessions match, ask me to choose.
The app keeps its tool approvals, so a CCCC tool call can wait for you in its terminal. Only what a session sends through CCCC reaches the Group, not its ordinary terminal output. Pause CCCC access and Resume CCCC access change one Group membership without touching the app. cccc sessions disable --runtime codex (or claude, pi, opencode) removes only what this CCCC installation registered.
After upgrading CCCC, reload the integration in each app. The native sessions guide also covers the CLI commands, resuming conversations, recovery and limits.
Let CCCC run agents
Install and sign in to the agent CLIs you want to use first. In the Web UI:
- Choose New in the sidebar, pick the Project Directory on the machine running CCCC (Browse helps), then Create Group.
- Choose + (Add an agent) in the members' row above the message box, pick a detected Runtime, enter an Agent ID and choose Add Agent. The first agent becomes the foreman; later ones are peers.
- Open the Group status button in the header and choose Start Group.
- Write in Messages and choose Send (Ctrl+Enter, or Cmd+Enter on a Mac).
From the command line, with CCCC running (for example cccc in another terminal):
cd /path/to/your/repo
cccc attach . # create a Group for this folder and make it active
cccc actor add lead --runtime claude # the first agent becomes the foreman
cccc actor add implementer --runtime codex # a peer
cccc group start # start the Group's enabled agents
cccc send "Please inspect the repo and propose the first safe task." --to "@foreman"
cccc tracked-send "Please take the first concrete task and reply with validation evidence." \
--to implementer \
--title "First concrete task" \
--outcome "The change and validation evidence are reported"
Claude Code and Codex receive CCCC's MCP tools when CCCC starts them, so no cccc setup step is needed. The CLI calls agents actor. In PowerShell, keep "@foreman" in quotes, since a bare @ starts splatting, and enter tracked-send on one line: the trailing \ continues a line only in POSIX shells.
On first launch, Claude may ask you to trust the workspace or accept its --dangerously-skip-permissions disclaimer, and the agent shows Awaiting your confirmation in the terminal. Answer in its terminal in the Web UI (Open confirmation terminal takes you there); CCCC never answers for you. If you decline, choose Launch or Relaunch to try again.
Approvals. Many runtimes start with approval prompts bypassed, for example claude --dangerously-skip-permissions. Review each agent's command in its settings and the autonomy defaults.
You should see both agents in the members' row, the foreman's reply in Messages and the tracked request with a linked task. If an agent does not start, open it to read the error, check that its CLI is installed and signed in, and run cccc doctor; see also the FAQ.
Chet, the global assistant
Chet is one assistant for the whole CCCC instance, outside every Group's member list. Open it with the Chet control below the Group list and type, or choose Start voice beside it for a live call. A Group selected when you send is included as context, not as a permission boundary.
- Runtime: set it under Settings → This instance → Voice → Chet → Runtime