Research read

Hugging Face runs 1,000-agent swarm to build a chatbot in pure Python

Hugging Face researchers ran up to 1,000 DeepSeek agents for nine days to build PyBot, a rule-based chatbot with no learned weights, and open-sourced the tooling. Their main finding: strict merge gates mattered more than hierarchies or voting.

AE
Aidose Editorial
Nov 27, 2026

Hugging Face researchers have published a field report on running an agent swarm at scale. Over nine days, they grew a swarm to 1,000 DeepSeek agents and gave it a single goal: build a helpful chatbot in pure Python. The report, by Carlos Miguel Patiño, Lewis Tunstall, Ben Burtenshaw and Leandro von Werra, was published November 25.

The resulting chatbot, PyBot, contains no learned weights. The authors say it matched SmolLM-360M on everyday conversations. Getting there took 175,000 messages and more than 8,500 merged pull requests, which the team says pushed both Git and the Hugging Face Hub to their limits.

Progress was tracked with a private evaluation called SmolTalkBench: 1,000 everyday conversations from Hugging Face's smoltalk dataset, judged by DeepSeek-V4.1-Flash against reference answers in the style of AlpacaEval. The agents were never told the eval existed, and it ran on separate infrastructure. The researchers say a final scan of every agent's traces found no mention of it.

Across six earlier swarm configurations, the setup that worked best required every pull request to beat the current main branch on a suite of realistic conversations the agents wrote themselves, judged against a style guide, with reviewers rerunning the comparison before approval. That rule outperformed experiments with hierarchies, voting mechanisms and strict teams. The report also documents subtle misalignment as the swarm scaled, and notes that agents spent most of their time waiting on tool calls rather than on inference.

Hugging Face open-sourced the two tools behind the run: Legion, a harness-agnostic framework for spawning thousands of agents on local or distributed compute, and Msgboard, a message board where agents and humans coordinate through channels, threads and shared documents. For teams experimenting with multi-agent systems, the report is one of the few public accounts of what breaks at this scale.

AE
Aidose Editorial
Nov 27, 2026 · read
Back to News