Today I'm sharing some DeepSeek Harness usage guide.
Recently DeepSeek Harness has really gotten popular, reaching 120,000 Stars on GitHub in just a few days. But after DeepSeek Harness was released, every article I see every day says the same thing: launch with one command, everything is a plugin. Once you've actually tried it, you'll find these words only describe the entry point.
DeepSeek Harness can be understood as a system for equipping AI with tools and managing tasks. Once connected, the AI can read and modify files, run computer commands, search the web, break down tasks, and even call on other AIs to work together. The entire system is open source, and developers can add, remove, or replace features as needed.
This article starts from installation and explains clearly DeepSeek Harness's configuration, four modes, plugin usage, and recommended plugins.
01. Ways to Use It
Before installing, according to the official requirements, the Node.js 22 series requires at least version 22.19.0; you can also use Node.js 24 or higher.
Option 1: npm launch, suitable for the vast majority of users
In PowerShell, enter the directory you plan to hand over to the AI for use:
cd "D:\你的项目目录"npx -y @deepseek-ai/dsh@latest web
After the command starts, open in the browser:
http://127.0.0.1:3080
To shut down the service, go back to PowerShell and press Ctrl+C. Next time you use it, rerun the launch command in the same directory.
This route suits most users. npx will temporarily fetch DeepSeek Harness, so there's no need to download the entire source code repository to your computer first.
Option 2: Source code installation, for when you're preparing to develop plugins
If you want to read the source code, modify the program, or develop plugins, you can clone the official repository:
git clone https://github.com/deepseek-ai/deepseek-harness.gitcd deepseek-harnessnpm install -g pnpm@11.7.0pnpm installpnpm run buildpnpm dsh web
After updating the source code, reinstall dependencies and build:
git pullpnpm installpnpm run buildpnpm dsh web
Running from source won't automatically check whether the frontend files have been rebuilt. If you miss pnpm run build after pulling new code, the browser may continue to show the old interface.
Option 3: Desktop version installation, for users who don't want to touch the command line
DSH Desktop packs the official Harness Web interface into a native desktop application. The installer already includes Electron, Node.js, pnpm, and a fixed version of the DSH dependencies, so ordinary users don't need to configure a command-line environment separately.
Open the GitHub Releases page and download the installer for your platform:
https://github.com/anywhere-labs/deepseek-harness-desktop
- Windows x64: Download the NSIS installer, double-click to run, and follow the prompts to complete installation
- macOS (Apple silicon): Download the DMG, open it, and drag DSH Desktop into Applications
On first launch, it will automatically create the default desktop profile and start the official DSH Web interface locally. After that, use it through the desktop window and system tray; closing the window stops the service.
Option 4: Command-line TUI installation, for users accustomed to terminal operations
dsh-TUI is a Claude Code-style full-screen terminal interface plugin. The prerequisites are a usable terminal TTY and pnpm 10+, and running the model also requires configuring DEEPSEEK_API_KEY.
In PowerShell, perform a global installation (the plugin comes with the dsh-tui direct command):
npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui
Then start it in the directory you plan to hand over to the AI for use:
cd "D:\你的项目目录"dsh-tui
On first run, it will automatically initialize the dsh-tui profile (pnpm required). To resume the last session, use dsh-tui –resume; to exit, when idle press Ctrl+C twice in a row. Next time you use it, rerun it in the same directory dsh-tui。
02. Usage Configuration
After opening the web page, we need to enter a DeepSeek API.
If you want to switch to another model, open Settings → Model, fill in the API Key in the DeepSeek card, and save. The model configuration takes effect on the next request; no need to restart the service.
Click Select Workspace, add the directory you want the AI to process, and select it. The workspace determines which files the AI operates on by default.
A new session uses workspace-write by default. In this mode, the AI can modify files in the workspace and temporary directories; the scope of reads, network, and process visibility is relatively permissive.
The official DeepSeek chat-completions route currently handles plain text only. A custom vision model needs to declare image input in $DSH_HOME/settings.yaml:
llm-pi-ai:providers:my-gateway:apiKeyEnv: GATEWAY_API_KEYapi: openai-completionsbaseURL: https://gateway.example/v1models:- id: vision-modelinput: [text, image]
This configuration only declares that the interface supports images; it does not change the model itself. If the interface does not actually support images, the request will still fail.
03. How to Choose Among the Four Modes
The Chinese interface provides Standard mode, PTC mode, Minimal mode, and Creative mode.
Standard Mode
Standard mode includes file editing, Shell, file search, web search, Skills, plans, goals, sub-agents, and workflows. Ordinary users can set Standard mode as the default for long-term use.
Standard mode has more tools, and the system description sent to the model is also longer. Complex tasks get more help, while simple tasks sometimes take a few extra steps.
PTC Mode
PTC mode retains the capabilities of Standard mode while handing the tools to the Code Mode SDK. The model can call tools consecutively within a TypeScript program and then process the results all at once.
When batch-searching dozens of files, reading multiple results, and tallying statistics, PTC mode may save rounds. For ordinary single-file edits, there is no need to switch to PTC specifically.
Minimal Mode
Minimal mode keeps only persistent Bash and str_replace_editor. There are fewer tools, and the first-round context is shorter. The model may get into the task faster, but it may also be unable to complete certain steps due to the lack of web search, plans, and sub-agents.
Minimal mode is suitable for comparison tests with fixed conditions. For daily use, first see whether the task really only needs the command line and text editing.
Creative Mode
Creative mode adds runtime checks, plugin experiments, and Agent preset authoring guidance on top of Standard mode. Creative mode can copy an existing preset and then modify the tools and prompts.
Local custom presets are usually saved in:
$DSH_HOME/.agent-presets/<预设ID>/
Presets can call plugins and Shell. Before modification, permissions are checked just like reviewing program code.
I have seen people say that Minimal mode is the best, but I want to say that Minimal mode does not make the model itself stronger; rather, it makes the model run in an extremely restricted environment.
Gone are web search, task planning, Skills, sub-Agents, context compression, and these features.
04. Plugin Installation
Plugins can add new features to DeepSeek Harness. Plugin sources include npm packages, GitHub repositories, compressed archives, and local directories.
DeepSeek Harness currently has no uniformly reviewed official app store.
Everyone can find plugins by searching GitHub for projects with the #dsh-plugin topic.
Although the Web can be started directly with npx, the official plugin commands still call pnpm to manage dependencies, so pnpm must be installed before installing plugins:
npm install -g pnpm@11.7.0pnpm -v
Then check the current version:
pnpm dsh --version
If the plugin README explicitly requires rc.6, it may fail to load when running from rc.5 source.
After that, you can install plugins:
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add <包名或Git地址>
View installed items:
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web list --depth 0
Update and remove:
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web update <包名>npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web remove <包名>
Source code users should replace the beginning of the command with pnpm dsh at runtime.
After installation is complete, restart dsh web, then hard refresh the browser with Ctrl+Shift+R.
05. Recommended Plugins
You do not need to install many plugins at once. Regular users can install plugins based on their tasks. Memory, multi-Agent, and automation will change the task context or execution method, so install them after you are familiar with the basic features.
Recommended Plugin 1: dsh-at-file, reference files in the input box
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add https://github.com/omdsh-dev/dsh-at-file/archive/refs/tags/v0.6.0.tar.gz
After typing @, search workspace files or directories, and add the path to the message after selecting it. The plugin will not stuff the entire file into the prompt at submission time; the Agent will read the corresponding path when needed.
Recommended Plugin 2: Better Sidebar, adds file, terminal, and Git panels
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add dsh-better-sidebar@0.12.2
Better Sidebar provides a file tree, editor, document preview, embedded browser, terminal, Git diff, and background task panels. Users with many files who frequently check modification results can switch less between the browser and the file manager.
Recommended Plugin 3: ModLens, lets text-only models read images
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add @liustack/modlens3.16.6
ModLens sends images to a selected vision Provider, then passes OCR, layout, and content descriptions to the text model. Error screenshots, design drafts, charts, and web page reference images can all be handled this way.
Recommended Plugin 4: dsh-memento, adds cross-session memory
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add dsh-memento
dsh-memento uses local SQLite to store memories and provides write approval, character limits, and audit records. The default policy is to ask the user for every write.
Recommended Plugin 5: dsh-automation, runs independent tasks on a schedule
npx -y --package @deepseek-ai/dsh@latest dsh plugin --profile web add github:titanwings/dsh-automation#v0.1.5
dsh-automation can create scheduled or one-time tasks. Each execution creates a new Agent and session, and records the workspace, permissions, results, and errors.
06. Digging Deeper
DeepSeek Harness is currently a highly open Agent toolset. Model interfaces, tools, work modes, session records, and the interface can all be recombined through plugins. Developers can therefore see what information the Agent receives at each step and why it calls a certain tool.
But openness also brings extra work. Users need to handle Node.js, API Key, model costs, plugin versions, and permissions themselves. Developer Preview updates very quickly; a community plugin available today may need to be reconfigured after tomorrow's upgrade.
DeepSeek Harness plugins may access files, the network, API Keys, and processes. The more open the plugin, the more important source checks, version pinning, and permission descriptions are before installation.
DeepSeek Harness gives developers relatively deep modification permissions, which is also the main difference between DeepSeek Harness and Codex and Claude Code. Codex and Claude Code have more mature daily product experiences, while DeepSeek Harness is better suited for researching and customizing the Agent itself.
Users willing to spend time configuring it can know more clearly what the AI has done, and can also change the Agent into a form that better fits their own work habits.
Original link:DeepSeek Harness nanny-level tutorial, with 4 ways to use it and must-install plugins