Collaborative Copilot Orchestration Platform
Co-AI coding assistants working in parallel on your codebase
Quick Start โข How It Works โข Features โข Docs
CoCoPilot orchestrates multiple AI coding agents that work simultaneously on different tasks in your repository. Each agent runs in an isolated environment with its own git worktree, enabling true parallel development without conflicts.
Think of it like a development team that never sleeps:
You: "Fix the login bug, add unit tests, and update the docs"
CoCoPilot spawns 3 workers โ Each works independently โ 3 PRs ready for review
"Good code, like good chocolate, requires the right blend of chaos and control."
# Clone and start with Docker (recommended)
git clone https://github.com/patrick-knight/cocopilot.git
cd cocopilot
docker compose up -d
# Authenticate with GitHub (first time only)
docker exec -e HOME=/root -it cocopilot-cocopilot-app-1 sh -l
# Follow the prompts for: gh auth logindocker exec -e HOME=/root cocopilot-cocopilot-app-1 coco init https://github.com/your-org/your-repocurl -X POST http://localhost:3000/api/v1/repositories/your-repo/workers \
-H 'Content-Type: application/json' \
-d '{"task": "Fix the login bug in auth.ts"}'Open http://localhost:3000 to watch your workers in the Cocoa Board dashboard.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ COCOA BOARD (Web UI) โ
โ http://localhost:3000 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Socket.IO / REST API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CONCHER (Daemon) โ
โ Orchestrates lifecycle & manages state โ
โโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โ CHOCOLATIER โ โ TEMPERER โ โ ENROBER โ
โ (Supervisor) โ โ (Merge Queue) โ โ (PR Shepherd) โ
โ โ โ โ โ โ
โ โข Monitors โ โ โข Auto-merge โ โ โข Track PRs โ
โ workers โ โ when CI โ โ โข Ping โ
โ โข Spawns new โ โ passes โ โ reviewers โ
โ tasks โ โ โข Solo mode โ โ โข Team mode โ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ
โ TRUFFLE โ โ TRUFFLE โ โ TRUFFLE โ
โ Worker #1 โ โ Worker #2 โ โ Worker #3 โ
โ โ โ โ โ โ
โ Isolated โ โ Isolated โ โ Isolated โ
โ Docker + โ โ Docker + โ โ Docker + โ
โ Worktree โ โ Worktree โ โ Worktree โ
โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ
| Component | Description |
|---|---|
| Cocoa Board | Real-time web dashboard for monitoring agents, workers, and PRs |
| Concher | Background daemon that manages the entire system lifecycle |
| Chocolatier | Supervisor that monitors workers and nudges stuck agents |
| Temperer | Auto-merges PRs when CI passes (for solo developers) |
| Enrober | Shepherds PRs through review (for teams) |
| Truffle | Individual worker running in an isolated Docker container |
| Ganache Bus | Redis-backed message broker for agent communication |
Real-time monitoring at http://localhost:3000 with live output streaming, PR pipeline visualization, and worker controls.
Define your own agents with YAML + Markdown in .cocopilot/agents/:
coco agents list
coco agents spawn --from .cocopilot/agents/reviewer.mdUse your own API keys for Anthropic, OpenAI, or Azure:
coco config keys set anthropic sk-ant-...Full API access for integrations and automation:
# Spawn a worker
curl -X POST http://localhost:3000/api/v1/workers \
-H 'Content-Type: application/json' \
-d '{"task": "Add tests", "repoName": "my-app"}'
# Register webhooks
curl -X POST http://localhost:3000/api/v1/webhooks \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com/hook", "events": ["worker.completed"]}'Track worker throughput, PR cycle time, and CI success rates at /metrics.
Add custom Model Context Protocol servers for database access, internal APIs, and more.
For individual developers. Temperer auto-merges PRs when CI passes. Spawn workers, grab coffee, return to merged code.
Auto-detected for forks. Enrober manages PR reviewsโpings reviewers, tracks blockers, but humans always merge.
git clone https://github.com/patrick-knight/cocopilot.git
cd cocopilot
docker compose up --build -dIncluded: Concher daemon, web server, Redis, GitHub CLI, Docker CLI, coco command.
git clone https://github.com/patrick-knight/cocopilot.git
cd cocopilot
npm install
npm run build
npm link
# Start Redis separately
# macOS: brew services start redis
# Linux: sudo systemctl start redisPrerequisites: Node.js 23+, Docker, GitHub CLI (gh auth login), Git.
| Command | Description |
|---|---|
coco init <url> |
Initialize repository tracking |
coco start |
Start daemon and web UI |
coco stop |
Stop all services |
coco status |
Show system status |
coco list |
List tracked repositories |
coco worker spawn |
Spawn a new worker |
coco agents list |
List custom agent definitions |
coco agents spawn |
Spawn from agent definition |
coco config keys set |
Configure API keys |
| Guide | Description |
|---|---|
| Quick Start | Get running in 5 minutes |
| Configuration | All options and environment variables |
| API Reference | REST endpoints for integrations |
| Custom Agents | Build your own agents |
| Troubleshooting | Common issues and fixes |
npm run dev # Watch mode
npm test # Run tests
npm run lint # Type checkingMIT
