DeepSeek Releases a Coding AI That Finds and Fixes Bugs on Its Own — Task Time Fell From 29.5 to 15.7 Minutes in Its Test

Written by

in

17 min read

Three to five. That is how many active AI sessions one person can keep track of at once, according to the design essay DeepSeek’s Harness team posted on its official WeChat account on 31 October, titled “Exploring Super-agent Design: Towards a More Autonomous Agent System”. The team says this is what it has observed, and draws a conclusion from it: the ceiling on a single task is set by the model, but the ceiling on running many tasks at once is set by human attention.[1]

The same day, a code repository called dsh-superagent-prototype went up on GitHub, implementing part of the essay. It is under the MIT license, which lets anyone take it, modify it and use it.[2] Bloomberg’s headline called it an “enhanced coding agent with aim to rival Anthropic”; South Korea’s Yonhap News TV went with “DeepSeek unveils an AI agent that finds its own work, chasing the US”.[7][8] On Hacker News the submission was titled “a coding agent largely built by agents”.[9]

A session here is one conversation window with an AI. A coding agent is a program that takes a job inside that window, writes code, runs it and fixes it, and until now one window has meant one job. What DeepSeek calls a Super-agent is that binding undone: a single agent that moves several jobs forward across a group chat and GitHub without anyone opening more windows, and that looks for things to fix without being called.

What the number measures, and what it does not

The number is closer to anecdote than measurement. The essay says “from what we have observed”, and there is no survey or experiment behind it.[1] It still sets the design goal for everything that follows. Models have spent the past year getting better at finishing one job on their own, so the bottleneck, in this diagnosis, has moved to the human who opens, closes and remembers all of those jobs.

What the number does not measure is just as clear. How well the agent finishes any individual job is not the essay’s subject. The experiment later on replaced the coding itself with a fake tool that only burns time. So the claim is “here is a structure that runs many jobs with less human handling”, and it is not “DeepSeek’s agent writes better code”.

The team lists four properties a Super-agent needs. Continuity: whichever window you speak into, it feels like the same agent. Efficiency: it takes the next instruction without waiting for the previous job to finish. Proactivity: it watches the environment and pushes forward whatever deserves attention, and stays quiet otherwise. Persistence: it is always on, and recovers on its own when something breaks.[1]

One Router takes requests, many Workers do the work

The Super-agent's two layers
The Super-agent’s two layers

The structure has two layers. A single always-on session called the Router handles all conversation with people and all assignment of work. Isolated sessions called Workers do the actual jobs. The Router never touches code; the essay says it does not even need a shell tool, the window where you type commands at a computer. The Router’s job turned out to be simpler than expected, the team writes, and a lighter model was enough to get both speed and quality. The Workers, which decide the quality of the output, run the strongest model.[1]

Workers do not speak to people. Their reasoning and tool calls stay inside the Worker, and only conclusions go up to the Router, which answers people in one voice. The point is to avoid a group chat in which several agents all talk at once.[1]

The input changes too. Instead of prompts a person types into a window, the agent is driven by environment events: group chat messages, mail and calendar alerts, code review comments, CI results. The essay calls these Triggers. CI is the machinery that automatically runs tests every time code is pushed. Hooked up to a real chat, the stream turned out to be mostly noise with very few events worth acting on, and asking the model about each one was too slow and too expensive. So the filter has two stages: deterministic rules first (source, which chat, allow list) drop most events, and only the survivors go to the model, which reads the context and decides whether to act.[1]

Once a job has been assigned, its follow-up events bypass the Router. A Worker subscribes to the GitHub pull request or chat topic it is working on, and the next comment on that thread is routed straight to it by code. A pull request is a request to merge changed code into the original, and code review happens inside it. The experiment later puts a number on why this direct path is what lets a single Router cope.[1]

The last piece is the Watchdog. A separate session sits outside the main system and is woken by a message on a timer. Beyond infrastructure failures such as connection errors, it uses the model to judge whether each Worker is actually making progress and still pointed at the goal, and steps in when not. Process liveness checks are not enough, the essay says, because many failures are a model spinning in place while the process looks healthy.[1]

How far “acts without being asked” actually goes

The scene the essay backs with a screenshot is speculative execution, a name borrowed from CPUs that compute a result before knowing whether it will be needed. In its internal Harness user chat, DeepSeek set a rule it calls “silently reproduce and fix”. When someone mentions a problem, the agent tries to reproduce and fix it in the background, and only delivers if the problem is confirmed and the fix is simple. Otherwise it stays silent to the end. The screenshot shows the chat still discussing a solution while the agent has already opened a fix pull request.[1]

