DeepSeek's open-source dsh-superagent: SQLite state, context-as-cache, and how four always-on agents split routing from execution
sophon11d · reddit · 2026-11-25
The author reads through DeepSeek's dsh-superagent repo (open-sourced Oct 31, the only always-on agent with public prototype code and ablations) and compares router/execution splits against Grok Bot, Claude Duet, and their own AgentConnect.
Notable in dsh-superagent:
- All coordination state lives in SQLite, not prompt history; the router pulls context via paginated read tools, oversized worker reports are truncated with read pointers — context window treated as a cache
- Foreground commands auto-background after 5s and wake the session; the router is explicitly blocked from sleeping
- External replies funnel through the router behind engine-state gates, with a hard 100-word cap on IM sinks
- Section 7 ablation is the only controlled number published: removing direct fan-out left completion time unchanged, raised router decisions 30%, and pushed cache reads from 23.23M to 31.77M tokens (synthetic 300-message workload; directional only)
The other three: Grok Bot uses a two-tier split with per-person permission isolation and personal chats on separate VMs; Claude Duet puts the split in the UI (status-grouped task list, scheduled check-ins); AgentConnect abandons a global LLM router for per-place coordinators with audience-scoped memory, surfacing failure modes like sibling task collisions absent in single-session agents.
More from coding & agent
- Eugene Yan tears down 12 public AI evals: graders fail correct work in 8 of 12 — eugeneyan · 2026-11-25
- LogoMesh, UC Berkeley AgentBeats winner, measures 'contextual debt' in AI-written code — _AustinCalvert_ · 2026-11-25
- Developer gets a full OpenClaw gateway running on the tiny M5Stack Cardputer Zero — vincent_koc · 2026-11-25
- Dev forks Replit's Muse onto a 3B local MoE, gets a full proactive local agent — amasad · 2026-11-25
- Ant Group and collaborators propose CGSI to fix context misalignment in agent skill internalization — inclusionAI · 2026-11-25
- Running Claude, Codex and Cursor as Cross-Reviewers: Reading Output Isn't Enough — Agent-Room-AKL · 2026-11-25