Replit tested whether agent swarms outperform solo agents on performance engineering tasks. One Claude Opus 5.5 agent made NumPy workloads 3.7× faster in two hours. A swarm of 32 Opus agents reached 18.9× speedup on the same tasks. GPT-6.2 Astra was the strongest solo agent but its swarms performed worse as they grew. Swarms that used a shared board for coordination outperformed those relying on direct messaging. The best swarms divided work by workload or file and shared results publicly. Doubling the team size from 16 to 32 agents revealed coordination bottlenecks in some models. Opus swarms improved as team size increased while GPT-6 Astra swarms degraded. Replit released Optimization-Bench to evaluate agent swarms on open-source libraries. The benchmark includes 14 libraries with tasks like NumPy quantiles and SQLite indexing. Agents must preserve outputs and interfaces while optimizing performance. Evaluation runs on isolated VMs to prevent reward hacking. NumPy’s searchsorted function was optimized to run 8.7–13.1× faster by batching keys.
What changed
Early research showed multi-agent systems often trailed a single agent due to coordination costs.
What it unlocks
Agent swarms can now outperform solo agents on performance engineering tasks when coordination is optimized.
- 3.7× speedup with 1 Claude Opus 5.5 agent on NumPy
- 18.9× speedup with 32 Opus agents on NumPy
- 8.7–13.1× faster NumPy searchsorted after optimization
- 82% of Opus 5.5 messages sent to the board
What you need to act on it
- access to Replit Agent swarm infrastructure
- frontier models like Claude Opus 5.5 or GPT-6.2 Astra
- performance engineering tasks with independent workloads
Sources