SuperAPI AI Directory

DeepSeek Harness Installation Tutorial: Understanding the All-New Agent Mode in One Article

Author: AI小集 · Original source: AI工具集

DeepSeek V4 Pro It was just released, and the company's own Agent product followed right after, named DeepSeek Harness。

Many people will be confused at first glance, thinking it is the same as Codex、Claude Code the same local coding Agent: install it and run the web page, type commands in the browser, and let AI help you modify code.

Understanding DeepSeek Harness

In fact, what DeepSeek is doing is not "yet another AI editor," but building a layer of infrastructure.

Agent = Model + Harness

The model is the soul, responsible for thinking and decision-making; Harness is the hands, feet, and nervous system, responsible for understanding the environment, calling tools, and continuously working in real scenarios. Without Harness, no matter how smart the model is, it can only stare blankly.

Codex, Cursor Agent, and Claude Code are essentially all vendor-packaged Harnesses. Tools, sandboxes, session management, and UI are all hidden away tightly for you, and the only things you can modify are Skill and MCP.

DeepSeek Harness is different. Its core philosophy is:Everything is a plugin。

Model access is a plugin, file editing is a plugin, web search is a plugin, and this Web interface itself is also a UI plugin. In other words, like the modular phones of the past, whatever you want to swap, add, or remove is all assembled by yourself.

DeepSeek Harness

Installation and Configuration

Install Node.js

Visit the official Node.js installation website: https://nodejs.org , choose the version suitable for your computer system, download and install it.

One-Click Launch

Open the terminal command and enter the following installation command:

npx @deepseek-ai/dsh web

In the terminal, continue entering y. A local URL will pop up

Copy the address into the browser, and the interface will appear.

You can directly use an existing AI Agent on your computer (Cursor、Claude Code、WorkBuddy any of them will do) to install it, and directly create a shortcut on the desktop.

Fill in the API Key

The first time you open it, a pop-up will ask you to fill in the DeepSeek API Key. If you do not have one, apply for one on the DeepSeek open platform.

API Open Platform Website:https://platform.deepseek.com/

After filling it in and saving, you will officially enter Harness.

Interface Overview

The entire page has only two parts: on the left is the workspace and session list, and in the middle is the conversation area.

DeepSeek Harness has no new project button

Harness must be bound to a local folder as a "workspace" before it can work. Click "Select Workspace" and specify your project directory, so that the Agent can read files, run commands, and modify code inside it.

Four Modes

Harness directly provides four Agent presets, equivalent to equipping the same brain with four different bodies.

  • Standard Mode: The most fully featured file editing, Shell execution, web search, Skill invocation, task planning, and sub-Agent collaboration are all included. For first-time use, choose this one.
  • PTC Mode: PTC = Programmatic Tool Calling. The biggest difference from Standard Mode is that AI no longer calls tools piece by piece, step by step, but directly generates a piece of TypeScript code to orchestrate, chain, and even execute multiple operations in parallel, completing them all at once. For example, if you want to batch-read 10 files, look up information, summarize, and write to a new file. Standard Mode requires dozens of rounds of conversation, while PTC Mode gets it done with one piece of code, much faster and much more token-efficient.
  • Minimal Mode: only the bash and file editor tools are provided, everything else is cut. Suitable for purely testing the model's own coding ability, or when the task is simple enough that there's no need to bring out the full toolkit.
  • Creation Mode: this mode is the most "nesting-doll-like": it lets AI help you create new Agent presets. You can say "make me an Agent specialized in code review," and it will automatically generate configuration files, prompts, and tool combinations, which after saving can be used directly in the mode list.

Permission Management

Harness has three built-in permission levels, switched via the shield icon in the lower left corner:

  • Read Only: suitable for code review and logic analysis, absolutely safe.
  • Workspace Write (recommended): can read and write files in the current workspace folder, and cannot touch anywhere else in the system. The first choice for daily development.
  • Full Access: fully permitted, can execute arbitrary system commands.

If the Agent is about to perform an operation beyond the current permission level, a popup will ask you to confirm.

Slash Commands

Type in the input box /, and the command panel will be called up:
  • /plan: enter plan mode, the AI first lists out a plan, and only after your confirmation does it start working, preventing blind changes.
  • /goal: set an overall goal for a long task, and the AI will remember it and keep pushing toward the goal, correcting itself if it goes off track along the way.
  • /compact: compress early conversation history to free up space for context, a lifesaver when long sessions lag.
  • /permission: quickly switch permission levels.
  • /model: temporarily switch the model used for the current conversation.

Plugin-based

In Settings → Plugins , you can see the list of installed plugins.

DeepSeek Harness is not just another AI programming tool, but an open-source, pluggable, self-evolving Agent hosting framework. It splits the model, tools, UI, and behavioral logic entirely into plugins, and based on the Cordis kernel achieves dynamic composition and side-effect rollback.

It is still a developer preview version and iterates very quickly. But if you want to experience "what the underlying layer of an Agent looks like," or want to build by hand an AI assistant that fully matches your own workflow, it is worth installing one and giving it a try right now.