AI NewsProductivityAnnouncement
Hugging Face trained four 0.6B agents to sort numbers for 50 dollars
Hugging Face trained four small agents that share a policy. The team hit an 82 percent success rate using 13 times fewer tokens than the untrained team.

Image: Hugging Face
Why it mattersRunning many agents in parallel costs more tokens than running one. The Hugging Face run shows the cost can go the other way if the agents learn to talk.
A team running several AI agents on one task has a cost problem before it has a quality problem. Each extra agent is another context, another set of tokens, another chance to get in the way. Hugging Face has published a training run that measures when the extra agents pay off, with a dollar figure attached.
Ben Burtenshaw, Kashif Rasul and a dozen more at Hugging Face wrote the walkthrough. The team reproduced a task from the paper "s3: Simple Scaling of Swarms via Cooperative Multi-agent RL". The setup is small. Four agents each get a private number between 1 and 99. They have to talk to each other, discover every number and return a sorted list. Any one agent may submit the final list. The whole team shares one Qwen3-0.6B policy with separate contexts.
What the numbers show
The team ran 75 training updates on two H200 GPUs. On updates 1 to 5, before the policy learned to talk, the success rate was 6.56 percent. On updates 71 to 75, the success rate was 82.34 percent. The number of messages each team sent rose from 3.48 to 6.28. Broadcasts rose from 2.38 to 5.73. Generated tokens per team fell from 12,827 to 8,026.
The headline figure is in the cost comparison. An untrained team of four agents got eight tries at each problem. It reached 37.5 percent success and used about 103,000 tokens. The trained team, on one try, reached 82.3 percent and used about 8,000 tokens. Hugging Face reports that is 2.2 times better and 13 times fewer tokens, for the same model.
The training itself cost about 50 dollars. The original experiment ran for five hours on two H200s. The published walkthrough runs on Hugging Face Jobs with one hf jobs run command. It takes about 4.8 hours on two H100s.
What the reward does
The result rests on one piece of the setup. The reward is a single number for the team, not for each agent. The team gets credit if any agent submits the correct sorted list. The reward is then shrunk by how many tokens the team used. The formula is success times (1 minus 0.25 times min(1, generated_tokens over 36,864)). A correct answer in 36,864 tokens scores 0.75. A correct answer in zero tokens scores 1. A wrong answer scores zero at any token count. The agents learn to say less and still get the answer across.
The post opens with the question of whether agent communication helps or is only extra compute. Without training, extra agents are extra compute with no payoff. With this reward on a shared policy, extra agents pay off at a measurable rate.
What a reader can do with it
A team running a multi-agent setup in production can read this two ways. The first is the reward. The reward shapes what the agents learn to do together. A reward that credits each agent on its own keeps them silent and over-thinking. A team reward pulled down by token use teaches them to talk cheaply.
The second is the cost. Fifty dollars is a price a working AI team can spend to test this on its own task. The code is on Hugging Face under an open licence, with every hyperparameter named. A later post in the series will compare communicating and silent agents at matched budgets.
Source
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


