DeepSeek Harness CLI

The package name on this site was corrected from @deepseek-ai/harness to @deepseek-ai/dsh, matching the official repository and npm package.

Harness CLI — DeepSeek Harness (dsh)

DeepSeek Harness is the open-source agent harness. The published npm package is @deepseek-ai/dsh, not @deepseek-ai/harness. The zero-install command in the official quickstart is npx @deepseek-ai/dsh web. It requires Node.js ^22.19.0 or >=24.0.0. Source: https://github.com/deepseek-ai/deepseek-harness

@deepseek-ai/dsh
deepseek-code — zsh — 1M Context — Asymmetric MoE
$npx @deepseek-ai/dsh web
Simulate:
$
Documented command from https://github.com/deepseek-ai/deepseek-harness
Starts the Web UI at http://127.0.0.1:3080 by default.
This page does not simulate agent transcripts. Earlier /goal demos and tok/s figures were removed as unverified.

DeepSeek Code Command Cheat Sheet

Commands and flags supported natively in the terminal agent environment
dsh webExecution
npx @deepseek-ai/dsh web

Starts the DeepSeek Harness Web UI. Official docs say it listens at http://127.0.0.1:3080 by default. Pass --no-open to skip opening a browser.

Supported Flags
--no-open— Run the web server without opening a browser (documented on the GitHub README).
--profile <name>— Boot a named profile under $DSH_HOME/profiles/.
dsh headlessExecution
dsh --profile headless "job"

Runs one fresh persisted session, prints the final answer, and exits. Documented on the @deepseek-ai/dsh npm page. Slash commands such as /context were not in that command list and have been removed.

Supported Flags
--profile headless— Select the headless profile. dsh web is the alias of --profile web.
dsh pluginTooling
dsh plugin --profile <name>

Manages a profile's plugins by forwarding to pnpm in the profile directory. Documented on the npm package page.

Supported Flags
--profile <name>— Profile whose plugins are managed.
source checkoutTooling
git clone https://github.com/deepseek-ai/deepseek-harness.git

Build from source when you need the repo's current interfaces. The quickstart says npm latest can lag master. A curl | bash installer was removed because it is not in the official quickstart.

Supported Flags
pnpm run build— Prepares repository artifacts before pnpm dsh web.