What Is DeepSeek Harness? A Step-by-Step dsh Install Guide with DeepSeek on Fuzion
Meet DeepSeek Harness (dsh), the open-source AI agent from DeepSeek that edits files, runs commands and splits work on its own, with every part a plugin. Plus a step-by-step install with Node.js and setup with DeepSeek models on Fuzion.

DeepSeek Harness (the dsh command) is DeepSeek's open-source AI agent that works inside your project: it reads and edits files, runs commands, splits work into subtasks and plans its own steps. It's similar to Claude Code or Codex, but free and fully open source. This article explains what DeepSeek Harness is and what it can do, then walks through installation step by step until it runs with DeepSeek models on Fuzion.
What is DeepSeek Harness?
Every AI agent has two parts: the model, which does the thinking, and the harness, the code around the model that hands it work, calls tools, reads and writes files, runs commands, asks permission before anything important and shows you the results. DeepSeek Harness is that second part, built by DeepSeek for anyone to use.
Maker: DeepSeek AI open-sourced it in mid-August 2026, around the time DeepSeek V4 Pro became generally available.
License: MIT, free to use, modify and use commercially.
Status: still a developer preview. It updates often, and changes can break existing setups.
Official channels: the npm package
@deepseek-ai/dshand the GitHub repodeepseek-ai/deepseek-harness.
What can DeepSeek Harness do?
Read, search and edit files in the project folder you choose.
Run commands through Bash on macOS and Linux or PowerShell on Windows, such as installing packages, running tests and building.
Delegate to subagents that work in parallel (up to 8 by default).
Plan and track work step by step.
Connect to MCP to use external tools.
Replay every step in the Trajectory view, which shows every turn, every tool call and its timing.

Everything is a plugin
What sets DeepSeek Harness apart is that everything is a plugin. It's built on a plugin framework called Cordis, and every part, from the model adapter, tool registry and session log to the agent loop, terminal and subagents, is a plugin you can swap out.
Profiles: sets of plugins for each mode, such as
web,headless,sdkandacp.Installing plugins: run
dsh plugin --profile web add <package name>, or click Add plugin in Settings.Optional official plugins: for example, running Claude Code or Codex as subagents, plus experimental features such as agent teams and scheduled tasks.
Creator mode: ask in plain words and the agent writes, installs and tests a new plugin for you.
Community plugins: find them through the
dsh-plugintopic on GitHub.

