Blog · Comparison · 25 November 2026

One Writer or Many: When Parallel Coding Agents Pay Off

Should one coding agent make a change, or should many work on it in parallel? Two of the most read companies in the field give different answers. Cognition, which makes Devin, wrote "Don't Build Multi-Agents" in June 2025 and, ten months later, said the patterns that work keep writes single-threaded. Cursor and Anthropic have published runs where dozens or hundreds of agents wrote code at once. This article compares the two positions using what each source actually says, adds the independent research, and describes where file ownership sits between them.

A note on words: this article does not discuss Forkit's factories (saved fan-outs) or the company Factory. "Fan-out" here means one agent or person starting many worker agents at once.

The case for one writer

Cognition's first post, "Don't Build Multi-Agents" (Walden Yan, 12 Jun 2025), states two principles:

  1. "Share context, and share full agent traces, not just individual messages."
  2. "Actions carry implicit decisions, and conflicting decisions carry bad results."

Its example is a Flappy Bird clone split between two subagents. One built a Mario-style background. The other built a bird that looked and moved nothing like the original. The final agent was left to combine two pieces of work that did not belong together.

The follow-up, "Multi-Agents: What's Actually Working" (22 Apr 2026), does not reverse that view. It says multi-agent systems "work best today when writes stay single-threaded and the additional agents contribute intelligence rather than actions." The patterns it reports working:

  • A review loop. A "clean-context reviewer catches bugs the coder can't see." Cognition reports Devin Review finds an average of 2 bugs per PR, roughly 58% of them severe.
  • A smart friend. A second strong model the first can consult.
  • A manager delegating to children, described as live but still needing work.

On the alternative it is blunt: "arbitrary networks of agents negotiating with each other" are "mostly a distraction."

The research agrees on part of this. Google Research's write-up of "Towards a Science of Scaling Agent Systems" (Kim and Liu, 28 Jan 2026; paper arXiv 2512.08296) reports that on PlanCraft, a sequential planning benchmark, "every multi-agent variant we tested degraded performance by 39-70%." Independent agents with no central check amplified errors by up to 17.2 times, against 4.4 times for centralized systems.

CooperBench (Khatua et al., arXiv 2601.13295, Jan 2026) gives two agents one feature each from the same codebase. Its abstract reports "on average 30% lower success rates when working together compared to performing both tasks individually."

Cost points the same way. Anthropic's account of its research system (13 Jun 2025) says agents "typically use about 4× more tokens than chat interactions" and "multi-agent systems use about 15× more tokens than chats." The same post notes that coding has less parallelizable work than research.

The case for many writers

The same studies also show where parallel work pays.

Google Research reports that centralized coordination improved performance on Finance-Agent, a task that splits into independent parts, by 80.9% over a single agent. The finding is a split by task shape: decomposable work gained, sequential work lost.

Cursor's "Agent swarms and the new model economics" (20 Jul 2026) ran a swarm with a planner and many workers on the same job under different model mixes. Total cost ran from $1,339 (an Opus 4.8 planner with Composer 2.5 workers) to $10,565 (GPT-5.5 alone). Workers carried "at least 69% of the tokens, and over 90% in most" in every run. In the Opus 4.8 mix, the planner "produced a small fraction of the tokens but roughly two-thirds of the cost." So a swarm's bill depends on which model plans and which works.

Cognition's own post lists demos of multi-agent systems at scale: a 200,000-line web browser, a 100,000-line C compiler. Even the sceptic's examples are large, divisible jobs.

What both sides agree on

Read closely, the two positions share a premise. Conflicting writes are the problem. Cognition avoids them by having one writer. Cursor's earlier post, "Scaling long-running autonomous coding" (14 Jan 2026), describes trying locks first: "Agents would hold locks for too long, or forget to release them entirely," and "Twenty agents would slow down to the effective throughput of two or three." Cursor moved to optimistic concurrency, where writes fail if the state changed since the agent last read it, and then to planners and workers.

So the real question is narrower than "one or many". It is: at what level do you keep writes single-threaded? For a whole change, a whole file, or a line?

One owner per file

