Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 13 min read How-to hardMaster

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

Four agents sharing one Qwen3-0.6B policy learn to pool private numbers and submit a sorted list, trained with GRPO-style group-normalized team rewards that penalize token use. Over 75 updates, training success rose from 6.6% to 82.3% (81.25% on held-out problems) while generated tokens per team fell 37.4%, with broadcasts replacing direct messages. The trained team beat an untrained best-of-8 baseline (37.5%) at about 1/13 the tokens. The post frames multi-agent systems as a Dec-POMDP with credit-assignment and non-stationarity problems, argues swarms must be compared at matched compute budgets, and gives a reproducible TRL plus vLLM script for Hugging Face Jobs on two H200s (about $50).

Related posts

  • DaisyRose-27B: Pushing the Frontier of Post-Training Efficiency

    Hugging Face hardMaster

    DaisyRose-27B is an RL post-trained version of Qwen3.8-27B, trained with the Miles framework on about 1,200 curated long-horizon agent tasks over 18 days on 144 H200s. It raises Terminal-Bench 4.1 pass@1 from 5.6% to 12.0% and improves every other reported benchmark, including SWE and reasoning suites. Fully asynchronous training split the GPUs into 128 for agent rollouts and 16 for the trainer. The internal backend reached 37% MFU versus 16% for the open-source Megatron-based trainer, cutting GPU time by 57% and doubling end-to-end throughput. A sandbox service built on AgentENV ran about 944K sandboxes at above 99.95% success, and memory allocation that grows and shrinks with usage cut costs about 80% versus commercial sandbox providers.

  • Together AI at ICML 2026: frontier research across the full stack

    Together AI hardMaster

    Together AI's nine ICML 2026 papers span the AI stack from agents to GPU kernels, each with a headline result. ThunderAgent makes multi-turn agent workflows visible to the inference scheduler for 1.5–3.6x throughput. Aurora trains speculative-decoding drafters online via asynchronous RL on accepted/rejected tokens, gaining 1.25x over a static speculator. Untied Ulysses chunks attention by head to fit 5M-token training on one 8xH100 node, and OEA recovers MoE sparsity under batching for up to 39% faster decode without retraining. The rest cover verifier-free reasoning (RARO), pairwise self-verification (V1), test-time RL for discovery (TTT-Discover), a data-science agent benchmark (DSGym), and a multi-GPU kernel generation benchmark where the best frontier model solves fewer than a third of 87 tasks.

  • Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox

    Hugging Face hardMaster

    Executable checks on terminal database state, originally built to grade agents in ThinkingBox-Bench, double as binary RL rewards for post-training tool-using agents. Fine-tuning Qwen3.8-27B with token-mean GRPO for 50 steps on 187 out-of-distribution tasks raised pass@1 from 51.70% to 60.78% and tasks solved on all 20 attempts from 38 to 107, while pass@20 coverage dipped slightly, consistent with sharpening. The key lever is offline policy-relative difficulty: candidate tasks are probed against the base policy, a Jeffreys Beta posterior estimates success probability, and only tasks likely to yield mixed reward groups (non-zero GRPO advantage) are kept. Cost per dependable task fell from $24.36 to $8.00, approaching frontier models.

  • Introducing ⚔️ AI vs. AI ⚔️ a deep reinforcement learning multi-agents competition system

    Hugging Face mediumAdept

    AI vs. AI is an open-source system hosted on Hugging Face Spaces that ranks multi-agent reinforcement learning models by having them play each other continuously and computing ELO ratings from the results. Its matchmaking loop takes all models from the Hub, starting new ones at 1200, and repeatedly pairs the head of a queue with a random model among the n closest-rated. It simulates each match in the environment (e.g. a Unity executable), stores results in Hub Datasets, and applies symmetric ELO updates so the mean rating stays constant. The ratings are relative, not objective, but become representative with a large, varied pool. The first deployment is the SoccerTwos challenge from the Deep RL Course, and the design is environment-agnostic.

  • AutoSynthData: Generating Training Data for Enterprise Agents

    Hugging Face hardMaster

    AutoSynthData is ServiceNow's pipeline for generating synthetic agentic training tasks, each a system specification, user prompt and verifier, targeted at a model's capability gaps. Failures of the target model and successes of a stronger teacher are distilled into sanitized capability cards. New tasks are generated in parallel 'target' and 'multiply' phases and kept only when the target model solves at most 1 of 3 trials and the teacher at least 2 of 3. Every candidate must pass positive verification (the reference trajectory succeeds), negative verification (mutated outcomes fail) and bounded critic-guided repair, with batch-level meta-review steering coverage. On EnterpriseOps Gym, SFT of Gemma-4-26B-A4B on 2,000 generated samples raised Hybrid Pass@1 by 7.2 points (35% relative) and lifted ITSM Pass@1 from 18.77% to 27.18%.

The quest for software engineering knowledge.

Look:
Layout: