Hugging Face launches series on building and training multi‑agent swarms
The new blog series demonstrates how to create small agent swarms, featuring a four‑agent experiment that quickly learns to communicate.
Original source published: November 26, 2026
Hugging Face has started an educational blog series aimed at readers who want to build their own multi‑agent swarms. Each post provides reproducible examples that can be run on Hugging Face Jobs; the first example runs for about five hours on two H200 GPUs and costs roughly $50. The series explores how agents can be trained to communicate, using a simple information‑sharing task with four agents that share a Qwen3‑0.6B language model.
In the initial experiment, the four agents receive private integers and must collectively output the sorted list. Over 75 training updates, success rose from 6.6 % to 82.3 %, and on held‑out problems the team solved 81.25 % of cases. Token consumption fell 37.4 % (from ~13 k to ~8 k tokens per team) while broadcasts increased from 2.38 to 5.73 per team, showing more efficient communication as training progressed.