Many agents, one machine, no collisions.
Run several coding agents at once on separate branches, each in its own worktree, all on a computer that stays on.
Two agents in one checkout overwrite each other
Running two agents on the same repository sounds like double the throughput. In one working directory it is closer to half, because both are editing the same files, both see each other's half-finished edits, and the test run that one of them is reading was changed underneath it by the other.
The fix is not a better agent. It is git: a worktree per task puts each agent on its own branch in its own directory, sharing one object store, so `git status` in one is clean regardless of what the others are doing.
What remains after that is bookkeeping. Which worktree belongs to which task, which of them is finished, which branch still needs a review. That is where an always-on machine helps: the worktrees and the terminals attached to them survive your laptop closing, so you can review them all at once later instead of one at a time as each finishes.
What it handles
01
Worktree per task
One directory and one branch per agent, from a single clone, so the repository is cloned once and not three times.
02
A terminal per agent
Each worktree keeps its own session, so you can scroll back through what an agent did without reconstructing it from logs.
03
Collisions stay local
An agent breaking its build does not touch the branch another agent is testing.
04
Review together
Because the machine stays on, several finished branches are waiting at the same time rather than arriving one per day.
05
Clean up cheaply
A merged worktree is removed with one command, and the branch with it.
06
Bounded by memory
How many agents a machine holds is a function of RAM and cores, which is why size is a choice rather than a promise of unlimited agents.
Set up in about two minutes
01
Clone once
One clone on the machine, with a deploy key. Every worktree shares its objects.
02
Add a worktree per task
git worktree add ../task-a -b task-a, then run an agent inside it.
03
Merge what passes
Review the branch, merge it, remove the worktree. The next task starts clean.
Questions
Can two agents work on the same repository at once?
Not in the same checkout. In separate worktrees of the same clone, yes: each has its own branch and working directory, and they share the object store, so neither sees the other's uncommitted edits.
What is a git worktree?
A second working directory attached to the same repository, checked out to a different branch. One clone, several directories, no duplicated history. git worktree add creates one and git worktree remove deletes it.
How many agents can one machine run?
As many as fit in memory and cores without thrashing. Each agent process plus its language server and test run is not free. Eight gigabytes holds two or three comfortably; thirty-two holds many more, and the honest answer depends on your toolchain.
A new home for your agents
A machine that stays on, with your coding agents on it. $25 of credit to start, no card.