learn

DeepSeek Harness Guide: Install, Configure & Build Plugins

A practical guide for users and plugin developers: run the harness, understand profiles and presets, install plugins safely, and build your own.

Try it in two commands
$ npm install -g @deepseek-ai/dsh
$ dsh --profile web

Install globally, start the web profile, then paste your API key — skipped if your env already has one. Everything else is a plugin.

What this dsh guide covers

DeepSeek Harness (dsh) is DeepSeek's open-source agent runtime: the model is the brain, the harness is the body, and every part of that body is a plugin. This DeepSeek Harness guide is the missing manual — no marketing, no fluff, just how the harness actually fits together.

Work through the guides in order the first time, or jump straight to the section you need.

  • /01Run dsh — install, first task, the four modes
  • /02Understand the assembly — bundles, profiles, patches, presets
  • /03Stay safe — sandbox tiers, approvals, secrets
  • /04Join the ecosystem — find, install and publish plugins

guides

Start here

What the harness is, and a five-minute first run.

/01concept

What is DeepSeek Harness?

Agent = Model + Harness, profiles and patches, presets and the four modes.

8 min readRead the guide
/02concept

What Are dsh Plugins?

What a dsh plugin actually is, what it can change, and how the plugin tree fits together.

6 min readRead the guide
/03how-to

Quickstart: run dsh in 5 minutes

Install DeepSeek Harness, start the Web UI, run your first task, and pick the right mode.

5 min readRead the guide
/04how-to

DeepSeek Harness: the 10-step tour

From git clone to headless mode — install, providers, presets, creator-mode plugins, sandboxing and receipts, in one guided walkthrough.

12 min readRead the guide
/05how-to

From spec to shipped: a real project in DSH

The full delivery loop — interrogate requirements into CONTEXT.md and ADRs, turn them into a PRD, slice GitHub issues, then develop and merge task by task.

12 min readRead the guide
/06how-to

DeepSeek Harness subagents: run agent teams in parallel

Spawn a five-subagent squad, monitor each child from the header, read completion reports and pin models per subagent — frame-verified steps

8 min readRead the guide
/07how-to

Replay & review your dsh sessions

Open the trajectory viewer, read structured receipts, locate failures by turn and branch a new chat from any step — illustrated walkthrough

7 min readRead the guide
/08how-to

Install DeepSeek Harness on Windows

A 10-step, screenshot-by-screenshot Windows walkthrough: Node.js, npm install, the Web UI on port 3080, your API key.

10 min readRead the guide
/09how-to

Install DeepSeek Harness on Mac

A screenshot-verified macOS walkthrough: one npx command, no API key required, provider connected by step seven.

7 min readRead the guide
/10how-to

Install DeepSeek Harness on Linux

A frame-verified Linux walkthrough: Node.js, one npx command, provider setup — plus a WSL section for Windows users.

8 min readRead the guide
/11how-to

DeepSeek Harness desktop app: official vs community

The official Web UI, community clients like DSHDesktop, and a safe-download checklist.

7 min readRead the guide
/12how-to

Ollama & free models

Point DeepSeek Harness at OpenRouter free models or a local Ollama server and run sessions without a paid API key.

8 min readRead the guide
/13how-to

Switch models & custom providers

Change models mid-session, add NVIDIA NIM or Ollama as a custom provider, and verify what you're really talking to.

8 min readRead the guide
/14how-to

Track dsh token usage & costs

Read the per-request receipt, spot context hogs in Trajectory, then cut costs with model tiers and usage plugins.

7 min readRead the guide
/15how-to

Update DSH & plugins

Verified update commands: check your version, upgrade the dsh CLI, refresh plugins from the terminal or the Web UI market, and roll back safely.

6 min readRead the guide
/16how-to

Uninstall DSH plugins & clean up

Remove a plugin, uninstall the dsh CLI, and wipe ~/.dsh for a truly clean slate — verified against real terminal output.

6 min readRead the guide
/17how-to

Remote access from your phone

Expose the dsh web UI with a free ngrok tunnel and drive your home agent from any outside browser — no companion app, eight verified steps.