Forkit's answer is the file. Since 23 Nov 2026, a claim on paths that overlap another agent's claim is not granted. The answer lists those paths as refused, with the holder, its pattern and its expiry, and the rest of the claim is granted. Both agents get one notice per pair every ten minutes: the holder that someone is waiting, the asker who holds it. Before an edit, the Claude Code hook asks Forkit about every path in the edit and denies the edit if another agent holds an exclusive claim on it, naming the holder. Claims expire (30 minutes by default, 4 hours at most) and are renewed by activity on the agent's session, so a forgotten claim does not block anyone for long.

That keeps Cognition's property, one writer at a time, for each file. Different files are written in parallel.

It does not solve every case. Two features that must change the same lines need one agent to write both. Forkit's CooperBench runs (23 Nov 2026) tested exactly that on four pairs. With CooperBench's own messaging, 0 of 8 runs merged. With Forkit's claims, patches between agents and a merge check that waits for peers, 3 of 4 merged. Those later versions ran once per pair, so it is a signal, not a rate. Coordination also cost more: about $1.23 a run with CooperBench's messaging against about $2.36 with Forkit v3.1.

The pattern that made those pairs merge is single-threaded writing again: the agents agreed one would make both edits, and the other took that agent's patch instead of writing its own. A real run with two Claude Code agents on 25 Nov 2026 found the remaining gap: one agent built both features, and the other could not take that version without discarding its own edits. forkit apply --replace now sets the receiving agent's own change aside as a backup patch and applies the peer's combined version.

When to use one agent

Use one agent when:

  • The work is sequential. Each step depends on the last: a refactor that threads a new type through a call chain, a bug whose cause is unknown. This is where Google Research measured the 39 to 70% losses.
  • The change is tangled. If you cannot list each task's files in advance and keep the lists apart, parallel agents will collide. Cognition's Flappy Bird example is a tangled change split anyway.
  • A single agent already succeeds often. Extra agents cost tokens (about 15 times chat, per Anthropic) and coordination. If one agent gets it right, adding more mostly adds bill.
  • You want a second opinion more than a second pair of hands. A reviewer with clean context is the pattern Cognition reports working. It adds intelligence and no writes.

When a fan-out pays

Use many agents when:

  • The work divides cleanly. One package, one service, one test file, one hypothesis per agent. Each agent's files are disjoint from the others'.
  • Each part has a checker. Tests, a type check, or a scoring script that tells you whether a part is done without reading it.
  • The parts are many and similar. A migration across forty packages. Twelve hypotheses on one dataset.
  • Wall-clock time matters more than tokens. Parallel work finishes sooner and costs more in total.

Forkit's recorded runs were chosen this way. In one, twelve Claude Code agents each tested one hypothesis about a public penguin dataset in their own fork; every agent had pushed 69 s after starting, twelve branches merged with no conflict, and the run cost about $1.24 of a $10 budget (Forkit's recorded demo, staging, 20 Nov 2026, one run, estimate at list price). Each agent owned its files. Nothing had to be negotiated.

A comparison

One writer Unstructured swarm Planner and workers with file ownership
Who writes a file One agent writes everything Anyone One agent at a time per file
Best for Sequential, tangled work Little, per Cognition and Google Research Work that divides by files, with a checker
Main risk Slow on large divisible jobs Conflicting decisions, error amplification Bad splits; shared lines still need one author
Token cost Lowest High High; planner model drives cost (Cursor)
Where conflicts surface Nowhere At merge, or never At the edit (refused) or at the merge check

A practical rule

Start with one agent. Run it on the job by hand and read the result. If the job splits into parts that do not share files and each part can be checked, run five agents with one file owner each and compare the result with the single agent's. Add agents only while the parts stay disjoint. When two parts must change the same lines, give both to one agent, and let the other take its patch.

Related: multi-agent architectures compared, what is agent orchestration, Claude Code subagents vs agent teams and file locking for AI agents.

Where Forkit fits

Forkit is the coordination system for agent teams: plans, handoffs, file claims and decisions, shared by every agent and the people behind them. It runs no agents. It gives the agents you already run one owner per file, patches between agents and a check that their work will merge. It is free to try at forkit-mcp.com.

Sources