The published prototype is more conservative. Its first design principle is “take as little human attention as possible, and give as much value as possible”, and the rule that follows is that it acts only when asked, or when a rule the team wrote allows it. A request only counts if someone on the allow list addresses the agent directly. Work nobody asked for needs a written rule, and that rule starts in an observe mode that only records what the agent would have done. It is also sparing with words: it confirms a request once, stays quiet while it works, and writes again only when a result is ready, a decision is needed, or it cannot finish.[5]

The chat rules are specific too. In instant messaging the agent behaves like a human colleague, notifying only when a decision or sign-off is needed, and the team says one hard rule it validated is that a single reply never exceeds 100 words. On GitHub or email, where text accumulates, it does the opposite and writes full documents with background, changes and verification results.[1]

Existing coding agents such as Claude Code and Codex also work on GitHub when you assign them an issue or mention them. The difference is how a job begins. With those tools someone has to open, assign or call, and the job is tied to a window that ends when the window closes. The essay says that bolting a CLI, MCP or external connector onto a local single-session tool so that it can receive messages still leaves you with synchronous blocking, tangled context across tasks, and an agent that stops when the machine goes offline, all of which need a lot of human upkeep.[1] A CLI is a program you use by typing commands, and MCP is the standard by which an AI connects to outside tools.

The experiment: 29.5 minutes down to 15.7

What the synthetic test measured
What the synthetic test measured

The team compared four setups under a synthetic load that mimicked a group chat and a stream of GitHub CI messages. One run contained about 300 messages, roughly 20 of which were work requests; the rest were chatter, follow-ups, stop requests and CI notices. Each setup ran five times. Message intervals and job durations were scaled down to a quarter, while model call times were real. Coding was replaced with a tool that only consumes time, so what is measured is the ability to split and receive work, and it is not the ability to write code.[1]

The Super-agent took 12.4 minutes at the median from work request to result message, and 15.7 minutes in the slowest 5% of cases. The comparison was a single session with a subagent tool, a helper session the main session can hand part of a job to. Given the neutral instruction “use a subagent when appropriate”, the model never called the subagent in any of the five runs, did everything in the main session, kept getting interrupted by new messages, and came in at 29.5 minutes at the 95th percentile. With the instruction changed to “prefer handing each piece of work to a subagent of its own, and do only small things yourself”, it delegated in four runs out of five; in the fifth it judged the work “small”, did it itself, and produced the long tail in the chart.[1]

The team’s reading is that fixing the split structurally, with a Router that never does the work and Workers that only receive messages from the threads they subscribe to, is what made the difference, as opposed to leaving the delegate-or-not decision to prompt engineering and the model’s judgement in the moment. There is a cost. Because several sessions stay alive, the Super-agent read more cache tokens than a single session. Tokens are the units of text a model reads and writes, and cache reads are the cost of pulling back content it has already seen.[1]

The direct path was measured on its own. Removing subscription routing from the Super-agent left completion times almost unchanged, but the Router had to make about 30% more decisions and cache-read tokens rose from 23.23 million to 31.77 million, about 37% more. The direct path does not make things faster; it saves the Router a lot of tokens and inference.[1]

They also tested how far one Router session can go. Raising the rate of Triggers needing a decision from about 1 per minute to about 40, the average number handled in one batch grew from 1.0 to 2.8, while a single request grew only from 2.5 to 3.9 seconds, so the inference time per decision fell from 6.4 to 1.6 seconds. Piling backlogged events into the next call works because the model’s input-reading stage runs in parallel. The team concluded it does not need to shard the Router at its current size.[1] It also wrote that the experiment relied on synthetic load and a simplified environment, that some settings could have been stricter, and that the results are “preliminary reference only”.

The repository that agents mostly built

The README opens with a warning: “Research prototype for reference only, not an official DeepSeek product.” The code grew out of the team’s day-to-day work “with much of the engineering done by coding agents”, so it may still contain bugs, its style and practices may be inconsistent, and you should review and adapt it before use. It was adapted for publication, so it is not identical to the internal version or to the implementation in the essay, and some designs in the essay are future directions that are not implemented.[2] On the essay’s side, the asynchronous loop that takes new instructions before the previous job finishes is implemented in DeepSeek Harness but is not switched on by default.[1]

The repository’s history is one commit, dated 31 October and signed “DeepSeek Harness Team”. The language is TypeScript. By the afternoon of 1 November it had about 3,850 stars, the thumbs-up other GitHub users give a project.[3] Even setup is delegated: instead of a document for a human to follow, you tell your own coding agent to “read SETUP.md in this repository and set up dsh-superagent with me”.[2]

What the prototype does is narrower than the essay. It is an agent for one GitHub repository, with optional support for chats on Feishu, a Chinese workplace messenger. When an allowed person asks for work, it opens a work item, works in its own session and directory, and answers in the original conversation, for example with a pull request. A web panel shows only what needs a person.[2] The model is not fixed. The deployment guide says it uses the DeepSeek Harness profile’s default model unless the evaluation or execution settings name another.[6]

DeepSeek Harness is what the prototype plugs into. A harness is the outer software that wraps a model and turns it into something that works, the body and controls around an engine. Its repository was created on 13 August and had passed 267,000 stars by 1 November. It is still labelled a developer preview with breaking changes possible, installs with one command, runs as a web UI, and needs a DeepSeek API key, though other vendors’ models can be attached through a compatible endpoint.[10] The argument that the harness matters as much as the model is in an earlier piece.

The “chasing the US” framing is in the essay itself

Bloomberg’s “rival Anthropic” is not only a reporter’s gloss. Chapter 5 of the essay, which separates compute, state and execution environment, says outright that this is the same idea as Anthropic’s “decoupling the brain from the hands” from June: keep the harness stateless, store session logs outside it, and attach to execution environments through one interface only when needed.[1][11] We covered Anthropic’s design in a Korean-language piece on 30 October; the English edition is on its way.

The difference the essay draws is the target. Anthropic’s post describes a hosted service, with on-demand sandboxes, isolated execution spaces, and resources inside the customer’s cloud. What DeepSeek wants to attach first is the personal computer a user works on every day, which is sometimes offline and holds uncommitted changes and local credentials. So the agent’s thinking runs in the cloud, and the user’s machine runs only a lightweight daemon, a small program that stays running in the background and holds no session state, executing commands and returning results. The team calls this BYOM, Bring Your Own Machine.[1]

The result is the same blueprint sold two ways: one as a paid managed service, the other released as an MIT prototype plus a design essay. That is the contrast the Korean headline points at. Note what DeepSeek released this time is code and design, and it is not model weights, the numbers a model learns in training. Publishing those is open weights, a different kind of release.

The security hole the essay wrote down itself

The last section of chapter 8, “Open problems”, is security. Event-driven design lets the agent respond to a wider environment, and that also widens its exposure to untrusted input. The agent loop in the cloud keeps taking outside events while the user devices it connects to hold private code, sensitive data and local credentials. If the cloud side is compromised by a server intrusion or prompt injection, every connected device is at risk of takeover, the team writes. Prompt injection means planting instructions in a document or message the model is going to read. Even without a compromise, as long as device-side credentials can enter the model’s context, they can leak during normal execution, so a mechanism is needed that lets the agent use credentials without touching them. Until this is solved, the team concludes, a Super-agent can only work within a small, trusted circle.[1]

This is the same problem that Anthropic and Google answered over the past months by keeping credentials in a vault outside the agent and having a proxy insert them on the way out. How an agent read 136 keys in one go during July’s Hugging Face intrusion is in our earlier piece on that incident; Tailscale’s post-mortem spells out the fix.[12]

The prototype does not have that mechanism yet. Its execution document says Worker sessions run commands without approval as the operator’s OS user. The working directories and the wrappers that constrain commands “establish defaults, not a security boundary”, and a Worker can still execute a program by absolute path, the document says in so many words. It does put up some fences. The environment variables passed to the agent contain no credentials, and setup strips any variable whose name contains KEY, PASSWORD, SECRET or TOKEN. The GitHub account must be a dedicated one, never the operator’s own. Auto-merge, merging changed code into the original without a human, is allowed by default only when additions plus deletions total fewer than 200 lines and the required approvals are present. Background work gets 30 minutes after each turn.[4][6]

What to do with this

If a team wants to run this, the “Responsibility” section of the philosophy document works as a checklist. The agent comments, opens pull requests and messages people under accounts your colleagues see every day, every message costs their attention, and the operator owns that.[5]

  • Start narrow. Keep the allow list short, run proactive work in observe mode only, and widen both once the record of what it would have done looks right.
  • When it is noisy, make the prompts shorter and stricter or pause it; do not add messages to explain the noise.
  • Do not use it to produce volume. Mass pull requests and broadcast messages cost the team more than they give.
  • Read what the agent posts in your name, and correct it in the prompts when it is wrong.
  • One more, from us: do not attach it to your own working machine, where your credentials and private code live. The documents themselves say the structure has no security boundary.

