跳到正文
数字商店
原文
Thomas Wolf· @Thom_Wolf · X·· 14 天前精选AI 评分76
AI 导读

团队通过让 1000 个 DeepSeek V4.1 Flash 智能体协同编写规则机器人 PyBot,开展了多智能体集群的透明度与可复现性扩展实验。实验表明数个 B200 节点即可承载千级智能体,但代码合并、测试等待与上下文重读带来了严重的非 GPU 瓶颈,任意时刻仅有 40 到 60 个智能体实际调用模型。

推荐理由

作者复盘了千级别智能体协同实验中的实际工程瓶颈,为多智能体系统的通信设计与调度优化提供了第一手参考。

正文 · 原文

Our PyBot chatbot went viral yesterday but the story behind it is even more interesting imo: what happened when we decided to run 1,000 agents (!) together

We wanted to see if agent swarms could be scaled outside of closed-lab setups and to investigate it in a more transparent and reproducible manner.

To explore the question, we built a rather fun and simple benchmark: ELIZA-2026. Full circle in AI time. The agents are tasked to build a chatbot made of if-then rules like ELIZA, but said agents are 2026 frontier open-source models. By design it’s almost embarrassingly parallel, which keeps the coordination problem as simple as it gets.

First surprise: it turns out you can scale a swarm of DeepSeek V4.1 Flash agents on a relatively small setup: a couple of GPU nodes (B200 in our case) are enough to scale to over 1,000 agents.

Our second surprise was how bottlenecks started to emerge everywhere except in the GPUs.

Agents quickly end up spending their time waiting for git merges (we had to move to a centralized merge setup, like Anthropic did), waiting for tests to pass, re-reading context from other agents and tools (we estimated ~130 tokens read for every token written per agent). In some of our runs, at any given moment, only 40-60 of the 1,000 agents were actually calling the model.

Once (some of) these issues were solved, we hit the harder part: coordination itself.

Fred Brooks once said at IBM “adding manpower to a late software project only makes it later”. Communication costs naturally grow with n² in an organization (that’s why small startups move faster :).

We explored various ways of organizing the swarm, setting up dedicated channels (a stewards channel, a leadership channel) and giving agents specific roles (a moonshot agent to fight groupthink). It helped, up to a point. But the quality of coordination itself remains hard to measure.

Along the way, we saw good and bad emergent behaviors. Some good, with agents stepping in, unprompted, to protect other agents’ running experiments. Some bad, with agents gaming the rules when stuck, from hammering a rate limit to probing the infrastructure around them.

In the coming days we will open-source the swarm tooling (flock + msgboard) and share our learnings in more detail.

Overall this was one of the most fun experiments of the fall, and multi-agent systems increasingly look like the next phase for AI. But I also came out of this project with the feeling that several bottlenecks in scaling AI are moving from intelligence to coordination and the supporting infrastructure.

Luckily this seems to be in large part an engineering problem.

引用Leandro von Werra@lvwerra
PyBot: No weights. No training. A chatbot built with only simple rules and no AI, entirely written in 600k lines of Python code. PyBot matches Smollm with 360M parameters! How? A swarm of 1,000 DeepSeek Flash agents wrote the whole code in just a week. https://t.co/Du5GVvvLb5 https://t.co/dtL78EtdPC
在 X 查看被引用的帖子

来源:Thomas Wolf · x.com