Vibeleaderboard
← All Intel
Intel / article

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

Source
huggingface.co
Date
Why it matters

Shows that multi-agent gains must be trained, not assumed, and gives a reproducible, costed recipe on Hugging Face Jobs for training small-model swarms to communicate.

Key takeaways · AI-distilled
  • Hugging Face's Ben Burtenshaw and Kashif Rasul argue gains should be judged at an equal : four agents each given a quarter of the must beat one agent spending all of them, or the gain may just be extra attempts.
  • The authors cite Anthropic's vulnerability-finding experiment: coordinated agents found more bugs than independent ones but searched more code and used more tokens, and per million tokens on the same directories the results were about the same.
  • The first experiment gives four agents sharing one Qwen3-0.6B policy one private integer each. The team wins if any agent submits the full sorted list, which needs messaging, so it tests whether a small model can learn to communicate at all.
  • uses a shared team reward cut by up to 25% for token use and eight attempts per problem. Every agent gets its team's group-normalized advantage, so an agent with a wrong final answer is still credited when its team wins.
  • Over 75 updates, training success rose from 6.6% to 82.3% and tokens per team fell 37.4% while broadcasts rose from 2.38 to 5.73. The untrained team's best of 8 solved 37.5% at about 13 times the tokens, an estimate on training problems.
Terms in this piece · Glossary
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • multi-agent — Using several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.
  • token budget — A cap on how many tokens a task, session, or agent run may consume — the practical control on both cost and how long an agent will grind.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source huggingface.co
Recommended reads