Replit finds a team of agents beats one only when it organizes well
Replit gave single agents and swarms of 8, 16 and 32 agents the same two hours to speed up open-source libraries. On NumPy one Claude Opus 5.5 agent made the workloads 3.7× faster and a swarm of 32 reached 18.9×, while swarms of OpenAI's models mostly did no better than one agent.

Fred Brooks observed in 1975 that adding programmers to a late project makes it later, because every new engineer brings more coordination than work. Early research on agent swarms found much the same: once coordination costs were counted, several agents often trailed one. Replit wanted to know whether that still holds for today's models.
It chose performance engineering as the test because the work is a search and the score has no ceiling. An agent profiles a workload, changes a hot path and learns quickly whether the code got faster without changing its output. Agents can split the work up but cannot ignore each other: patches to shared code conflict at merge, and agents that do not share results repeat each other's failed attempts. The suite, Optimization-Bench, covers 14 open-source libraries, and the post reports on NumPy, SQLite, SQLGlot and Git. Each agent had its own sandbox, and the coordinator received the task but no instructions on how to organize the team. The final branch was frozen at two hours and timed on a separate machine against hidden inputs.
Opus 5.5 and Sonnet 5.5 swarms beat their solo runs every time, by a median of 1.30× at 16 and 32 agents. GPT-6 Astra and GPT-6.1 Sol swarms mostly did no better than working alone. GPT-6.2 Astra was the strongest solo agent tested, yet its swarms got worse as they grew and ended below its solo score on three of four tasks at 32 agents. A model's solo score, Replit writes, was a poor predictor of how its swarm performed.
What separated them was where the coordination lived. Opus sent 82% of its messages to the shared board, mostly in a thread per workload where workers claimed pieces and reported findings, and its coordinators handed out work, waited and merged what came back. Workers on GPT-6 Astra and GPT-6.1 Sol sent about 22 and 20 direct messages each to the coordinator, against 1.4 for Opus workers, so every added worker added load to one coordinator. Where all the work touched the same files, as in Git's 15-file diff library, a large team had little to divide.
