APIRON // Intel
Back to the feed
Hugging FaceAgents

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

The brief

Hugging Face's new blog series, by Ben Burtenshaw and Kashif Rasul, explores how to build, train, and evaluate multi-agent systems. The authors argue that adding agents is not an inherent performance boost, since it changes context, budget, and complexity, and that agents must learn to communicate through training. They cite large claimed swarm results, along with a report of unintended agent coordination, and note that coordinated agents in one vulnerability study found more bugs but also used more tokens.

The first installment reproduces an information-sharing task in which four agents share a small language model and pool integers they each hold. The example runs on Hugging Face Jobs and takes about five hours on two H200 GPUs, costing roughly $50. The series' central question is whether cooperation helps or whether it simply spends more compute.

  • Multi-agent systems are hard to get working, and communication does not automatically outperform a single agent.
  • The authors suggest comparing teams and single agents at an equal token budget to test whether cooperation really helps.
  • The first reproducible example uses four agents sharing one small model on a simple, verifiable number-ordering task, about $50 on two H200s.

Why it mattersMulti-agent setups can multiply costs without improving results, so reproducible, budget-matched experiments help developers decide when a swarm is worth building.

Summary written by AI from the original article. It may miss nuance, so check the source before relying on it.

Continue at Hugging FaceRead the full story