Hugging Face open-sources Legion and publishes field report on scaling swarms to thousands of agents
_lewtun · x · 2026-11-26
Hugging Face released a new blog, "Scaling Swarms to Thousands of Agents," alongside Legion, an open-source framework that runs collaborating agent teams on Harbor tasks. The authors argue the know-how for running huge agent swarms is locked inside a handful of labs, so the post is a fully open field report on problems rarely documented.
Key questions covered:
- How do you even launch thousands of agents?
- What collaboration structures work best?
- Which tools do agents need to be effective?
- What breaks at this scale, and how to fix it?
Legion gives each agent its own container, with message-board tools for sharing findings and shared services; it manages agent sessions, progress and model usage reporting. It runs on a laptop, Hugging Face Jobs, or Slurm, supports HF Inference Providers or any OpenAI-compatible endpoint, and tools are added as Python functions. The project is early-stage with breaking changes expected.
Related event: Hugging Face Open-Sources Lessons from Running a 1000-Agent DeepSeek Swarm(7 posts)→
More from coding & agent
- Gemini 4 Neon builds a playable browser tower defense game, assets via fal — jfischoff · 2026-11-26
- Obsidian ships official connectors letting any AI agent use your local notes as a shared knowledge base — pelayoarbues · 2026-11-26
- Legendary Software Foundations trilogy goes online with AI tutor exercises — burkov · 2026-11-26
- Epochal's Time Portal lets agents browse the past: 1 trillion+ pages crawled in 3 months — Guodzh · 2026-11-26
- pnc-diag-mcp open-sourced: offline ROS bag inspector with MCP server for Claude Code and Cursor — facontidavide · 2026-11-26
- AgenticPPL: Perplexity on 0.3% of tokens ranks agent models where full-trajectory PPL fails — eliebakouch · 2026-11-26