Engineers debate whether parallel search can scale agent swarms
Engineers describe parallel search and isolated contexts as possible gains from agent swarms. The debate weighs coordination costs against techniques such as enforced diversity and fork-and-flush execution.

TL;DR
- Parallel search can preserve speed gains even when cost grows superlinearly, pirroh argued.
- Teamwork has a tougher baseline than one agent: rohanpaul_ai's summary reports that tested shared-question protocols failed to beat independent voting at matched token budgets.
- Swarm runtimes already have consequential lifecycle rules: aibuilderclub_'s walkthrough describes token-free waiting, while teortaxesTex reported workers stranded after a quota interruption.
Antigravity's documentation says a killed worker cannot be revived. In a Hugging Face experiment, four agents sharing one 0.6B model had to exchange private integers before any could produce a complete answer.
Parallel search
Running independent solutions to the same problem can preserve speed gains despite superlinear cost, according to pirroh's reply. Vtrivedy10 described three ways harnesses currently encourage diversity during that search:
- Detailed prompts specifying how agents collaborate and what they explore.
- Code-enforced separation between subgroups, with designated mixing periods.
- Fork-and-flush strategies.
Vtrivedy10 expects effective coordination behaviors eventually to move into model training. Search diversity is a more compelling scaling target than raw agent headcount.
Isolated contexts
Even a single fork goes through /swarm in jeremyphoward's account of Antigravity, keeping its work out of the parent context. Calling one subagent a swarm stretches the term, zeeg argued.
Separate working memory is also one of the benefits identified by jerryjliu0, alongside parallel search. That benefit depends on handoffs: nptacek reported that a lead agent repeatedly drove subagents to their context limits, producing half-finished work that contaminated the project.
Shared boards and VM workers
Antigravity documents six coordination components in its Swarm guide:
- Coordinator: partitions work and judges results rather than doing the technical work itself.
- Workers: start with clean contexts and public briefs defining ownership, boundaries and completion criteria.
- Board: carries assignments, questions, diff summaries and test results through mentions.
- Verifier: reviews diffs and runs tests, usually one per two to four workers.
- Sleep and wake: idle members consume no tokens and wake when mentioned.
- Monitor: intervenes when everyone has gone quiet before completion.
Context isolation and workspace isolation are separate settings: workers share the workspace by default, with individual working copies available. Replit maps every swarm worker to an individual VM, according to pirroh's description of its orchestration primitives.
Hierarchical memory
Custom agent teams can carry persistent organizational structure. In omarsar0's implementation, chief-of-staff and chief-research-officer roles manage specialized workstreams, with explicit permissions and event and schedule tracking.
- Memory: higher-level teams have dedicated stores and an orchestrator with visibility across them, according to his follow-up.
- Coordination: workstreams usually operate separately; a chief-of-staff agent handles cross-role dependencies and disagreements, as he explained.
Token budgets and quota recovery
One world-building swarm had consumed nearly 250 million tokens after more than 12 hours, with design and interaction still underway. Its operator, omarsar0, described tokens as “going fast” in a follow-up.
Quota exhaustion creates a different problem from ordinary waiting. Antigravity's documented behavior pauses an exhausted member without automatically restarting it when quota refreshes; a new board post, model switch or message can trigger continuation.
In one interrupted workflow, teortaxesTex reported that the coordinator launched six new “resume” subagents instead of waking the originals.
Equal-budget comparisons
The authors of Recursive Collective Intelligence define three comparison levels in the paper linked by rohanpaul_ai:
- Single agent: does the team outperform one member?
- Matched-budget majority vote: does interaction beat independent answers funded with the same token budget?
- Matched-budget pass@n: does the team beat a baseline that counts a problem as solved whenever any independent attempt is correct?
Their budget accounting uses completion-token counts, rather than end-to-end latency. Pass@n represents an ideal selector among independent answers, making it a stronger comparison than majority voting.
Across six shared-question benchmarks, the tested multi-agent protocols failed to beat matched-budget voting. When agents held different facts, forwarding those facts let groups exceed pass@n at three model scales.
Training a shared communication policy
Four agents shared one Qwen3-0.6B policy in Ben Burtenshaw and Kashif Rasul's experiment. Each received a private integer; the team succeeded when any member submitted the complete sorted list, and its shared reward discounted generated-token consumption.
After 75 updates:
- Training success: 6.6% → 82.3%, comparing the first and last five updates.
- Generated tokens per team: 12,826.9 → 8,026.0, a 37.4% reduction across those windows.
- Held-out success at checkpoint 75: 26 of 32 problems, or 81.25%.
Burtenshaw described this as an interpretable starting task. A solo agent cannot recover the other private inputs, so the setup does not answer whether a communicating team beats a solo solver at equal budget.
The authors also distinguish the efficiency result from the held-out score: the token reduction was measured during training, and held-out token-efficiency measurements were not retained.