Parallel Agents
The Factory District · AI Coding & Software FactoriesRunning many agent sessions at once (worktrees, cloud sandboxes) on separate tasks.
Also called: parallel agent, agents in parallel, fleet of agents, agent fleet, git worktree, worktrees, many agents at once. In the glossary.
How it works, as a machineThe Rail Yard · branches
Follow one branch from a ticket on the board to the main line, in a rail yard where many sidings join one main line.
- Cut the ticket in slices
- Lock the claim
- Cut a worktree
- Start the session
- Answer the lamp
- Merge to main
Parallel Agents in plain words
Parallel agents are many agent sessions running at once, each on its own task in its own copy of the code. Work that used to wait in a queue now happens side by side. The limit moves from how fast one agent writes to how fast the results can be checked and merged.
An analogy
A laundromat instead of one washing machine. Ten loads turn in ten drums, so nothing waits for a free machine. But there is still one person folding, and the folding table is where the baskets stack up.