This one's worth opening because DeepSeek finally open-sourced its agent harness, and the architecture is genuinely different from Codex or Claude Code. The core agent loop—the logic that decides how the model thinks, calls tools, and iterates—is a plugin you can swap at runtime. In every other harness, that logic is hardcoded and untouchable.
To support this, DSH ships with a runtime called Cordis that handles side-effect cleanup, dependency notifications, and transactional rollbacks during hot swaps. A single file, fiber.ts, runs 750 lines—you can see they've hit real concurrency and rollback edge cases, not just paper abstractions.
But I'll be real: for most daily coding, this is overkill. Codex's declarative plugins are dead simple—edit a config, restart in two seconds, done. DSH forces you into a heavier model where every plugin registers side effects, declares dependencies, and returns teardown functions. You just don't need in-process hot-swapping for search or skill plugins.
The useful bit is self-evolution. If an agent can generate new tools or even a new control loop mid-run, DSH is the only harness with the infrastructure in place. Model capability is right at the edge too—generating a 50-line tool is routine, and a few-hundred-line agent loop is within reach of top models. Codex's loop is compiled into Rust with no slot to swap it. DSH provides that physical interface.
The post doesn't include performance benchmarks or production data—it's architecture analysis and source-code reading. I'd treat this as infrastructure for self-evolving agents, not something that'll speed up your daily coding.