Ways to run it
Web UI: runs in your browser on your own machine. This is the method used in this guide.
Desktop app: for macOS and Windows, with Node.js and the required tools bundled.
Headless: run one job from the terminal and exit, ideal for scripts and CI.
SDK: call it from other programs over JSON-RPC.
ACP: lets editors that support the Agent Client Protocol use the agent.
Is it free?
The software is free, but you pay for the model it calls, by the token, and a coding agent uses far more tokens than a normal chat: it reads files, runs commands and sends its work history back to the model at every step. One tester reported that building a small app took about 20 million tokens over roughly 35 minutes.
The good news is that most of those tokens repeat earlier turns, so they're billed as cached input. The same test saw 95–100% cache hits. On Fuzion, cached input for DeepSeek V4.1 Flash costs $0.004 per million tokens, against $0.24 for regular input. At a 95% cache rate, a job that size would come to about $0.55 (a rough estimate; real jobs vary). For prices and capabilities of all three DeepSeek models, see our DeepSeek V4.1 Flash vs V4 Pro comparison.
How to install DeepSeek Harness, step by step
Step 1: Install Node.js
Download the LTS version of Node.js from nodejs.org (version 22 or newer is recommended), then open a terminal and check the install:
node -v
npm -vIf both lines print a version number, you're ready for the next step.
Step 2: Start DeepSeek Harness
In the terminal, cd into the project folder you want the agent to work in, then run:
npx @deepseek-ai/dsh webAfter a short download, it opens your browser at http://127.0.0.1:3080/. If it doesn't, copy the URL printed in the terminal into your browser.
If you'll use it often, a permanent install starts faster:
npm install -g @deepseek-ai/dsh
dsh --version
dsh webWatch out for the name clash: a third-party Python tool also uses the dsh command name. DeepSeek's official harness is only the npm package @deepseek-ai/dsh.
Step 3: Create an API key on Fuzion
DeepSeek Harness needs a model to call. Fuzion offers three DeepSeek models, paid from the same credits as the web app, with no other service to sign up for.
Sign in to Fuzion and open the API key page.
Create a new key and copy it somewhere safe (it starts with
fzk_live_).Make sure you have enough credits, or top up first.
Step 4: Add Fuzion as a model provider
In the DeepSeek Harness web page, click Settings in the bottom-left corner, choose Models, then click Add custom provider and fill in:
Provider ID:
fuzionDisplay name:
FuzionAPI protocol:
openai-completionsAPI endpoint:
https://fuzionhub.co/api/v1API key: the key from step 3
Add model: the model ID to use, such as
byteplus/deepseek-v4-1-flash
DeepSeek models available on Fuzion:
byteplus/deepseek-v4-1-flash: recommended as your main model. Strong at coding and agent work, fast, cheap and reads images.byteplus/deepseek-v4-1-flash-economy: as capable as Flash, cheaper, slightly slower. Good for long jobs you don't watch.byteplus/deepseek-v4-pro: the large model for problems that need deep reasoning. Text only.
Step 5 (optional): Enable image input
To attach screenshots or design images for the agent, click Open configuration file on the model settings page (settings.yaml in the ~/.dsh folder) and add input: [text, image] to the V4.1 Flash model:
llm-pi-ai:
providers:
fuzion:
displayName: Fuzion
api: openai-completions
baseURL: https://fuzionhub.co/api/v1
models:
- id: byteplus/deepseek-v4-1-flash
name: DeepSeek V4.1 Flash
input: [text, image]V4 Pro accepts text only, so don't add this line to it.
Step 6: Choose a workspace and start working
Click Select workspace and add your project folder. The input box stays disabled until you pick a workspace.
Choose the model in the bottom-right corner of the input box, for example DeepSeek V4.1 Flash.
Type the task and send it.
A first task to try:
Read this project and summarize what each folder does. Then run all the tests. If any fail, explain why first. Don't edit any files yet.Whenever the agent wants to do something that needs approval under the current permissions, the page asks you first. Read it carefully before you allow it.
Step 7 (optional): Run headless from the terminal
Once you're comfortable, you can run a single job from the terminal without the web page, which is handy for automation scripts:
dsh --profile headless "run the tests and summarize any failures"Safety and things to watch
Write access: by default the agent can write only inside the workspace folder, but reading files and network access aren't restricted. Don't open a workspace in a folder with secrets unless you need to.
Commands that delete or change data: read each one before approving, and use Git so you can undo the agent's mistakes.
Session logs: with DeepSeek's official API, session logs are uploaded to DeepSeek by default. Turn this off under Settings, General.
Built-in web search: the bundled web search plugin calls DeepSeek's API directly, so it needs a DeepSeek API key.
It's still a preview: the agent sometimes stops mid-task; type "continue" to resume, and keep it updated to the latest version.
Troubleshooting
Port 3080 is in use: change the port with
dsh web --port 3081.The npx command fails: install permanently with
npm install -g @deepseek-ai/dshand rundsh webinstead.You can't type in the chat box: no workspace is selected yet. Click Select workspace first.
You don't want it to open the browser: use
dsh web --no-open.An insufficient credits message: top up your Fuzion credits and run the task again.
Frequently asked questions
Is DeepSeek Harness free?
The software is free and open source under the MIT license. You pay for the model it calls, by the token.
How is it different from Claude Code?
They work in a similar way: both read and edit files, run commands and split work into subtasks. DeepSeek Harness is fully open source, every part is a swappable plugin, and it works with any provider that uses the OpenAI-style API.
Does it run on Windows?
Yes, both through npm and as a Desktop app. The Desktop app is available for macOS and Windows only.
Which model should I use with DeepSeek Harness?
Start with DeepSeek V4.1 Flash: it's strong at coding and agent work, cheap and reads images. Keep V4 Pro for problems that need deep reasoning.
Do I need a DeepSeek account?
No. A Fuzion API key connects you to all three DeepSeek models. The exception is the built-in web search plugin, which needs a DeepSeek API key.
Is it safe?
The agent asks before doing anything its permissions mark for approval, but reading files and network access aren't restricted. Use it on project folders under Git and read every command before you approve it.









