r/DeepSeekHarness • u/Beneficial_Owl7036 • 10h ago
MiniDSH 2.0: My independent attempt to understand and re-derive DeepSeek Harness through a smaller implementation
Three months ago, I started studying DeepSeek Harness to understand how a large, modular agent harness is actually designed.
That eventually became MiniDSH, a small open-source harness independently built from scratch.
I shared V1.0 here earlier. V2.0 is now released.
The new version brings the project much closer to DSH's overall product experience. I've closely followed its web UI design and implemented many of its core harness capabilities, while simplifying or redesigning other parts of the system where appropriate.
What's new since V1.0:
- A redesigned web UI & full-screen terminal TUI.
- A standalone desktop app for Windows, Linux and macOS.
- Background jobs and parallel subagent delegation.
- OpenAI support alongside DeepSeek and Anthropic.
- Skills, opt-in web search, browser interaction and visual verification.
- More complete execution records, crash recovery, permission management and effect auditing.
The attached demo shows real sessions running on the published npm package and desktop installer.
What I find most interesting about DSH is its underlying architectural philosophy, rather than any individual feature.
MiniDSH preserves several key ideas I learned from it: capabilities with explicit lifecycles and dependencies, an append-only session log, separation of authority from model reasoning, provider-neutral runtime contracts, and multiple product surfaces built over one runtime.
Meanwhile, I've made some different design choices:
- A small composition kernel instead of Cordis, and one main package rather than a large package graph.
- Composition seams for genuinely replaceable capabilities, without making every internal component a plugin.
- Parallel but foreground child agents, with the parent waiting for their results.
- Workspace-only writes by default and enforced permission ceilings for delegated agents.
- A terminal TUI sharing the web client's presentation model.
- No MCP client, plugin marketplace or agent teams for now.
These don't mean that MiniDSH's approach is better. DSH is a much larger and more capable system designed for a different scope. I'm interested in understanding which parts of its complexity are essential and which can be removed under more limited requirements.
The final release went through a system-wide audit, around 2,500 automated tests, real-provider integration tests and cross-platform CI.
GitHub: https://github.com/earthwalker17/MiniDSH
The repository also contains architecture documentation, a code tour and explicit comparisons with upstream DSH, including where and why the two designs diverge.
MiniDSH is entirely a personal, MIT-licensed learning and research project. It's non-commercial, not affiliated with DeepSeek, and not intended to compete with DSH. The adapted UI design tokens and icons are attributed in the repository.
I hope it can serve as a more approachable companion for people interested in studying DSH and understanding the engineering principles behind larger agent systems.
I'd especially appreciate feedback from people familiar with DSH's architecture, including criticism of my interpretations and simplifications.

