Everything is a plugin
DeepSeek Harness (dsh) is an open-source agent harness by DeepSeek AI. Model, tools, skills, sessions, sandbox, storage, loops, scheduling, UI — every agent capability is composed from plugins, freely swappable and recomposable. Developer preview v0.1 is now available, MIT licensed.
DeepSeek Harness
An open-source, freely composable agent harness for building and exploring agents
DeepSeek Harness developer preview (v0.1) is now open for testing by harness developers worldwide, with source code released under the MIT license. As an early preview, many details are still being refined, and the core plugins and base interfaces will iterate quickly in the weeks ahead.
DeepSeek Harness (dsh) follows an everything-is-a-plugin design: a plugin-based open architecture for building an Agent Harness — model, tools, skills, sessions, sandbox, storage, loops, scheduling, and UI are all composed from plugins, freely swappable and recomposable.
Developers can select, replace, or extend any single capability as a plugin — without ever modifying DeepSeek Harness source code itself.
Design Philosophy
Built on Cordis, a plugin system with spatiotemporal composability
The Cordis meta-framework handles only plugin loading, unloading, and dependencies. Every concrete component of the harness is a distinct Cordis plugin.
Plugins cooperate through Cordis services and typed events, and can be freely composed at the configuration layer — swap one provider and you change the product.
Model adapters, tool registries, session logs, and the agent loop itself are all plugins, so each part is replaceable from configuration.
You extend dsh by mounting plugins alongside other plugins. Every registration is a reversible side effect, undone when its plugin unloads.
Run Modes
Each mode loads a different plugin set for different use cases
Ships the complete tool set, out of the box, for most day-to-day tasks.
The model generates a piece of code that composes multiple rounds of tool calls into a single programmatic flow.
Keeps only a shell tool and a file-editing tool — for model benchmarking in a minimal environment.
Inspect the current runtime, try out Cordis plugins in memory, and compose new modes from them.
Observability
Everything the model sees is written to an append-only session log
System prompts, chain-of-thought, tool calls and results, sub-agent dispatch, and every context injection are written to the session log.
In the Trajectory view you can inspect this information by source, reconstructing every run's trace.
Resume, fork, retrieval, and replay all share the same event stream — what the model sees is what gets recorded.
Everything that reaches a model request must be rebuildable from the log, enforced by a runtime invariant.
Get Started
One command starts the Web UI
On a system with the Node.js toolchain installed, start the Web UI with npx:
npx @deepseek-ai/dsh webClone the full source and follow the repository instructions:
git clone https://github.com/deepseek-ai/deepseek-harnessFAQ
Common questions about the architecture, modes, license, and community.
DeepSeek Harness (dsh) is an open-source agent harness by DeepSeek AI. It uses an everything-is-a-plugin architecture powered by Cordis, composing model, tools, skills, sessions, sandbox, storage, loops, scheduling, and UI from swappable plugins.
Every concrete component of the harness is a distinct Cordis plugin. The Cordis meta-framework handles only loading, unloading, and dependencies; plugins cooperate through services and events and are composed at the configuration layer — you can select, replace, or extend any capability without touching the source.
Four: Standard (full tool set), PTC (programmatic tool calling), Minimal (just a shell tool plus a file-editing tool for benchmarking), and Creative (inspect the runtime, try plugins in memory, and author new modes). Each loads a different plugin set.
Run npx @deepseek-ai/dsh web on a system with Node.js to start the Web UI (default http://127.0.0.1:3080). Or git clone https://github.com/deepseek-ai/deepseek-harness to build from source. See the install page.
Yes. Everything the model sees is written to an append-only session log — system prompts, chain-of-thought, tool calls and results, sub-agent dispatch, and context injections. Browse by source in the Trajectory view; resume, fork, retrieval, and replay share one event stream.
Fully open source under the MIT License — use, modify, and sell freely. The repository is at github.com/deepseek-ai/deepseek-harness.
Share feedback or bug reports through GitHub Discussions, and add the dsh-plugin topic to your plugin repository. See Contact.
No — this is a developer preview (v0.1) iterating rapidly. There will be compatibility-breaking changes. Core plugins and base interfaces will keep evolving, and we welcome your feedback.
An agent harness is the framework that runs and orchestrates agents — model, tools, sessions, sandbox, loops, and scheduling. See What Is an Agent Harness.
dsh is an MIT-licensed, everything-is-a-plugin agent harness where model, tools, and sandbox are freely swappable; Claude Code and Codex are closed-source coding agents, and OpenCode is an open-source coding agent. See the comparison page.
Join Us
DeepSeek Harness v0.1 is only the starting point. Together with developers worldwide,
we build on open, reusable, composable infrastructure to explore what agents can do.
Join global harness developers in building the DSH plugin ecosystem.