MiniDSH: re-deriving a minimal agent harness from DeepSeek Harness with Claude Code
Beneficial_Owl7036 · reddit · 2026-09-13
To understand agent harnesses at the system level, the author studied DeepSeek Harness (DSH) and re-derived a minimal harness from scratch rather than fork-and-prune, releasing MiniDSH v1.0.
Key architectural properties learned from DSH:
- The session/event log as the canonical source of truth
- Explicit capability seams instead of one giant Agent object
- Authority/policy separated from model reasoning, enforced at the effect boundary
- The model treated as a routed capability, not identical to the agent
- One runtime under terminal, browser, and headless surfaces
- Lifecycle and dependency semantics for components
Simplifications: one package, a tiny composition kernel, sequential foreground execution, bounded one-shot delegation—'minimal surface, complete architecture; fewer concepts, stronger invariants.'
Equally valuable: the Claude Code methodology. To counter AI-assisted development's failure mode of locally-good-but-globally-fragile code, they inverted the process—'architecture defines sessions; sessions do not invent architecture'—deciding architectural home, capability ownership, state boundaries, and dependency direction before adding anything, plus dedicated falsification sessions to overturn stale assumptions. Repo: github.com/earthwalker17/MiniDSH
Related event: Developer Reverse-Engineers DeepSeek Harness into Open-Source MiniDSH(2 posts)→
More from coding & agent
- Codex denies hash pinning blame, admits 10 minutes later it was exactly that — moyix · 2026-09-13
- 'You don't need math to be an AI engineer': a 6-step hiring playbook goes viral — ashishllm · 2026-09-13
- Codex script bulk-downloads 9,000 baby monitor photos in 45 minutes — thegautamkamath · 2026-09-13
- 'The End of Prompt Engineering': 300 Kimi K3 agents, one AGENTS.md, zero escapes in 41 days — JohnAlexander · 2026-09-13
- Reddit user asks: one Astra prompt eats the whole weekly quota—what's wrong with my workflow? — Cetnet · 2026-09-13
- Automation's blind spot: the undocumented tasks humans quietly do — chris_j_paxton · 2026-09-13