Running Parallel and Background Agents
Run several agents at once and output multiplies while the number of people who can read it stays the same. The constraint moves to the queue of changes waiting for review, to the order in which they merge, and to who answers for each result. A manager sets a cap from review capacity, serializes the collisions, and names an owner for every change.
After this chapter you can
- Calculate a weekly ceiling of agent changes from review hours, minus human pull requests, divided by minutes per review.
- Choose between a volume cap and a diff limit to fit planned agent changes into available review minutes.
- Set merge-order rules that serialize hot files, land interfaces first and have owners rebase stale branches.
- Give every agent change, including scheduled runs, one human owner who answers comments and closes it if unwanted.
- Read four queue signals weekly and lower the cap when review wait, queue length, conflicts or reverts cross your thresholds.
When Nicholas Carlini of Anthropic’s Safeguards team described building a C compiler with parallel agents in February 2026, he reported that he ran 16 instances of Claude at once over nearly 2,000 Claude Code sessions in two weeks, at a cost of just under 20,000 US dollars, and ended with a roughly 100,000-line compiler written in Rust1. It is a striking result. For a manager the useful detail sits beside the headline: he wrote that most of his effort went into designing the environment around the agents, the tests and the feedback, not into reading what they produced.
That is the opposite of what a product team has. Your engineers will run several agents, some in the background while they sit in meetings, and every one of them will produce something that a human must read before it merges. The manager’s question is this: how do I manage many agents working at the same time without drowning in review?
Earlier in this module you set permissions and wrote briefs for one agent. The working assumption here is that review capacity is the scarce resource, and the chapter asks how to schedule agents around it.
Output scales with agents; review does not
Run one agent and the engineer is the reviewer, in real time. Run three, and the engineer has become a reviewer of three streams who also has their own work. The agents’ output rises with each one you add. The number of hours in a week that people can spend reading does not.
Field data points the same way, with the caveat that it shows association, not cause. Faros AI’s June 2025 report, drawing on telemetry from over 10,000 developers in 1,255 teams, found that developers on high-adoption teams merged 98 percent more pull requests, saw review time rise 91 percent and average pull request size rise 154 percent, with 9 percent more bugs per developer; the report found no significant correlation between adoption and improvements at company level2. This is a vendor’s analysis of its own data, which the vendor says may not generalize to all organizations, and the figures are correlations. They are consistent with a bottleneck at review, and they do not prove one on your team. The same report found 21 percent more tasks completed, so output did rise.
Set the cap from review capacity
The most useful number a manager can compute is the weekly ceiling. Take the review hours your team has each week. Subtract what human-written pull requests already use. Divide the rest by the minutes a careful review takes. The result is how many agent changes the team can read, which is a different quantity from how many the agents could write.
Then turn the ceiling into a cap that engineers can apply themselves: a limit on open, unreviewed agent changes per person. A cap sounds restrictive, but it prevents a worse outcome, which is a pile of changes that nobody reads and that get approved under pressure or left to rot. Treat the cap as a dial. If review waits stay short and reverts stay rare, raise it. If they rise, lower it.
Collisions are predictable: set a merge order
Parallel agents interfere in a few repeatable ways. Two agents edit the same file. Two update a lockfile or a generated artifact. One changes an interface another is using. Carlini’s account has an instructive example: when all 16 agents were pointed at compiling the Linux kernel, “every agent would hit the same bug, fix that bug, and then overwrite each other’s changes,” and parallel progress resumed only after the author used GCC as a known-good comparison to split the failures into separate pieces1. The agents there coordinated by writing lock files for tasks, each in its own container, and merge conflicts happened often and were resolved by the agents themselves. That setting had a huge, mature test suite and a single well-defined goal; most product code has neither, so conflict handling by agents alone is a capability shown in that project, not yet shown for typical team repositories.
For a team, the tool for isolation is the worktree: a separate checkout of the repository on its own branch, so parallel sessions do not edit the same files on disk. Claude Code’s documentation, a dated example, describes a command for starting a session in a named worktree and describes it as a way to keep concurrent edits from colliding3. Isolation on disk does not prevent conflicts at merge time, so you also need a rule.
Every change needs an owner
Background agents create a specific failure: a change appears, nobody remembers asking for it, and it sits. Close that gap with one rule. Every agent change has a named human owner, the person who launched it or the person who owns the schedule that launched it. The owner answers review comments, performs the rebase, and closes the change if it is no longer wanted. A change with no owner after a set number of days, say five working days as an illustrative starting value, is closed automatically. The agent can do the work; it cannot be accountable for it.
The owner rule also tells you who absorbs the review. If the owner and the reviewer are the same person, as in a solo loop, that person is paying double. A rule that reviewers must be someone other than the owner, for changes beyond a small size, spreads the load and keeps a second pair of eyes on the change.
Background runs need tighter terms than attended ones
A background agent differs from an attended one in a way that matters: nobody is watching while it works, and it cannot stop to ask a question. That argues for tighter terms, not looser ones. Keep unattended runs to the lower reach tiers from the previous chapter, which in practice means editing in a sandboxed workspace and opening a pull request, never touching shared systems. Put the stop rules from the brief into the run itself: a limit on elapsed time, a limit on the number of files changed, and a rule to halt and report when a test must be edited to pass. Give each run a budget in money or tokens, because a loop that nobody sees can spend for hours before anyone looks.
The output of a background run should land in one predictable place, a queue or inbox the owner checks at fixed times, not in a stream of notifications that people learn to ignore. A good result report is short: what was asked, what changed, which commands were run and passed, what was not verified. That is the same output section as in the brief, and it is what lets a reviewer decide in a few minutes whether the change deserves a full read. If a run ends with a failure, the report should say so plainly and leave the branch for the owner to discard.
Four signals that tell you to turn the cap down
You do not need a dashboard of twenty metrics. Four signals, read weekly, show whether the queue is healthy. The thresholds below are illustrative starting values.
Read the signals together. A short review wait with a rising revert rate can mean reviewers are approving too fast, which is a quality problem that looks like a speed gain; check a few reverted changes before concluding. A long wait with a low revert rate means the cap is simply too high.
Case: sixteen agents and a test suite
Carlini’s compiler project is a documented case of parallel work done well, and the reasons are worth separating from the headline1. The project reported a 99 percent pass rate on most compiler test suites, including the GCC torture test suite, and a compiler able to build Linux 6.9 for three processor architectures with the model then available. The author attributes the result largely to the environment, and says most of his effort went into it: high-quality tests, verification scripts, an oracle to split work, a lock per task and a container per agent. The post also lists limits. The compiler lacks a 16-bit x86 code generator and calls GCC for that step, its assembler and linker were incomplete, and its output code is less efficient than GCC’s. The author wrote that new features and bug fixes frequently broke existing functionality, and the tests were the check on that.
Scope it carefully. This was a vendor research demonstration, on a problem with decades of existing test suites and a reference compiler, and the post reports the API cost and sessions, not the human hours. It shows that parallel agents can make steady progress when the verification is automatic and strong. It does not show the same result for ordinary product work, where tests are thinner and humans must judge fit. For your team, the transferable point is that the work of a parallel setup lives in the harness and the queue, not in the launch command.
A team-sized worked example
Everything here is invented, with invented figures chosen to make the arithmetic visible. A team of eight engineers each wants to run three background agents, and each agent is expected to produce two changes a week. That is 8 times 3 times 2, or 48 agent changes a week.
The lead computes capacity. Each engineer can give 5 hours a week to review, so the team has 40 hours. Human-written pull requests already use 60 percent of that, or 24 hours, which leaves 16 hours, or 960 minutes. A careful review of a medium change is assumed to take 30 minutes (an invented planning value; measure yours), so the ceiling is 960 divided by 30, which is 32 changes a week. The plan of 48 is 16 over the ceiling, a 50 percent overload. The overload is 480 review minutes, or 8 hours, that nobody has.
The lead has two levers. A cap of four agent changes per engineer per week lowers the volume to 32, which fits exactly. Or a diff limit of 200 lines in each brief shortens a careful review to an assumed 20 minutes, and 48 times 20 is 960, which also fits. The lead picks the diff limit first, because it keeps the output, and sets the four-per-engineer cap as the fallback if the review wait median passes one working day in the first two weeks. Every change gets an owner, hot files are serialized, and the four signals go on the team’s weekly review.
What this means for engineering managers
Your Monday action: compute your own ceiling in ten minutes and write it on the team board; you, the manager, own the cap and the weekly read of the four signals. Then use the template. Every threshold and day count in it is an illustrative starting value.
AGENT QUEUE POLICY
Weekly review ceiling: (review hours - human PR hours) x 60 / minutes per review = ___ changes
Cap per engineer: ___ open unreviewed agent changes
Diff limit per change: ___ lines
Owner rule: every change names an owner; ownerless after ___ days = closed
Serialized files: lockfiles, schema, generated code
Signals (weekly): review wait ___, queue per reviewer ___, conflict rate ___, revert rate ___
Check yourself
- The number of agents a team can safely run is set by how many its machines can host.
- A diff limit can raise throughput by shortening each review.
- Faros AI’s data proves that AI adoption causes slower reviews.
- Agents in Anthropic’s compiler project resolved their own merge conflicts, so product teams can leave conflicts to agents.
- Every agent change should have a named human owner.
- A fast review wait together with rising reverts is a sign of success.
Reflection
What comes next
A queue that works day to day still has to survive the days when an agent loops, drifts out of scope or fails quietly. The next chapter in this module, Sharing Practice: Prompts, Skills and Team Habits, covers how to spread what works across the team, and the one after it, When Assistants Fail, builds the playbook for stopping and reverting.
References
- Nicholas Carlini. Building a C compiler with a team of parallel Claudes. Anthropic Engineering blog. 2026.
- Faros AI. The AI Productivity Paradox Research Report. Faros AI. 2025.
- Anthropic. Common workflows, run parallel sessions with worktrees (Claude Code documentation). Claude Code documentation. 2026.
Further reading
- Nicholas Carlini. Building a C compiler with a team of parallel Claudes. Anthropic Engineering blog. 2026.
- Faros AI. The AI Productivity Paradox Research Report. Faros AI. 2025.
Sources last verified 2026-10-13.