Urgent.News

What's breaking now, across thousands of outlets.

AI

What's the Minimum Architecture a Modern Agent Harness Needs?

I built this mainly to answer one question while trying to understand coding-agent systems: What's the smallest agent harness that is still architecturally complete? By "complete" I don't mean feature-complete. I mean that the system still has clear answers to questions like: where truth lives, who owns state, where permissions are enforced, how models and tools are composed, how a session…

The article explores the concept of the smallest agent harness that still has a complete architecture, focusing on architectural completeness rather than feature completeness. The author, <author>, studied DeepSeek Harness as a reference and aimed to create a minimal system that retains key properties like explicit lifecycle and dependency semantics, model-visible history derived from durable session state, and clear ownership of state and permissions.

The resulting open-source project, MiniDSH, is built upon several principles, including an append-only session log as the source of truth, explicit seams and owners for models, tools, persistence, authority, and context, and a model that is a routed capability rather than synonymous with the agent.

The development process for MiniDSH involved using Claude Code sessions to build the project, with the author noticing a tendency for AI-assisted development to create fragile and incoherent systems over time. To combat this, the author tried to invert the process, defining sessions before implementing architectures, and treating architecture as something that can be improved rather than sacred.

The author also emphasized the importance of continuously falsifying the system space to ensure that the architecture remains coherent.

Some key takeaways from the article include the importance of defining architectural invariants and components before adding new features, and the value of having a clear process for answering questions like "where does this belong?" before touching code. The author also notes that MiniDSH is still an early version and open to feedback, particularly from those with experience in agent runtimes, plugin ecosystems, compilers, distributed systems, or similar fields.

The article concludes by asking readers to consider the true minimum set of invariants and components for a modern agent harness.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Monday 21 September →