Why run agents in parallel
A coding agent spends most of a turn reading, running tests and waiting on tools. While it does, you could have a second agent on the bug report, a third writing tests, and a fourth reviewing yesterday's branch. The work is independent; only the setup makes it hard.
Running agents in parallel also lets you compare them. Give two agents the same task and keep the better answer, or ask one to review the other's branch.
What goes wrong when agents share a folder
- They overwrite each other. Two agents editing the same checkout see each other's half-finished changes, and one switching branch moves the other.
- You lose track. Five terminal windows do not tell you which agent is waiting for an answer, which failed and which finished.
- Permissions multiply. Each agent asks before commands. Five agents ask five times as often, and the reflex that clears a test run can push to production.
- Costs add up out of sight. Every agent spends tokens, and nobody adds them up per task.
A branch and a worktree per agent
The fix for collisions is git worktrees: one folder per branch, all sharing one repository. In Cocobox every agent tab gets its own worktree on a new branch, started from your default branch, freshly fetched. Two agents never edit the same checkout, and a change stays out of your own checkout until you merge it. More on worktrees for agents.

Mix agents from different providers
Each tab runs the agent you pick: Claude Code, Codex, GitHub Copilot, Gemini CLI, OpenCode, Grok Build, or any agent that speaks the Agent Client Protocol (ACP). Each uses your own login or key. Put up to three chats side by side and type @agent-3 to bring one tab's work into another. Which agents run in Cocobox.

Let one agent split the work
You do not have to open every tab yourself. Ask an agent to split a job, “the payments API, the checkout UI and end-to-end tests, a tab each”, and it opens the tabs, each on its own branch. Their questions and approval requests go to that agent first, and only what it cannot decide comes to you. Agent orchestration, step by step.
Keep it safe and affordable
- Approvals: a decision card says what a request will do, what it touches and whether it can be undone. A critical one, like a push to the default branch, needs a different key. Approvals
- Database guardrails: read-only connections and a database copy per agent. Database guardrails
- Spend caps: a daily cap per tab, in dollars or tokens. Over it, the tab pauses and asks. Spend caps
- Checks: give a space a check, like its tests, and every tab that finishes with changes runs it. Verified done
See whether it paid off
Stats measures how much of the work ran in parallel: 2.0× means two agents were working at once on average. It also compares your agents' cost, time and failed turns on your own work. Compare what your agents cost.

Start in five steps
- Download Cocobox and sign in with a free account.
- Click New space and open a git repository.
- Press ⌘T for a tab, pick an agent and give it a task.
- Press ⌘T again for the next task. Each tab gets its own branch.
- Review each branch like a pull request, and merge what you want.