DeepSeek开源Router-Worker架构编程Agent
DeepSeek Open-Sources dsh-superagent, a Router-Worker Coding Agent
The DeepSeek Harness team just released dsh-superagent, an MIT-licensed research prototype. DeepSeek dsh-superagent is a proactive coding agent for one GitHub repository. It is packaged as a bundle for DeepSeek Harness. It listens to GitHub and, optionally, Feishu. It turns allowed requests into parallel work items, each in its own agent session. The release shipped alongside a design post, Exploring Super-agent Design: Towards a More Autonomous Agent System.
DeepSeek Harness 团队刚刚发布了 dsh-superagent,这是一个采用 MIT 许可证的研究原型。DeepSeek dsh-superagent 是一个针对单个 GitHub 仓库的主动式编码智能体。它被打包为 DeepSeek Harness 的捆绑包。它监听 GitHub,并可选择性地监听飞书。它将允许的请求转换为并行工作项,每个工作项都在其各自的智能体会话中运行。此次发布伴随一篇设计文章《探索超级智能体设计:迈向更自主的智能体系统》。
TL;DaR
- What is it?: A TypeScript bundle, v0.1.0, released as 1 commit under MIT. It uses whatever model the Harness profile is set to.
- Runs on: Your own machine, as a dedicated DeepSeek Harness profile. Needs Node.js 22.19+ or 24+, git 2.32+, Python 3.8+, tmux and GitHub CLI 2.48+.
- Performance: In DeepSeek’s simulation, it finished tasks far faster under a noisy message stream than a single-session agent.
- Best: p95 task completion of 15.7 minutes vs 29.5 minutes for the single-session baseline (about 1.9x faster).
- Worst: Tested only on synthetic messages and simulated tools. Real coding quality was not measured.
- 它是什么?:一个 TypeScript 捆绑包,版本 v0.1.0,作为 1 个提交在 MIT 许可下发布。它使用 Harness 配置文件中设置的任意模型。
- 运行环境:你自己的机器上,作为专用的 DeepSeek Harness 配置文件。需要 Node.js 22.19+ 或 24+、git 2.32+、Python 3.8+、tmux 和 GitHub CLI 2.48+。
- 性能:在 DeepSeek 的模拟中,它在嘈杂的消息流下完成任务的速度远快于单会话智能体。
- 最佳情况:p95 任务完成时间为 15.7 分钟,而单会话基线为 29.5 分钟(快了约 1.9 倍)。
- 最差情况:仅在合成消息和模拟工具上进行了测试。未测量实际编码质量。
What is DeepSeek dsh-superagent?
什么是 DeepSeek dsh-superagent?
It is a GitHub agent that waits to be asked. When an allowed person addresses it, it opens a work item, called a Ticket. Each Ticket runs in its own session and directory. Results return to the original conversation, often as a pull request. A local web panel lists only what needs a person.
它是一个等待被调用的 GitHub 智能体。当授权人员向其发出指令时,它会打开一个称为工单(Ticket)的工作项。每个工单在其自己的会话和目录中运行。结果返回到原始对话中,通常以拉取请求的形式呈现。本地 Web 面板仅列出需要人工处理的内容。
The README page states the core rule plainly: take as little human attention as possible, and give as much value as possible. The philosophy doc applies it to behavior. The agent confirms once, stays quiet while working, and writes again only with a result, a question or a failure.
README 页面直白地阐述了核心规则:尽可能少地占用人类注意力,并尽可能提供最大价值。哲学文档将其应用于行为准则。该智能体确认一次,工作时保持安静,仅在产生结果、提出问题或失败时才再次写入。
Why did DeepSeek build a Super-agent?
为什么 DeepSeek 要构建超级智能体?
DeepSeek team argues that mainstream agents treat 1 session as the basic unit. According to the report, as reported by ifeng, a person can actively follow only 3 to 5 sessions at once. Human attention, not model capability, becomes the bottleneck for multitasking.
DeepSeek 团队认为,主流智能体将 1 个会话视为基本单元。据凤凰网报道,一个人同时只能主动跟踪 3 到 5 个会话。人类注意力而非模型能力,成为多任务处理的瓶颈。
How does the Router-Worker architecture work?
路由-工作器架构是如何工作的?
The research team describes 2 layers. A long-running Router handles interaction and dispatch. Isolated Worker sessions do the actual work.
研究团队描述了 2 层结构。一个长期运行的路由器负责交互和分发。隔离的工作器会话执行实际工作。
In the prototype, that flow is concrete, per the domain model:
在该原型中,根据领域模型,该流程是具体的:
- Source → Trigger: GitHub or Feishu produces events.
- Eval: decides whether a batch of Triggers asks for new work.
- Ticket: a unit of authorized work, with an immutable Mandate stating why it may proceed.
- Subscription: later comments on a pull request reach the right Worker without a fresh mention.
- 源 → 触发:GitHub 或飞书生成事件。
- 评估:决定一批触发器是否要求新工作。
- 工单:授权工作的单位,带有不可变的授权说明,阐明其为何可以继续推进。
- 订阅:对拉取请求的后续评论无需新的提及即可正确送达至 Worker。
The main session runs the dsh-superagent-router preset with a smaller tool set. Each Worker runs dsh-superagent-worker. Shell commands move to the background after 5 seconds, so Workers keep receiving messages, per the execution doc.
主会话使用较小的工具集运行 dsh-superagent-router 预设。每个 Worker 运行 dsh-superagent-worker。Shell 命令在 5 秒后转入后台,以便 Worker 继续接收消息,具体见执行文档。
Proactive work is gated. The authorization doc defines 3 accept modes: off, observe (default) and auto. In observe, the agent only records what it would have accepted.
主动工作受门控限制。授权文档定义了三种接受模式:关闭、观察(默认)和自动。在观察模式下,代理仅记录其本会接受的内容。
The research team also lists ideas beyond the prototype: an external Watchdog, storage and compute separation, and an asynchronous ReAct loop.
研究团队还列出了超出原型的想法:外部看门狗、存储与计算分离以及异步 ReAct 循环。
How does it perform?
性能表现如何?
DeepSeek tested with simulated group chat and GitHub CI streams. Each run had about 300 messages, of which about 20 were real work requests. Each scheme ran 5 times, per ifeng’s account of the report.
DeepSeek 使用模拟群聊和 GitHub CI 流进行了测试。每次运行约有 300 条消息,其中约 20 条是真实的工作请求。根据凤凰网对该报告的报道,每种方案运行了 5 次。
- Super-agent: p50 of 12.4 minutes, p95 of 15.7 minutes.
- Single session plus subagents, neutral prompt: p95 of 29.5 minutes. No p50 was given.
- Why: under the neutral prompt, the baseline called a subagent 0 times in 5 runs.
- Router load: as arrivals rose from about 1 to 40 per minute, batch size grew from 1.0 to 2.8. Per-request latency rose from 2.5 to 3.9 seconds.
- 超级代理:p50 为 12.4 分钟,p95 为 15.7 分钟。
- 单个会话加子代理,中性提示词:p95 为 29.5 分钟。未提供 p50 数据。
- 原因:在中性提示词下,基线在 5 次运行中调用子代理 0 次。
- 路由器负载:当到达率从每分钟约 1 次增至 40 次时,批处理大小从 1.0 增至 2.8。单次请求延迟从 2.5 秒增至 3.9 秒。
An ablation removed direct event pass-through. Router decisions rose about 30%, and cache-read tokens rose about 37%, from 23.23M to 31.77M. All figures are self-reported and come from secondary reports of the report.
一项消融实验移除了直接事件透传。路由器决策增加了约 30%,缓存读取令牌数增加了约 37%,从 23.23M 增至 31.77M。所有数据均为自我报告,并源自该报告的二次报道。
How does dsh-superagent compare with other GitHub coding agents?
dsh-superagent 与其他 GitHub 编码代理相比如何?
| Feature | DeepSeek dsh-superagent | GitHub Copilot cloud agent | Claude Code Action | OpenAI Codex |
|---|---|---|---|---|
| Trigger | Mention by allowed person; written rules | Issue assignment, chat, API, Slack and more | @claude mention, issue assignment, workflow prompt | @Codex in Slack; cloud tasks |
| Unasked (proactive) work | Yes, rule-gated; observe by default | Yes, via automations | Yes, via workflow events | Not disclosed |
| Parallel isolated sessions | Yes, 1 per Ticket | Not disclosed | Not disclosed | Not disclosed |
| Where it runs | Your machine (Harness profile) | GitHub, in the background | Your GitHub Actions runner | Codex cloud |
| Chat source | Feishu (optional) | Slack, Teams | Not disclosed | Slack |
| License | MIT | Not disclosed | MIT | CLI agent open source |
| Availability | Research prototype | All paid Copilot plans | Your API key or cloud provider | ChatGPT Plus and above |
| 功能 | DeepSeek dsh-superagent | GitHub Copilot 云代理 | Claude Code Action | OpenAI Codex |
|---|---|---|---|---|
| 触发方式 | 允许的人员提及;书面规则 | Issue 分配、聊天、API、Slack 等 | @claude 提及、Issue 分配、工作流提示词 | Slack 中的 @Codex;云任务 |
| 未请求(主动)工作 | 是,规则门控;默认观察 | 是,通过自动化 | 是,通过工作流事件 | 未披露 |
| 并行隔离会话 | 是,每个 Ticket 一个 | 未披露 | 未披露 | 未披露 |
| 运行位置 | 你的机器(Harness 配置文件) | GitHub,后台运行 | 你的 GitHub Actions runner | Codex 云 |
| 聊天来源 | 飞书(可选) | Slack、Teams | 未披露 | Slack |
| 许可证 | MIT | 未披露 | MIT | CLI 代理开源 |
| 可用性 | 研究原型 | 所有付费 Copilot 计划 | 你的 API 密钥或云提供商 | ChatGPT Plus 及以上 |
Key Takeaways
关键要点
- DeepSeek released dsh-superagent, an MIT-licensed proactive coding agent prototype.
- A Router dispatches work; isolated Worker sessions execute each Ticket.
- Simulated p95 task time: 15.7 minutes vs 29.5 minutes for a single session.
- Proactive work stays in observe mode until a team switches it on.
- It runs with full OS-user access, so isolate it before use.
- DeepSeek 发布了 dsh-superagent,这是一个采用 MIT 许可证的主动式编码代理原型。
- 路由器负责分发工作;隔离的 Worker 会话执行每个工单。
- 模拟 p95 任务耗时:15.7 分钟,而单个会话为 29.5 分钟。
- 主动式工作会保持在观察模式,直到团队将其开启。
- 它以完整的 OS 用户权限运行,因此在使用前请进行隔离。
Check out the GitHub repo, the setup guide and the design docs. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
查看 GitHub 仓库、设置指南和设计文档。此外,欢迎在 Twitter 上关注我们,别忘了加入我们拥有 15 万+成员的 ML SubReddit,并订阅我们的新闻通讯。等等!你在 Telegram 上吗?现在你也可以加入我们的 Telegram 群组。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力