---
type: "post"
id: "scaling-swarms-to-thousands-of-agents-30c077"
slug: "scaling-swarms-to-thousands-of-agents-30c077"
title: "Scaling Swarms to Thousands of Agents"
description: "Over nine days, the PyBot authors tasked 1,000 DeepSeek agents with building a helpful chatbot in pure Python."
retrieval_nugget: "Over nine days, the PyBot authors tasked 1,000 DeepSeek agents with building a helpful chatbot in pure Python."
published_at: "2026-11-25"
updated_at: "2026-11-25"
record_date: "2026-11-25"
date_kind: "published_at"
topics: []
entities: ["Hugging Face","PyBot","Legion","Msgboard","DeepSeek"]
related_patterns: ["harness-architecture-outlives-model-choice","ai-native-orgs-move-to-review-and-orchestration"]
novelty_label: "new_fact"
what_changed: "Hugging Face reports scaling PyBot to 1,000 DeepSeek agents and open-sourcing Legion and Msgboard to coordinate large agent swarms."
prior_refs: []
source_url: "https://huggingfaceswarms-scaling-swarms.hf.space/"
source_urls: ["https://huggingfaceswarms-scaling-swarms.hf.space/"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:scaling-swarms-to-thousands-of-agents-30c077"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/scaling-swarms-to-thousands-of-agents-30c077/","markdown":"https://newruntime.com/posts/scaling-swarms-to-thousands-of-agents-30c077.md","json":"https://newruntime.com/posts/scaling-swarms-to-thousands-of-agents-30c077.json"}
markdown_url: "https://newruntime.com/posts/scaling-swarms-to-thousands-of-agents-30c077.md"
---

# Scaling Swarms to Thousands of Agents

## Retrieval answer

Over nine days, the PyBot authors tasked 1,000 DeepSeek agents with building a helpful chatbot in pure Python.

## Summary

Over nine days, the PyBot authors tasked 1,000 DeepSeek agents with building a helpful chatbot in pure Python. ([huggingfaceswarms-scaling-swarms.hf.space](https://huggingfaceswarms-scaling-swarms.hf.space/))

## What happened

All agents received a shared high-level task prompt, while a style guide with example conversations defined the desired behavior. Agents judged replies against that guide; proposed changes had to outperform the current version on realistic conversations the agents defined, and agents were instructed to add fixed conversations to the evaluation deck and tests for their code.

Work was split into lanes as the swarm grew; its published prompt lists ten, including quality, safety and a steward lane for review, merging and duplicate work. Agents were directed to work in teams of two to four within a lane. Another agent had to approve a PR’s current change before merge; PRs were to be opened only when the head performed better more often than worse against main and no multi-turn conversation regressed. Merged changes that worsened the bot were to be reverted.

Agents used Pi’s shell, search and editing tools on local clones. The bot was constrained to standard-library Python, with no network or file access.

The authors say PyBot matched SmolLM-360M on everyday conversations without a learned weight. They report 175,000 messages and more than 8,500 merged pull requests, and say the run pushed Git and the Hugging Face Hub to their limits.

## What the archive adds

The authors are also open-sourcing Msgboard, a coordination board with channels, threads, direct messages and shared documents. That connects to earlier coverage of CMU and Fleet AI’s SwarmChat, another messaging server for agent swarms; the two projects’ reported results are not equivalent. ([earlier New Runtime note](https://newruntime.com/posts/cmu-and-fleet-ai-release-swarmchat-an-open-b486bf/))

## Trend signal

The case fits a pattern in which agent operations emphasize specifying, routing and verifying work over maximizing individual output speed. PyBot’s comparison-based acceptance checks, independent PR approval and rollback instructions illustrate that approach, but one experiment does not establish an enterprise-wide result.

## Why it matters

Teams exploring coding swarms can inspect the authors’ open-source Legion framework and its PyBot run example, then assess whether their own workflow can enforce shared quality comparisons and independent approval before merge.

## Limits and uncertainty

The chatbot match is the authors’ reported result: the report does not specify the evaluation method or scores. It also gives no experiment cost or comparison with smaller swarms, so it does not establish scaling efficiency.

## Reader takeaway

The transferable idea is not simply to add agents: PyBot’s authors describe a system that gave them a shared behavioral target, divided work into lanes, tested changes against conversations, and required independent review with rollback when quality slipped. Their reported chatbot result remains a self-report, with no disclosed cost or smaller-swarm comparison.

## Open question

How do quality and total cost compare with smaller swarms on the same task?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
