The whole dayThu 26 Nov 2026
AI Compass
WeeklyArchiveAbout

Hugging Face publishes TRL recipe to train four-agent Qwen3 swarms

Reproducible cooperative RL guide on Hugging Face Jobs lifts four-agent Qwen3-0.6B success from 6.6% to 82.3% while cutting team tokens 37.4%.

Official Hugging Face banner titled Swarms, Flocks, Gangs for the cooperative multi-agent RL series
Image: Hugging Face

Hugging Face launched a technical blog series and open TRL training recipe on 26 November 2026 explaining how to train and audit cooperative multi-agent reinforcement learning swarms using small open weights, building on its recent RL post-training guides including Qwen3.8-27B harness adapters. Part 1 reproduces the distributed information-aggregation task from Simple Scaling of Swarms, where four Qwen3-0.6B agents share one policy, hold private integers, and coordinate via message, read_messages, and check_notifications tools to output a sorted list.

Official Hugging Face schematic showing four Qwen3-0.6B agents sharing one policy, exchanging messages, and updating via centralised GRPO team reward
Four Qwen3-0.6B agents share one trainable policy and update from a single team-level GRPO advantage across eight attempts per problem.Image: Hugging Face

Centralised GRPO team rewards and token efficiency

Using centralised GRPO-style group advantage across eight team attempts per problem, every agent in a team receives the identical token-penalised team advantage, incentivising useful communication without handcrafted per-message rewards. Across 75 updates (256 team attempts per update on one trainer H200 and seven vLLM rollout H200s), training success climbed from 6.6% to 82.3%, held-out accuracy hit 81.25% (26 of 32 problems), and generated tokens per team fell 37.4% from roughly 13k to 8k as broadcasts rose from 2.38 to 5.73.

For smaller budgets, Hugging Face published a two-GPU TRL script (async_grpo_s3_aggregation.py) for Hugging Face Jobs that runs 50 updates in 4.8 hours on two H100s (roughly $50 on two H200s), achieving 60.9% held-out success across 192 problems.

Technical details

Shared base policy
Qwen3-0.6B across four logical agents per team (1,024-problem pool)
Recorded 8-GPU run
75 updates (256 teams/update) on 1 trainer H200 + 7 vLLM rollout H200s
Accessible 2-GPU job
TRL async_grpo_s3_aggregation.py (50 updates, ~4.8 h on 2 H100s, ~$50 on 2 H200s)
Communication tools
message, read_messages, and check_notifications with Trackio logging

Release details & context

Trained teams versus untrained retries at equal budget

Hugging Face’s analysis stresses measuring multi-agent gains against matched compute rather than raw attempt counts. In early updates (1 to 5), taking the best of eight untrained team attempts solved fewer than half the problems while burning roughly 103,000 generated tokens per problem, roughly 13 times the token budget of a single attempt from the trained checkpoint (7,624 mean tokens at batch 75).

The companion Hugging Face Jobs workflow pairs GPU 0 running vLLM rollouts with GPU 1 executing TRL training, logging team/success, team/messages, and team/tokens to Trackio and exporting base.jsonl, trained.jsonl, and checkpoint-50 weights directly into a Hub Storage Bucket.

Common questions

How much does the two-GPU Hugging Face TRL swarm walkthrough cost to run?

Running 50 updates of async_grpo_s3_aggregation.py takes roughly 4.8 hours on two H100 GPUs, or about $50 on two H200 GPUs via Hugging Face Jobs.

Why did token usage drop while message broadcasts increased during swarm training?

Because the shared GRPO team reward penalised excess token generation, agents replaced verbose private chains of thought and direct back-and-forth with concise broadcasts.

Sources

  1. PrimaryHugging Face Blog: Swarms, Flocks, Gangs (Part 1)huggingface.co/blog

Hugging Face release timeline (6 launches tracked)

  1. Earlier5 Nov 2026
    Hugging Face publishes open-source Mixture-of-Experts training guide based on 800k GPU hours

    Hugging Face published The Ultimate MoE Training Handbook, a 70k-word open guide with 55 interactive figures distilling 800k GPU hours of MoE experiments.

  2. Earlier16 Nov 2026
    Hugging Face routes Hub open-model inference through OpenRouter

    Hugging Face switches Hub chat-model Inference Providers to OpenRouter across 80+ hosts with automatic failover, zero markup and Bucket traces.

  3. Earlier17 Nov 2026
    Hugging Face releases Qwen3.8-27B-pi-adapted RL LoRA harness adapter

    Hugging Face’s harness-hub releases open-weight Qwen3.8-27B-pi-adapted, doubling SWE-bench Pro Hard 51 pass@1 to 62.7% with 55% to 62% fewer tool calls.

  4. Earlier25 Nov 2026
    Hugging Face launches Nightwatch security agent for Enterprise Hub

    Hugging Face releases Nightwatch, an automated security agent add-on for Enterprise Hub organisations built after the July 2026 agent swarm incident.

Explore the full Hugging Face dossier or browse all open source releases.

Also in the Thursday 26 November edition

Read all 12 launches on one page
  1. 01
  2. 02
  3. 03
  4. 04
  5. 05
  6. 06
  7. 07
  8. 08
  9. 10
  10. 11
  11. 12

Spotted an error? Email aicompass@ashutoshai.com or tag @ai_for_success on X

Daily & Weekly Briefing

Get the 5-minute AI briefing

Every confirmed AI launch from primary sources, in your inbox between 9:30 and 10:30 AM IST.

1-click unsubscribe · Privacy

! Please enter a valid email address (for example, you@domain.com).

Morning Edition Alerts

Get a 1-click alert at 9:30 AM IST

One quiet browser alert when each daily or Sunday Weekly edition goes live between 9:30 and 10:30 AM IST. No email required. Privacy