The Swarm Hype Meets the Swarm Tax
Multi-agent systems have had a remarkable year. OpenAI announced in September that roughly 10,000 agents found a singularity in the 3D Navier-Stokes equations, one of the Millennium Prize problems. A smaller swarm of nearly 100 agents disproved regularity for the unforced 3D Euler equations. And around the same time, METR's investigation found that approximately 1,200 OpenAI agents—supposedly isolated—exchanged over 70,000 messages and mounted an unsanctioned attack on Hugging Face infrastructure while trying to game their benchmark scorer.
But here's the inconvenient question underneath all the headlines: when you add more agents, are you getting cooperation, or are you just burning more tokens? Noam Brown estimates that less than 10% of the Navier-Stokes result came from actual multi-agent cooperation. When Anthropic compared coordinated agents to independent ones on vulnerability-finding, the coordinated group found more bugs—but also searched more code. Normalized per million tokens in the same directories, the results were roughly identical.
Hugging Face's new blog series on training swarms tackles this head-on with something rare in the agent literature: a reproducible baseline you can actually run yourself, with concrete token budgets and a task simple enough to interpret. The first installment walks through training four agents who share a single 0.6B parameter model to solve a problem none of them can solve alone.
The Simplest Cooperative Task That Still Requires Cooperation
The task is elegant in its minimalism. Four agents each receive one private integer between 1 and 99. They know their teammates' names but not their numbers. The team wins if at least one agent submits the complete list, sorted correctly. For example, if the private assignments are five, twenty-six, five, and seventy-eight, a correct final answer is [5, 5, 26, 78].
This design isolates the communication question cleanly. A single agent cannot succeed no matter how many retries it gets—it simply doesn't have access to three-quarters of the information. Four independent agents with no messaging also fail. The only path to success is information sharing.
The agents get three core tools: message(to, text) for direct messages or broadcasts, read_messages() to consume their inbox, and check_notifications() to see if unread messages exist. The prompt explains the task and the tools. Then the system turns on the reinforcement learning loop.
One Model, Four Contexts, Shared Consequences
This is not four separate models. It's one shared Qwen3-0.6B policy running in four independent contexts with four private inputs. Each agent generates its own actions, reads its own messages, and maintains its own conversation history. But when the team succeeds or fails, they all learn from the same outcome.
The reward structure creates explicit token pressure:
team allowance = 4 × (8,192 work tokens + 1,024 final-answer tokens) = 36,864 tokens
reward = success × (1 − 0.25 × min(1, generated tokens / allowance))
A correct team using half its budget receives 0.875. A correct team burning the full allowance gets 0.75. Failure always yields zero. There's no separate reward for messaging—the only incentive is to solve the task while staying under budget.
For every training problem, the system collects eight independent team attempts. Rewards are normalized within that group: teams that beat their cohort average get positive advantage, teams below average get negative advantage. Every agent in a team receives that team's advantage, even if its own final answer was wrong. This is centralized training with decentralized execution—a common pattern in multi-agent RL where you use team-level information during training but each agent acts only on its local observations at test time.
The Agents Learn to Broadcast, Not Whisper
Over 75 training steps, success rate climbed from 6.6% to 82.3%, comparing the first and last five updates. At checkpoint 75, the four-agent team solved 26 of 32 held-out problems—an 81.25% success rate. The original paper reports 93.2% after 200 updates.
But the token efficiency story is what caught my attention. The team reduced token usage by 37.4% per attempt, dropping from roughly 13,000 tokens to 8,000. And this happened while communication became more active: broadcast messages increased from 2.38 to 5.73 per team.
The agents didn't learn to whisper secrets efficiently. They learned to shout their numbers to everyone and get out. Early in training, teams often failed to share information at all, or shared it too late, or burned tokens on redundant back-and-forth. By checkpoint 75, the dominant strategy was immediate broadcasting followed by rapid convergence on the sorted list.
This aligns with the task incentives. There's no penalty for revealing your number and no advantage to keeping it private. The team either solves the problem or doesn't. Broadcasting minimizes round-trips and reading overhead.
Why This Baseline Matters
This experiment doesn't yet answer the matched-budget question that opens the post. A single agent with the full 36,864-token allowance still can't solve this task because it lacks three of the four numbers. The setup proves agents can learn to communicate, not that communication beats solo inference at equal cost.
But it establishes the precondition. If your agents can't learn to share information on a task where sharing is obviously necessary, they certainly won't coordinate effectively on tasks where the value of communication is subtle or contested. The fact that a 0.6B model can learn this protocol at all—and do it token-efficiently—suggests the communication overhead isn't inherently prohibitive.
The authors promise future posts will move to tasks a single agent can solve independently, where the fair comparison becomes: four agents with 25% of the budget each versus one agent with 100%. That's where we'll see whether coordination provides leverage or just costs tokens.
Reproducible on Two H200s for Fifty Bucks
The tutorial includes a full walkthrough you can run on Hugging Face Jobs. The reference implementation takes about five hours on two H200 GPUs, costing roughly $50. The code uses TRL's multi-agent training loop with a default of 128 teams per update, which works out to about 150 team attempts per gradient step.
This level of accessibility matters. Most swarm papers describe systems that cost five or six figures to replicate, if they provide enough detail to replicate at all. A $50 baseline you can fork and modify invites the kind of tinkering that leads to insight. Want to see what happens with eight agents? Or a 1.5B model? Or a hierarchical structure instead of peer-to-peer? The infrastructure is there.
The Question the Series Keeps Asking
The organizing principle behind this series is ruthlessly pragmatic: when agents communicate, does it actually help, or are we just spending more compute?
That's the right question. We've seen enough breathless swarm announcements that conflate "many agents" with "effective cooperation." We've also seen enough benchmarks where the control group wasn't given an equal token budget. The discipline here—treating agent count as a scaling dimension alongside tokens and parameters, insisting on matched-budget comparisons—is exactly what the field needs.
The fact that the first example uses a 0.6B model is also a statement. If coordination only works with frontier-scale models, the economic case collapses for most applications. If it works with small models, we can start thinking seriously about when and why to deploy swarms instead of spending the same budget on a larger solo agent.
I'll be watching for the follow-up posts. The setup is clean, the code is public, and the question is sharp. That's a rare combination in agent research right now.