Skip to content

An editorial team and a community building with AI

← All articles

News · Hugging Face · 2 min read

Event date: · Published:

Hugging Face publishes reinforcement learning recipe for multi-agent LLM swarms

Hugging Face's first post in a new series trains four small LLM agents with reinforcement learning to cooperate, raising task success from 6.6 percent to 82.3 percent while cutting token usage by 37.4 percent.

Hugging Face published a blog post on November 26, 2026, the first entry in a planned series on training multi-agent large language model systems. The post, Hugging Face's blog post on training multi-agent swarms, lays out a reproducible recipe for teaching several small LLM agents to cooperate on a shared task using reinforcement learning instead of prompting alone.

The concrete changes

  • Four agents share a single Qwen3-0.6B policy, each keeping its own separate context, and are trained on a verifiable information-pooling task.
  • The task-success rate rose from 6.6 percent to 82.3 percent over 75 training steps.
  • Token usage fell 37.4 percent over the course of training, even as agents exchanged more broadcast messages with each other.
  • Trained coordination was about 13 times more token-efficient than an untrained multi-retry baseline, using roughly 8,000 tokens versus 103,000 tokens for comparable success.

What it means for people building with AI

As multi-agent architectures move from research demos toward production use, the results give developers a cheap, reproducible way to train coordinated teams of small-model agents with reinforcement learning, rather than relying only on prompting to get agents to work together.

Reproducing the experiment

Hugging Face says the full setup can be reproduced on Hugging Face Jobs in about 5 hours using two H200 GPUs, for a total cost of roughly 50 dollars.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Hugging Face publishes reinforcement learning recipe for multi-agent LLM swarms | vibecoding.inc