r/WebAfterAI • u/Miserable-Candle-850 • 15d ago
Notes on how DeepSeek's SuperAgent routes work
went through deepseek's dsh-superagent prototype this week and the most interesting bit isn't the router, it's why they needed one.
their claim is one person can usually follow 3 to 5 active agent sessions at once (i top out at four). so instead of you juggling sessions, the agent sits in the repo and the chat and does the juggling.
how it works:
- a long-lived router reads every github / feishu message, decides what's real work, and hands it out. it never does the work itself
- each task gets its own worker with isolated context, its own tools and its own directory
- once a worker owns a thread (issue, pr, chat topic) it subscribes to it, so follow-ups go straight to the worker and skip the router. they call this pass-through
- extra tasks queue, but one worker slot is always kept free for a human
- shell commands get backgrounded after 5 seconds so workers don't block on long runs
the test: ~300 simulated chat and ci messages per run, ~20 of them real work, 5 runs per design.
- superagent: 12.4 min p50, 15.7 min p95
- single session with a subagent tool, neutral prompt: 20.4 min p50, 29.5 min p95. the model didn't call the subagent tool in any of the 5 runs
- single session told to delegate first: 13.8 min p50, 29.0 min p95. delegated in 4 of 5 runs
that middle result is the takeaway for me. don't count on the model to delegate on its own, build it into the system.
the catch is tokens. superagent used 23.2M cache-read tokens per run vs 6.1M for the single session. and pass-through saves tokens, not time: turning it off left task times about the same, but cache reads went up to 31.8M.
Other caveats worth knowing before you try it:
- coding was swapped for a tool that just waits, so this measures coordination, not code quality. deepseek calls the results "indicative only"
- workers run shell commands without approval as your os user. use a dedicated account or a sandbox
- one repo only, feishu is the only chat option, setup is heavy, and it's research code (mit licensed, not an official product)
repo: github.com/deepseek-ai/dsh-superagent-prototype
I also made a short video walking through the architecture if you prefer that.