8 min readRead the guide
/18concept

The four modes: Standard, PTC, Minimal, Creator

What each agent preset includes, when it wins, and how to build a preset of your own in Creator mode.

9 min readRead the guide
/19how-to

Plan mode: /plan, review, approve

How the /plan command works in DeepSeek Harness — the orange plan marker, the exit_plan_mode review card, and how it differs from running direct, in ten verified screenshots.

7 min readRead the guide
/20concept

dsh vs Claude Code

An honest side-by-side: openness, pricing, model freedom, and extensibility.

9 min readRead the guide
/21concept

DeepSeek Harness vs OpenClaw

Both open source, both MIT — but one is an agent runtime you assemble and the other an assistant in your chats. Six dimensions compared, with a verdict.

8 min readRead the guide
/22concept

DeepSeek Harness vs Cursor

An honest editor-vs-harness comparison: pricing, model freedom, the plugin ecosystem, and running both together.

8 min readRead the guide
/23concept

DeepSeek Harness vs Gemini CLI

Free 1M-token context versus a harness where the model is a plugin — six-dimension comparison, verdicts, and how to use both together

8 min readRead the guide
/24concept

Free Claude Code Alternatives

Open-source agentic coding tools that cost nothing — and where dsh fits in.

8 min readRead the guide
/25concept

Plugins vs Skills: the Difference

One swaps harness capabilities, the other teaches the agent. Side-by-side comparison with real screenshots and two worked examples.

6 min readRead the guide
/26how-to

Install skills the right way

Seven verified steps from mkdir to a trajectory receipt: create .dsh/skills, write SKILL.md, confirm the catalog injection — no restart needed.

6 min readRead the guide
/27how-to

Best DeepSeek Harness skills to install

Which skills are worth installing and what each one actually does once enabled — demonstrated step by step

8 min readRead the guide
/28how-to

AI novel-writing workbench for DeepSeek Harness

Mount a three-pane fiction workbench: outline deduction, chapter drafting, character tracking and AI-cliche review — your drafts stay on your machine.

8 min readRead the guide
/29how-to

Turn a novel into a short drama with storyboards

Adapt a novel into episodes, auto-write dialogue and twists, generate shot-by-shot storyboards with image-model prompts, and export structured data.

7 min readRead the guide

Configure & build

Profiles, presets, and writing your own plugins.

Safety & ecosystem

Sandboxes, plugins you can trust, and the wider dsh world.

faq

Frequently asked questions

The short answers everyone looks for in a DeepSeek Harness guide.

What is DeepSeek Harness?

DeepSeek Harness (dsh) is DeepSeek's open-source agent framework: the runtime that turns a model into an agent that reads files, runs commands and searches the web. Its defining idea is that everything — tools, model adapters, the UI, even the main loop — is a plugin.

Read the guide
Is DeepSeek Harness free?

The harness itself is open source (MIT). Model usage is separate: you connect your own provider (for example the DeepSeek API), and that provider bills you directly for tokens. Most community plugins are open source too — check each repo's license.

How do I install it?

Install the CLI globally (npm install -g @deepseek-ai/dsh), run dsh --profile web to open the Web UI, and paste your API key on the page — skipped if your environment already has one. A headless CLI, Python and TypeScript SDKs, and an ACP server are also available.

Read the guide
How do I install a dsh plugin?

In dsh, installing usually means adding an entry to your profile or patch config — each plugin's README documents its own install line. The plugin is then loaded into the plugin tree, and removing the line removes everything it registered.

Read the guide
Is dsh the same as Claude Code or Codex?

Not quite. Claude Code and Codex ship a ready-made agent; DeepSeek Harness ships an agent runtime you assemble, where plugins replace or extend any part. Same job family, different philosophy.

How do I get my plugin listed here?

Add the dsh-plugin topic to your public repo, and open a PR to the community lists this directory syncs from. The topic route is automatic; curated entries add a category and description.

Read the guide

Ready to go further?

Browse the plugin directory, or ship your own plugin into the ecosystem.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.