GuidesUpdated

How many coding agents should you run at once?

Size parallel agent work by how many tasks are truly independent, how much you can review, and your worktrees, machine resources and usage.

On this page

There is no universal number. You can keep many sessions waiting, but you can only understand, test and merge a few diffs at once. Start from your tasks and your review queue, then ask whether another agent adds progress or just another unfinished branch.

Canopy agent launcher for several coding CLI sessions
Canopy agent launcher for several coding CLI sessions

Count independent outcomes, not open tabs

List the deliverables before launching anything. A docs fix, a UI bug in one component and a read-only dependency check can run independently. Two agents changing the same API contract can't each make the final call. Worktrees isolate files, not shared databases, ports, design decisions or the final merge. Your useful number is how many tasks can reach review separately.

Let review capacity set the limit

Each code-changing agent should end with a branch, changed files, test evidence, a running result where relevant and your decision. If two finish in the same hour and you can review one, the second waits. A third agent won't shorten that queue. Heavy Claude Code users often name review bandwidth as their limit.

A simple concurrency gate for one reviewer; fill it in with your own task sizes.
Before starting another agentEvidence to collectDecision
Is its outcome independent?Named result, owner, branch, and files or componentIf it depends on an unfinished decision, wait or run research only
Can you review its result?Current review queue and time needed for the latest diffsIf accepted work is waiting, review before adding more implementation
Can it run safely?Worktree, port, service and account planSeparate shared resources or run sequentially
Does the extra session help?Accepted changes, elapsed time, retries and usageCompare with a smaller concurrent batch

Give agents different roles when edits would collide

Parallel work doesn't need parallel writing. One agent can research a code path read-only while another makes a bounded change, and a reviewer can check the diff afterward. Anthropic's agent-team docs recommend parallel research and review, and warn that teams add coordination and token overhead. Canopy's Agents rail and Agent Workspace show each session's state and changed files. You still decide ownership and merge order.

Measure the whole cost of the batch

Track time to an accepted result, not time until each agent says done. Include review, conflicts, reruns and later fixes. Record CLI usage estimates with timestamps; Canopy's estimate isn't a provider invoice. Another session can cut wall-clock time but raise total tokens.

Try a two-batch experiment

Pick four similar, independent tasks with clear acceptance checks. Run one batch one or two at a time and another at higher concurrency, with the same reviewer and quality bar. Log when each agent was blocked, drafted, entered review and was accepted or rejected. If review lag or rework climbs, cut code-changing agents and use spare capacity for read-only research.

Copyable resources

Parallel-agent review queue

One line per task, including failed attempts and review time.

Task / acceptance checks: [ ]
Agent, CLI, model and checkout: [ ]
Independent of these active tasks: [ ]
Started: [ ] | First draft: [ ] | Review started: [ ] | Accepted/rejected: [ ]
Changed files and final diff: [ ]
Tests and running result: [ ]
Blocked decisions or shared service conflicts: [ ]
Review minutes and rework: [ ]
Usage source, estimate and timestamp: [ ]
Would another code-changing agent have helped? [evidence]

Frequently asked questions

Is there a best number of coding agents for one person?

No. It depends on how independent the tasks are and how much you can review and integrate. Measure accepted outcomes and queue time in your own workflow.

Do separate worktrees remove the cost of coordination?

No. They isolate files. Branches can still conflict in behavior, services can share state, and someone must review and merge the results.

Should a waiting reviewer count as an active agent?

Track running, blocked, awaiting review and accepted separately. The review queue matters more than the number of open tabs.

More questions and answers →

Sources and further reading