guide

One ticket, one branch, one worktree. Then you only answer questions and merge.

Chady Dimachkie

· 3 min read

To run Claude Code agents in parallel on one repo, give every task its own git branch and its own worktree. Two agents in one checkout overwrite each other’s half written files. Two agents in two worktrees cannot. rev0 does that part for you: write a ticket per task, start them together, answer the one that stops to ask, and merge each branch when it is ready.

That is the short answer. The rest of this post is what each step looks like, and where it goes wrong if you do it by hand.

Why not just open more terminals?

Because more terminals means you are the scheduler. Each Claude Code session can work for an hour on its own, but a question asked in a window you are not looking at just sits there. On top of that, every session needs its own worktree, its own branch name, and a note somewhere about which one is waiting on you.

None of that is hard. All of it is bookkeeping, and bookkeeping is exactly what slips when you are deep in one of them.

How does each agent stay out of the others’ way?

Each ticket gets a branch named agent/ticket-<id>, checked out in its own worktree. By default the worktrees live in a sibling folder named after your repo with .agent_worktrees added, or wherever REV0_WORKTREE_ROOT points. Your own checkout stays exactly as you left it.

The worktree is committed after every run and kept across resumes, so an agent that stops and continues picks up where it was. Once a ticket is merged, Delete worktree reclaims the disk. The details are in Worktrees and branches.

How many agents can run at once?

Up to the Max concurrent agents setting, which every setup profile sets to 8. Tickets in a folder that is not a git repo run one at a time, since there is nothing to isolate them with.

What happens when one of them asks a question?

Its card moves to Your turn, and your devices get a notification if you allowed them. You click the answer and it carries on. The other agents never stopped: a parked ticket holds nobody else up. You can answer from your phone too.

Do I have to merge in order?

No. Each ticket lands In Review with its diff and a Merge button, and you merge them in whatever order they finish. If two branches touched the same lines, the board merges your base branch into the ticket’s branch and hands the conflict to an agent. If it cannot resolve it in two tries, the ticket parks for you with the conflicted files listed. See Review and merge.

Does it only work with Claude Code?

Claude Code is the default. Codex, Cursor and Gemini through Antigravity run the same way, per ticket or for the whole board: Run Codex or Cursor instead of Claude Code.

Try it in fifteen minutes

The Run tens of agents at once tutorial has you start three agents on a practice repo, answer one question, and merge all three, including a real conflict an agent resolves for you. Coming straight from the terminal? Coming from Claude Code maps what you already know, and rev0 vs plain Claude Code is the side by side.

rev0 is in beta: free on your own machine, accounts for sync and phone open in waves from the waitlist.