r/ClaudeCode • • 3h ago

Built with Claude Three months of building an agent harness with Claude Code — MiniDSH 2.0 is out, and here’s what I learned

Enable HLS to view with audio, or disable this notification

About three months ago, I started building MiniDSH as a personal experiment to understand agent harnesses at the system level, using DeepSeek Harness (DSH) as an architectural reference.

Instead of forking and pruning, I tried to re-derive a much smaller harness that preserved similar architectural properties while being easier to understand, maintain and experiment with.

I shared the initial V1.0 release here a while ago. Now V2.0 is finally out, along with a short demo.

Since V1.0, the project has grown a lot:

  • Redesigned the web UI, closely following DSH's product taste.
  • Built a full-screen terminal TUI and a standalone desktop app.
  • Added OpenAI support alongside DeepSeek and Anthropic.
  • Added background jobs, parallel subagents, skills, browser interaction and visual verification.
  • Strengthened durable execution, crash recovery, permission management and effect auditing.

The terminal, browser, desktop app and headless CLI all share the same runtime and persistent sessions. None of them implements its own agent loop.

Almost all of the project was developed with Claude Code under my direction. The more interesting experiment for me was whether an AI-assisted codebase could grow over several months without gradually losing its architectural coherence.

A few things I learned along the way:

Architecture needs executable constraints. Writing architectural rules in CLAUDE.md helps, but automated dependency checks, runtime invariants and integration tests are what actually keep those rules from becoming outdated documentation.

Harden the foundation before expanding capabilities. Before adding background jobs and concurrent agents, I spent several sessions strengthening the execution record, authority model and recovery semantics. This made later features much easier to reason about.

Reviewing the system as a whole. I regularly dedicated sessions to auditing the whole architecture rather than adding features. Not only the runtime, the tests, live arcs, and documentation layer are all part of the system.

Test the software you actually ship. Several issues only appeared when running the installed npm package, Electron app or cross-platform CI. Passing tests against the source repository wasn't enough.

The project now has around 2,500 automated tests, alongside real-provider integration tests and packaged application tests. There are still limitations and unresolved design questions, which I've documented rather than trying to hide.

The attached 84s demo was also made with Opus 5.5, using real product captures, programmatically rendered WebGL animations and a code-generated soundtrack.

GitHub: https://github.com/earthwalker17/MiniDSH

It's a completely free, MIT-licensed personal learning project (bring your own API key), not a commercial product or an official collaboration with DeepSeek.

I'm sharing it mainly because I think both the harness architecture and the AI-assisted development process might be useful to others working on similar systems.

I'd love to hear how other Claude Code users approach architectural consistency, long-running projects and system-level verification.

3 Upvotes

1 comment sorted by

•

u/AutoModerator 3h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.