Field noteNov 26, 20263 min read1 source

Swarms, Flocks, Gangs: How to build, train, and evaluate multi-agent systems

In one minute

Hugging Face describes a reproduction of the information-sharing task from Simple Scaling of Swarms: four agents using one shared Qwen3-0.6B policy solved 26 of 32 held-out problems at checkpoint 75, or 81.25% (huggingface.co).

What changed: A hands-on training series frames swarm communication as a learned skill, and tests whether training a team can outperform simply giving agents more retries.

What happened

Each agent receives a private integer from 1 to 99 and does not initially know its teammates’ values. The team succeeds if at least one agent submits the complete sorted list, including duplicates. Agents can message one another directly or broadcast, inspect inboxes and check for unread messages; the prompt explains the task and tools, including the need to share assignments.

A successful team’s reward falls with its generated-token use, while a failed team gets zero; there is no separate reward for messaging. Each team has a 36,864-token allowance. For each problem, researchers collect eight independent team attempts and normalize their rewards within that group; all agents receive the team’s advantage, even if an agent’s answer was wrong. TRL averages loss within each team and then across teams, so longer conversations do not count more. The original experiment used 256 team attempts per update—32 problems with eight attempts each. Token counts include reasoning and tool calls, not just message bodies.

Across 75 training steps, success averaged over the first five updates rose from 6.6% to 82.3% over the last five. At checkpoint 75, the team solved 26 of 32 held-out problems (81.25%). Training teams’ mean generated tokens fell from 12,826.9 in updates 1–5 to 8,026.0 in updates 71–75, a reported reduction of 37.4%; mean broadcasts rose from 2.38 to 5.73 per team.

Hugging Face also cites the original *Simple Scaling of Swarms* paper’s 93.2% four-agent success after 200 updates.

What the archive adds

This reproduction returns to the s³ study’s learned swarm coordination, following earlier coverage of shared-policy collective rewards and coordination training (earlier New Runtime note, earlier New Runtime note).

Why it matters

For builders, read this as a demonstration that a small shared policy can learn to exchange information when the task requires it—not as evidence that adding communication improves efficiency. Since one agent or a no-message team cannot solve this setup even with retries, it cannot compare communication against independent attempts. The authors say a later post will use a task a single agent can solve, allowing a matched-budget test.

Limits and uncertainty

The reported token reduction is for training teams; the researchers did not retain held-out token-efficiency measurements for the trained checkpoint. The task has no viable single-agent or non-messaging baseline, and does not compare communicating with independent agents at matched budgets. The walkthrough uses TRL’s default --teams-per-update 128, which the authors say yields about 150 team attempts per update, rather than the original experiment’s 256; its estimated run is about five hours on two H200s and roughly $50.

Reader takeaway

Four agents using one shared Qwen3-0.6B policy solved 26 of 32 held-out information-sharing problems. That is evidence the policy can learn coordination; it is not evidence that a communicating swarm is more efficient than independent agents, because the task makes communication necessary and the comparison was not tested at matched budgets.

Open question

On a task one agent can solve, does communication improve success or token efficiency when both approaches receive the same budget? The authors say that comparison is planned for a later post.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1huggingface.co/blog/training-swarms
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicMulti AgentExplore the multi-agent topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract