DeepSeek Super-agent: An Event-Driven Agent That Guards Human Attention
TL;DR. dsh-superagent is a proactive coding agent for one GitHub repository, released as a bundle for DeepSeek Harness. It listens to GitHub (and optionally Feishu). When an allowed person asks for work, it opens a ticket, does the work in its own session and directory, and answers in the original conversation, for example with a pull request. Its organising principle, from the repository’s philosophy document, is to take as little human attention as possible and give as much value as possible. The README is explicit about status: “Research prototype for reference only, not an official DeepSeek product.”
Read with care. The README also says the code was adapted for publication. It is not identical to the internal version or to the accompanying article (which the README titles Exploring Super-agent Design: Towards a More Autonomous Agent System), and some designs from the article are not implemented. Below, shipped means what the repository docs describe; essay means claims from the article. I could not access the original article page, so essay claims here come from a secondary write-up (AgentsPulse).
Key idea
Section titled “Key idea”Shipped domain model (docs/001-domain.md). A Source (GitHub, Feishu) produces immutable Triggers. Triggers are grouped into Threads in time order. An Eval judges each batch of triggers in two layers, a deterministic gate and a model assessment, and decides whether to start, continue or stop work. Accepting creates a Ticket, a unit of authorised work, with a Mandate that records why the work may be done and how far it may go. Subscriptions link Threads to live Tickets, so later messages on a Thread reach the Ticket directly. Results go back through a Channel.
Shipped execution (docs/003-execution.md). A main session (called orchestrator in code) evaluates triggers and dispatches tickets. Each ticket gets its own executor session (worker-<ticket id>), which runs commands without approval as the operator’s OS user. Shell commands move to background jobs after 5 seconds, so a worker can read new messages instead of blocking.
Attention as the cost to minimise (docs/000-philosophy.md). The agent acts only when asked by an allowed person or when a written rule allows it. Proactive work starts in a record-only mode. It asks one concrete question at a time and stops by impact: a local change goes as far as a reviewable result, and a change that needs a design decision stops with a question. Operators are told to start narrow, tune for less noise, and not use it to produce volume.
Essay design (secondary source). The article describes a Router/Worker architecture with a fast programmatic path and a slow LLM path for triggers, context management called Inline & Spill and Chain of Recall, a watchdog session, and a cloud agent loop with local daemons. I did not find Inline & Spill or Chain of Recall in the shipped docs I read.
Key results
Section titled “Key results”The only numbers I found come from the essay, via the secondary write-up, which says the authors call the tests synthetic and preliminary. Each run had about 300 messages and about 20 work requests, with 5 runs per setup. The super-agent finished tasks at p50/p95 of 12.4/15.7 minutes using 23.23M cache-read tokens. Without direct delivery to workers, timing was similar (12.6/15.5) but tokens rose to 31.77M, with about 30% more router decisions. A single session with a subagent tool and a neutral prompt never delegated (20.4/29.5 minutes, 6.05M tokens); with a delegate-first prompt it reached 13.8/29.0 minutes and 10.82M tokens. Router batching reportedly cut amortised decision time from about 6.4 to 1.6 seconds as the trigger rate rose from about 1 to 40 per minute. Treat all of these as vendor-reported and preliminary.
Connections
Section titled “Connections”- Failure modes of multi-agent systems: MAST, whose verification and termination failures are what the Eval gate and the stop-by-impact rule try to prevent.
- Conversation-based multi-agent frameworks: AutoGen routes turns between agents inside one task; the super-agent routes many independent tasks.
- Unsafe autonomy: executors that run code without approval connect to reward hacking in agents and to the sandbox caveat in CodeAct.
- Primary sources: the repository and its philosophy document.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Mechanism
In the super-agent design, a Thread holds Subscriptions that link it to live Tickets, so a new message on that Thread goes straight to the worker that owns the Ticket instead of back through the main routing session. Explain why this direct delivery reduces cost and routing load, and what risk it creates for authorisation.
What a strong answer covers
- Without direct delivery, every follow-up message would need a fresh routing decision by the main session, which re-reads context and spends tokens and time.
- The essay (as summarised secondarily) reports that removing direct delivery raised cache-read tokens from about 23.2M to 31.8M with roughly 30% more router decisions, while completion time barely changed.
- The worker already holds the task context, so it can interpret the follow-up better than a router that must reconstruct it.
- The shipped docs note that a subscribed Trigger fans out with no check of who sent it, so the design relies on the Ticket's existing Mandate and on the worker handing back requests beyond its scope.
- Derive / compute
The essay's synthetic test (secondary source, about 300 messages and about 20 work requests per run, 5 runs per setup) reports p50 completion of 12.4 minutes and 23.23M cache-read tokens for the super-agent, versus 13.8 minutes and 10.82M for a single session with a subagent tool and a delegate-first prompt. Compute the ratios, state what trade-off they show, and explain why the p95 numbers (15.7 vs 29.0) matter more for this workload.
What a strong answer covers
- Time: 12.4 / 13.8 ≈ 0.90, so the super-agent is about 10% faster at the median.
- Tokens: 23.23 / 10.82 ≈ 2.15, so it uses about twice as many cache-read tokens.
- The trade-off is more tokens for lower and more predictable latency; at the median the gain is small.
- p95 drops from 29.0 to 15.7 minutes (about 46% lower), which matters for many concurrent requests where the slowest ones set user experience.
- With 5 runs of a synthetic load, these numbers are preliminary, and cache-read tokens are cheaper than fresh tokens, so cost comparisons depend on pricing.
- Critique
A blog post says "DeepSeek ships a Router/Worker super-agent with Inline and Spill memory and a Chain of Recall". Using the repository README and docs, critique this claim and explain how you would describe the prototype accurately.
What a strong answer covers
- The README says it is a research prototype, not an official DeepSeek product and not production-ready, with much of the code written by coding agents.
- It also says the code is not identical to the internal version or to the article, and some designs in the article are future directions not implemented.
- The shipped docs describe Source, Trigger, Thread, Eval, Mandate, Ticket and Subscription, a main session and per-ticket executor sessions; I did not find Inline and Spill or Chain of Recall in the docs I read.
- An accurate description separates what the code implements, what the article proposes, and what secondary summaries report.
- Performance numbers come from the article's synthetic tests, not from the shipped code, and should be cited that way.