Running agents in parallel
For engineers
Worktrees, separate file areas, merge order and knowing how many sessions you can really supervise
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
What does a git worktree give a parallel agent?
Check yourself · 2 of 5
What should you decide before starting parallel agents that will use the same data type?
Check yourself · 3 of 5
What mainly limits how many agents you can usefully run in parallel?
Check yourself · 4 of 5
Two agent branches merge with no text conflicts. What does that prove?
Check yourself · 5 of 5
Which pair of tasks is the best candidate to run in parallel?
Topics
- Git worktrees for parallel agents5 min read · One worktree and branch per agent, separate ports and databases, and cleanup after the branch merges
- Splitting parallel work by file area5 min read · Giving each agent non-overlapping files, modules or layers and freezing shared contracts before they start
- Supervising several agent sessions at once5 min read · Tracking status, batching your reviews and capping sessions at what one reviewer can actually check
- Merging parallel agent branches5 min read · Merge order, conflict resolution, a full test run after each merge and a review of the combined diff
- When parallel agents slow you down5 min read · Shared state, tightly coupled changes, review bottlenecks and resource clashes that outweigh the speed-up
Start here
- git-worktree documentation (opens in a new tab)DocsFree
Official reference for add, list, remove and prune: one repository, several working folders.
- Common workflows (Claude Code docs) (opens in a new tab)DocsFree
A vendor's own section on running parallel sessions with worktrees.
- Embracing the parallel coding agent lifestyle (Simon Willison) (opens in a new tab)ArticleFree
A practitioner's account of why review speed, not agent speed, is the limit.
Helps to know first
110 questions · last verified 2026-12