DeepSeek Harness Explained: Install, Modes, Plugins & Claude Code Comparison
On 13 August 2026, DeepSeek open-sourced DeepSeek Harness (dsh) under MIT — and developers piled in by the hundreds of thousands. The pitch is simple: a model is the soul of an agent, but the harness — tools, sessions, sandboxes, permissions, the loop — is what makes it work. DeepSeek's bet: make every piece of that harness a swappable plugin. This is the full guide: architecture, modes, install steps, use cases and the honest caveats.
What a harness actually is
A language model on its own cannot touch your files, run tests or remember yesterday. The harness is everything around it: file editing, shell access, web search, session history, approval policies, subagents, sandboxes. Same model + better harness = better agent. That is why DeepSeek shipped the harness as its own product instead of just a better model.
Everything-is-a-plugin architecture
Most harnesses have a fixed core with extension points bolted on. DeepSeek Harness inverts it: the model adapter, tool registry, session log, agent loop, sandbox and even UI are all Cordis plugins. Cordis is the tiny meta-framework underneath — it only mounts, unmounts and wires dependencies. Consequence: want a different model, sandbox or loop? Mount a plugin beside the others. No fork, no patching a privileged core.
Observability built in
Every run writes an append-only session log — system prompts, reasoning, tool calls, results, subagent scheduling, every context injection. The Trajectory view lets you inspect it by source; resume, fork, search and replay all run on the same event stream. When agents fail, you get traces, not guesswork.
The 4 modes explained
| Mode | What it loads | Best for |
|---|---|---|
| Standard | Full coding agent: edit, shell, search, skills, planning, goals, subagents, workflows | Day-to-day agentic coding |
| Code (PTC) | All of Standard, tools exposed as a TypeScript SDK the model programs against | Multi-step tasks composable in one program call |
| Minimal | Two tools only: bash + file editor | Quick fixes, benchmarking models |
| Creator | Standard + runtime inspection, plugin experiments, preset authoring | Building your own modes/plugins |
Modes are presets, not silos — Creator mode exists so you can compose new ones from existing plugins.
Install + first run in 5 steps
Step 1 — Prereqs
Node.js ^22.19.0 or 24+, npm/npx, a DeepSeek API key with balance, a disposable test project.
Step 2 — Launch
npx @deepseek-ai/dsh web
Open http://127.0.0.1:3080 (use --port if busy).
Step 3 — Add model key
Settings → Models → DeepSeek provider → paste API key → save. Start with deepseek-v4-flash (cheap); switch to Pro for hard tasks. New sessions pick up model changes.
Step 4 — Workspace + permissions
Select your project folder as workspace (composer stays disabled until you do). Choose the workspace-write preset — confinement plus approval prompts. Avoid danger-full-access on real machines.
Step 5 — Give it a real task
Inspect this repo. Run npm test, find the root cause of the failing test and fix it. Smallest change only. Re-run tests, show the diff, report risks.
Where to use it (use cases)
- Agentic coding: multi-file refactors, test-driven bug fixes with V4 Pro
- CI/headless jobs: one-shot runs in pipelines with the headless profile
- Custom tooling: mount MCP servers, company gateways, memory plugins
- Model benchmarking: Minimal mode + any provider to compare models fairly
- Offline work: point it at Ollama/vLLM via OpenAI-compatible endpoints
Where NOT to use it (yet)
Production-critical pipelines — it is an explicit developer preview with breaking changes warned. Keep Claude Code/Codex for production; evaluate dsh beside them.
DeepSeek Harness vs Claude Code
| DeepSeek Harness | Claude Code | |
|---|---|---|
| Source | MIT open source | Closed source |
| Models | Any (plugin) | Claude-optimised |
| Interface | Web UI + headless | Terminal + IDE |
| Extension | Mount a plugin | MCP / skills |
| Cost | Free + your API usage | Subscription + API |
| Maturity | Preview, breaking changes | Production-proven |
Notable: dsh can even call Claude Code or Codex as subagents — less a rival, more a chassis that can sit above them.
Honest caveats: developer preview — pin versions, expect breaking changes. Installing a plugin runs third-party code, so test unfamiliar plugins without real credentials nearby. Official agent benchmark numbers are Harness+model results, not model-only.
Pricing
Harness itself: ₹0, forever (MIT). You pay model usage — DeepSeek V4 Flash/Pro API rates, with off-peak discounts and cache-hit savings up to 90%+. Note DeepSeek raised API prices in August 2026 with peak/off-peak tiers, so schedule heavy runs off-peak and keep cache prefixes stable.
FAQs
What is DeepSeek Harness?
DeepSeek's open-source MIT agent harness — the runtime (tools, sessions, loop) around a language model, where everything is a plugin.
Is DeepSeek Harness free?
Yes, code is free. You pay only model API usage.
How do I install it?
Node 22.19+ then npx @deepseek-ai/dsh web → open 127.0.0.1:3080 → add API key → pick workspace.
Should I replace Claude Code with it?
Not yet for production. Evaluate side by side; use dsh where openness and model choice matter.
Want agentic coding set up for your team? Idea Creatorz wires harness + model + MCP tooling into your repo with safe permissions. Scoped in one call.