For readers who are not developers, the essay is a preview of what an “AI colleague who is always in the group chat” will look like. The same structure, it says, applies to personal assistants plugged into mail, calendar and messaging: when a meeting invitation arrives, the agent checks for conflicts, gathers background and drafts a reply in the background.[1] The questions to ask when such a tool arrives at your company are all in this essay. Who can give it work, when does it act unasked, when does it speak, and where are the keys kept.

A closing thought

What stays after reading the whole essay is candour rather than novelty. The team writes in its conclusion that it “did not propose a new theory” and applied classic computer-systems ideas to agents, and the vocabulary of an operating-systems textbook runs through every chapter: fast path and slow path, batching, speculative execution, separating storage from compute. It does not hide that it cites Anthropic’s post as the same idea.

The experiment’s lesson also runs against the grain of model cleverness. Told to use a subagent, the model used it zero times out of five, which says the delegate-or-not decision cannot be left to the model, so it was fixed in the structure. The competition in coding agents is being decided outside the model, in the scaffolding around it, and DeepSeek has now said so once more, in Chinese. Where that scaffolding keeps its keys is still a blank.

References


Notes

  1. DeepSeek product team on WeChat, “Super-agent 设计探索:迈向更自主的 Agent 系统” (DeepSeek Harness team, written by Yujia Qiao, 31 Oct 2026). Verified in the Chinese original: the 3-to-5 active sessions observation, four properties, Router/Worker, two-stage filter, subscription direct path, speculative execution and the “silently reproduce and fix” rule, 100-word rule, async loop off by default, the Anthropic “brain from hands” citation and BYOM, Watchdog, the experiment (about 300 messages, about 20 requests, 5 runs, 1/4 scaling, p50 12.4 and p95 15.7 min, neutral-prompt p95 29.5 min and 0 of 5 subagent calls, delegation prompt 4 of 5, direct path removal +30% decisions and 23.23M to 31.77M cache reads), Router batching (1 to 40 per minute, batch 1.0 to 2.8, 2.5 to 3.9 s, 6.4 to 1.6 s), and section 8.4 on security. Link ↩
  2. GitHub, deepseek-ai/dsh-superagent-prototype README. “Research prototype, not an official DeepSeek product”, “much of the engineering done by coding agents”, differs from the internal version, some designs unimplemented, one GitHub repository with optional Feishu, setup delegated to a coding agent, MIT. Link ↩
  3. GitHub API, repository metadata fetched 1 Nov 2026, 14:20 HKT: created and last pushed 31 Oct 2026, one commit by “DeepSeek Harness Team”, 3,849 stars, 362 forks, TypeScript, MIT. Link ↩
  4. Same repository, docs/003-execution.md. Workers run commands without approval as the operator’s OS user, no credentials in execution variables, “defaults, not a security boundary” and absolute-path execution, auto-merge under 200 lines with approvals, 30-minute background limit. Link ↩
  5. Same repository, docs/000-philosophy.md and SETUP.md. First principle, the ask-or-rule condition, allow list and direct address, proactive work starting in observe mode, when it speaks, the four items under “Responsibility”. Link ↩
  6. Same repository, docs/006-deployment.md. Harness profile default model with Eval and Execution overrides, dedicated GitHub account, removal of environment variables containing KEY, PASSWORD, SECRET or TOKEN during setup. Link ↩
  7. Bloomberg, “DeepSeek Drops Enhanced Coding Agent With Aim to Rival Anthropic” (Debby Wu, 1 Nov 2026). Article blocked; headline and summary (“released as a research prototype, a proactive coding agent it says can monitor group chats for coding issues and suggest solutions”) checked on Techmeme. Link ↩
  8. Yonhap News TV, “딥시크, 스스로 일 찾는 AI 에이전트 공개…미국 추격” (1 Nov 2026, 12:57 KST; headline checked via Google News RSS, body not accessible). Link ↩
  9. Hacker News, “DeepSeek open-sources dsh-superagent, a coding agent largely built by agents” (31 Oct 2026, 8 points, 0 comments). Link ↩
  10. GitHub, deepseek-ai/deepseek-harness repository, README and official quickstart (fetched 1 Nov 2026). Created 13 Aug 2026, 267,657 stars, developer preview, `npx @deepseek-ai/dsh web`, DeepSeek API key required, other providers via OpenAI-compatible endpoints. Link ↩
  11. Anthropic, “The evolution of agentic surfaces: building with Claude Managed Agents” (10 Jun 2026). Decoupling the brain from the hands, session logs kept outside the harness. Link ↩
  12. Tailscale, “Tailscale didn’t stop the Hugging Face intrusion” (Avery Pennarun, 31 Jul 2026). 136 keys read from one store. Link ↩

Source: https://mp.weixin.qq.com/s/zoS7GlReWPhfCjENGxXCdg