How to download, install and start DeepSeek Harness (DSH)
Where to download DeepSeek Harness, how to start it with npx @deepseek-ai/dsh web or from source, and what to do the first time you open it.


The short answer
There are three ways to get DeepSeek Harness (DSH). On an Apple silicon Mac or on Windows, download the desktop app from deepseek.com/harness. Anywhere with Node.js 24.9 or later, run npx @deepseek-ai/dsh web and use it in your browser. Or build it from the GitHub repository. Whichever you choose, add a DeepSeek API key and pick a workspace the first time.
| Desktop app | npx | From source | |
|---|---|---|---|
| Runs on | Mac (Apple silicon, macOS 13 or later), Windows 10 or later (64-bit) | Mac, Windows, Linux | Mac, Windows, Linux |
| You need | Nothing else | Node.js 24.9 or later | Node.js, pnpm and Git |
| How it looks | A desktop window | The Web UI in your browser | The Web UI in your browser |
Download the desktop app
- Get it from DeepSeek's page, deepseek.com/harness: macOS (Apple silicon) or Windows (64-bit). Download only from there or the GitHub repository; DSH is open source, and repackaged builds elsewhere aren't DeepSeek's.
- Intel Macs aren't supported by the desktop app yet, and there's no Linux desktop app. Use npx there.
- The app can also put a
dshcommand in your terminal, from Manage dsh command… in its app menu.
Article · DeepSeek Harness (DSH) on Linux: the Web UI, servers, and a desktop app → On Linux? DSH's Web UI, servers, and a desktop app that runs it.
Start it with npx @deepseek-ai/dsh web
node --version # needs 24.9 or later
npx @deepseek-ai/dsh web- It starts the Web UI at http://127.0.0.1:3080 and opens it in your browser.
- Started over SSH, it only prints the address. Add
--no-openif you never want a browser to open. - The folder you start it in becomes the default location for files, so run it from your project.
Build it from source
git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh webpnpm run build prepares the repository; pnpm dsh web then starts from what was built, without building again.
The first time you open it
- Add your DeepSeek API key
Open Settings › Models, enter a key from platform.deepseek.com and save. It works right away, without restarting.
- Pick a workspace
Click Select workspace and add your project folder. The message box stays disabled until a workspace is selected.
- Send your first task
Start a session and ask it to summarize the repository. When an action needs approval under your permission settings, DSH asks first.
The DeepSeek API key: where to get it and where it goes
- Create a key on DeepSeek's open platform, platform.deepseek.com. DSH itself is free and open source; model requests are billed to the DeepSeek account that owns the key, at DeepSeek's API prices.
- Paste it into the DeepSeek card under Settings › Models and save. The key is write-only: after saving, the page only shows a masked preview, and DSH keeps the key in its own credentials file rather than in your settings.
- Or set the
DEEPSEEK_API_KEYenvironment variable before starting DSH. A key saved in Settings takes precedence over it; remove the saved key to go back to the variable. - Changes apply from the next request, with no restart. With a key and the default address, the model list follows the one DeepSeek's API publishes.
- Other providers go in the same page: Add model provider lists built-in ones such as anthropic, openai, moonshotai (Kimi) and zai (GLM), and Custom model API takes any gateway that speaks OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or the Gemini API.
Run DSH on a local model with Ollama
Without a DeepSeek key, DSH can run on a model served by Ollama, on your own machine or in Ollama's cloud. Ollama has a launcher for it, and installs @deepseek-ai/dsh if it isn't there yet.
ollama launch dsh
ollama launch dsh --model qwen3.8
ollama launch dsh --model deepseek-v4-flash:cloud
# set it up without starting
ollama launch dsh --config
# pass other DSH arguments after --
ollama launch dsh -- --port 3081- A local model costs nothing per token but is limited by your memory and GPU; a
:cloudmodel runs larger models without downloading them. - Web search is turned on automatically; it needs access to Ollama's cloud and a model that supports tools. Run
ollama signinif asked. - Ollama keeps its own launch settings and doesn't change DSH's own settings, profiles, sessions or credentials, so your DeepSeek setup is still there afterwards.
- DSH needs Node.js; to install it by hand, run
npm install -g @deepseek-ai/dsh@latest, thenollama launch dsh.
Article · Is Claude Code free? What it costs, and how to run it for free or for less → The same idea for Claude Code: free on local models, or cheaper on other providers.
Other ways to start DSH
| Command | What it does |
|---|---|
dsh web | The Web UI; the same as dsh --profile web |
dsh --profile headless "run the tests" | Answer one task and exit, for scripts |
dsh --profile acp | Serve the Agent Client Protocol to an editor or app |
dsh plugin --profile web add <package> | Install a plugin into the web profile |
Started with npx, write npx @deepseek-ai/dsh in place of dsh.
Article · DeepSeek Harness plugins: how to install them, and where the plugin market is → DeepSeek Harness plugins: how to install them, and where the plugin market is.
Or install it from Mira
Mira is a desktop app for macOS (Apple silicon and Intel), Windows and Linux that runs DSH next to Claude Code, Codex and other agents. Install DSH from Agent Config; on most computers it comes with the Node.js it needs. Run it on your DeepSeek API key, or on Mira credit without signing in to DeepSeek, and open DSH's own Web UI on the same session from the pane. Mira is not a DeepSeek app.
Article · DeepSeek Harness (DSH) in Mira: on any desktop, next to your other agents → What DeepSeek Harness is, and every way to run it.
Questions
- Is DeepSeek Harness free?
- DSH itself is open source and free. The model usage is paid to the provider whose key you add, such as the DeepSeek API.
npx @deepseek-ai/dsh webdoesn't start- Check
node --versionfirst: the package asks for Node.js 24.9 or later. If the page says authentication required, open the full address DSH printed: it carries a token that changes every time DSH starts. - How do I uninstall the desktop app?
- Remove the dsh command first from Manage dsh command… if you installed it, quit the app, then delete it from Applications on a Mac or uninstall it in Windows Settings. DeepSeek's guide has scripts to clear the local data too.
Article · DeepSeek Harness “DeepSeek Messages transport failed”: what it means and how to fix it → When DSH says “DeepSeek Messages transport failed”.
Article · Running Claude Code and Codex with Ollama: local models, 64k context, and setup → Full setup guide for running Claude Code and Codex with Ollama and local models.
Sources
Checked on November 25, 2026 against deepseek.com/harness, the README, Web UI guide, uninstall guide and CLI reference at github.com/deepseek-ai/deepseek-harness, and the @deepseek-ai/dsh package on npm. The Ollama section was checked on November 28, 2026 against docs.ollama.com/integrations/deepseek-harness. DSH is a developer preview and changes quickly, so check those pages for the latest.
Keep reading

Fixing OpenAI and Codex 403 “unsupported_country_region_territory”
Why OpenAI and Codex return 403 unsupported_country_region_territory, how to fix false positives on VPNs or cloud IPs, and compliant alternatives.

Running Claude Code and Codex on Amazon Bedrock, Vertex AI, and Microsoft Foundry
Connect Claude Code and Codex to Amazon Bedrock, Vertex AI, and Microsoft Foundry: env vars, config.toml, auth, model pinning, and limits.

Using Claude Code with Chrome and Codex Browser: live debugging, Playwright, and previews
How to connect Claude Code to Chrome (extension, console logs, login limits) and use Codex Browser or Playwright, plus live dev-server previews in Mira.