iCreatAI News
Skip to content
Hugging Face Blog·· 14 hr agoFeaturedAI score60

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

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

AI summary

This Hugging Face blog post introduces a series on multi-agent swarms, arguing that communication between agents is not an inherent performance boost and must be learned through training, with fair comparisons made at matched token budgets. It reproduces an information-sharing task from the s³ paper in which four agents sharing one Qwen3-0.6B policy each receive a private integer and must collectively submit the sorted list, trained with a team reward and eight attempts per problem; over 75 updates training success rose from 6.6% to 82.3% while generated tokens per team fell 37.4%. A walkthrough script runs the TRL example on Hugging Face Jobs with two H200s, and the post notes TRL's own run reached 60.9% held-out success at checkpoint 50 on two H100s in about 4.8 hours.

Why it matters

It offers a reproducible, budget-aware template for training and evaluating small-model agent swarms, including concrete scripts and measured token costs.

Source: Hugging Face Blog · huggingface.co