Swarms, Flocks, Gangs: How to build, train, and evaluate multi-agent systems
Summary of an article by Hugging Face blog — AI Made
This Hugging Face post opens a series on building and training multi-agent language model systems, starting from the question of whether agent communication actually helps or just spends more compute. The authors note that large swarms are not proof that cooperation worked. They cite cases where the extra results came mainly from more tokens or more attempts. They propose treating agent count as a scaling dimension next to tokens and model size, and comparing systems at an equal budget.
The first example uses four agents that share one small Qwen3-0.6B policy, each with its own context. Every agent holds a private integer from 1 to 99. The team succeeds if at least one agent submits the full sorted list, so the agents must exchange information through messaging tools. A successful team earns a reward reduced by the tokens it spends, and a failed team earns zero. Eight attempts per problem are scored against each other, and every agent in a team shares that team's advantage.
Over 75 updates, training success rose from 6.6% to 82.3%. The team solved 26 of 32 held-out problems. Token use per attempt fell by 37.4%, from about 13k to 8k. The run takes about five hours on two H200s, at roughly $50.
Publishers: to have your site removed from our sources, write to info@weare1801.com.
Read the original at Hugging Face blog →