DeepSeek Harness · Developer Preview

DeepSeek Harness Everything is a Plugin · Agent Runtime

The model is the soul of an Agent; Harness lets the Agent understand its environment, use tools, and keep working in real scenarios. DeepSeek Harness (dsh) is now open source: open the DeepSeek web version, chat with DeepSeek-V4 to validate the task, then assemble a full Agent locally with plugins as needed.

MIT

Open-Source License

DeepSeek Harness is commercial-friendly

Plugin

Everything is a Plugin

From model to UI, everything is replaceable

4

Runtime Modes

Standard / PTC / Minimal / Create

V4

DeepSeek-V4

Validate on the web version, then run locally

Agent = Model + Harness

Harness Keeps DeepSeek Agents Working in Real Scenarios

DeepSeek-V4 supplies reasoning and conversation; DeepSeek Harness supplies the environment, tools, and traceable execution. Stacked together, that is an Agent you can ship.

Cordis Kernel

Cordis only loads, unloads, and resolves plugin dependencies—it does not host Agent capabilities. DeepSeek Harness hands every “what can it do” concern to plugins.

DeepSeek Harness Cordis

Plugins Provide Capabilities

Models, tools, skills, sessions, sandboxes, storage, loops, scheduling, UI—every Agent capability is provided by plugins, collaborating through Cordis services and events.

DeepSeek everything is a plugin

Compose Freely at the Config Layer

Developers can select, replace, or extend any capability at the configuration layer without changing DeepSeek Harness source—so you can quickly try tool combinations that fit DeepSeek-V4.

DeepSeek Harness composable
DeepSeek Harness Core Capabilities

Six Capabilities That Define an Open-Source Agent Runtime

A developer-facing Harness preview: open source, replaceable, and traceable. Pair it with the DeepSeek web version and DeepSeek-V4 for a “validate in chat, execute locally” workflow.

Everything is a Plugin

DeepSeek Harness is built on the Cordis plugin system. Model adapters, tool registration, session logs, the Agent loop, and even the UI are plugins—swap them freely in configuration.

DeepSeek Harness plugins

Every Run is Traceable

Everything the model sees is written to an append-only session log: system prompts, chain of thought, tool calls and results, sub-agent scheduling, and context injection. The Trajectory view replays by source.

DeepSeek Trajectory

Four Runtime Modes

Standard Mode ships the full toolset; PTC (Code) Mode orchestrates multi-step calls with generated code; Minimal Mode is for benchmarks; Create Mode is for experimenting with plugins and authoring new presets.

DeepSeek Harness modes

Complementary to DeepSeek-V4

The DeepSeek web version is ideal for spelling out the task and comparing Pro / Flash; Harness is ideal for placing that same task into a local Agent with a sandbox and tools, and running it continuously.

DeepSeek-V4 Agent

Launch the Web UI in One Command

After installing Node.js, run npx @deepseek-ai/dsh web to open the local Web UI by default (127.0.0.1:3080). From source, build with pnpm and run the same command.

DeepSeek dsh web

Open Plugin Ecosystem

Add the GitHub topic “dsh-plugin” to plugin repos so they can be discovered. Core plugins and APIs are still iterating; official guidance is explicit that breaking changes will land.

dsh-plugin ecosystem
DeepSeek Harness Snapshot

Developer Preview Facts Worth Remembering

Drawn from the official DeepSeek introduction page and the GitHub repository README, so you can look up DeepSeek Harness / dsh questions quickly.

dsh

CLI Name

CLI and package-name cue for DeepSeek Harness: npx @deepseek-ai/dsh web

Cordis

Plugin Kernel

Only manages load / unload / dependencies; Agent capabilities all come from plugins

MIT

Open-Source License

The official repository deepseek-ai/deepseek-harness is open-sourced under MIT

4

Built-in Modes

Standard, PTC (Code), Minimal, and Create—from coding Agents to benchmarks

3080

Default Web Port

After npx start, the local Web UI listens on 127.0.0.1:3080 by default

Preview

Developer Preview

For Harness developers worldwide to test; core plugins and APIs keep iterating

Plugin

Models are Replaceable Too

Including model adapters and UI

Logs

Append-Only Sessions

Resume / fork / replay from one source

V4

DeepSeek-V4

Validate intent on the web version first

Open

Synced on GitHub

Feedback collected in Discussions

DeepSeek Harness is still in developer preview; official guidance stresses that breaking changes will land. Do not blindly pin versions in production. For conversation and plan validation, start with the DeepSeek web version on this site.

Spell Out the Task on the DeepSeek Web Version First

DeepSeek Harness is built for local Agent execution; intent, prompts, and DeepSeek-V4 quality are best validated on the web version first.

DeepSeek Harness Runtime Modes

Four Modes, from Benchmarks to Custom Agents

Switch modes without changing source. See the Runtime Modes subpage for detailed comparisons and when to use each.

Standard Mode

A full-featured coding Agent: file editing, Shell, file and web retrieval, Skills, plans, goals, sub-agents, and workflows. Built for day-to-day R&D tasks.

DeepSeek Harness Standard Mode

PTC / Code Mode

Has every Standard Mode capability, and presents tools through the Code Mode SDK so the model can compose multi-step operations in one TypeScript program—fewer round-trip tool calls.

DeepSeek PTC Code Mode

Minimal Mode

A dual-tool coding Agent with only persistent bash and str_replace_editor, for model benchmarks in a minimized environment (including DeepSeek-V4 evaluation scenarios).

DeepSeek Harness Minimal Mode

Create Mode

For building custom Agent presets: Standard Mode capabilities plus runtime inspection, in-memory experiments with Cordis plugins, and guidance for authoring presets.

DeepSeek Harness Create Mode

Runtime Modes

Design Thinking

Everything is a Plugin, and Every Run is Traceable

This is DeepSeek’s official core statement of Harness—and the three points to remember when searching “what is DeepSeek Harness”.

01

Everything is a Plugin

DeepSeek Harness is built on the Cordis plugin system. Models, tools, skills, sessions, sandboxes, storage, loops, scheduling, and UI are all provided by plugins, collaborating through services and events. Developers can recompose capabilities at the configuration layer without forking the source.

02

Every Run is Traceable

System prompts, chain of thought, tool calls and results, sub-agent scheduling, and every context injection are written to an append-only session log. Resume, fork, search, and replay share the same event stream; the Trajectory view inspects by source.

03

Multiple Runtime Modes

Standard Mode ships the full tool combination; PTC Mode chains multi-turn tools with model-generated code; Minimal Mode keeps only shell and file editing for evaluations; Create Mode inspects the runtime, experiments with plugins, and composes new modes.

Try It Quickly

Launch the Web UI Locally, or Install from Source

The commands below come from official docs for developers to follow. If you want to confirm the task wording and DeepSeek-V4 quality first, start a conversation on the DeepSeek web version on this site.

Quick Try

After installing Node.js, you can start the Web UI with npx.

npx @deepseek-ai/dsh web

Install from Source

Get the full project source and follow the repository instructions to finish setup.

git clone https://github.com/deepseek-ai/deepseek-harness
DeepSeek Harness FAQ

Common Questions about DeepSeek Harness

How does it relate to the DeepSeek web version and DeepSeek-V4? Can you use it in production? Below is aligned with official guidance.

01 What is DeepSeek Harness?

DeepSeek Harness (command name dsh) is the Agent runtime (agent harness) open-sourced by DeepSeek AI. It lets the model understand its environment, call tools, and keep working in real scenarios. The architecture slogan is “everything is a plugin”; the kernel is Cordis.

02 How is Harness different from the DeepSeek web version and DeepSeek-V4?

The DeepSeek web version and DeepSeek-V4 solve conversation, reasoning, and long context; Harness solves tools, sandboxes, session logs, and a replaceable runtime. Recommended path: spell out the task on the web version first, then run a tool-using Agent locally with dsh as needed.

03 Can it be used in production now?

Officially it is a developer preview, with an explicit warning that breaking changes will land. It is suited to plugin experiments, evaluations, and learning the architecture—not to pinning a critical production system to the current version.

04 What is the fastest way to try DeepSeek Harness?

After installing Node.js, run npx @deepseek-ai/dsh web; it opens http://127.0.0.1:3080 by default. You can also git clone the official repo and install and build with pnpm following the README. To validate in conversation first, use Try Now on this site to enter the DeepSeek web version.

05 What is Cordis?

Cordis is the plugin kernel used by DeepSeek Harness. It handles plugin load, unload, and dependencies. Concrete Agent capabilities such as models, tools, and UI do not live in the kernel—they live in plugins, collaborating through services and events.

06 Are PTC Mode and Code Mode the same thing?

The official Chinese page calls it PTC Mode; the English page calls it Code mode. Both mean composing multi-turn tool calls with a snippet of model-generated code (via the Code Mode SDK), while keeping all Standard Mode capabilities.

07 What is Minimal Mode for?

Minimal Mode keeps only persistent bash and str_replace_editor, for model benchmarks in a minimized environment. In public evaluation notes, some Code Agent scores for DeepSeek-V4-Flash are tied to the Minimal Mode framework.

08 How do I publish a community plugin?

Add the GitHub topic “dsh-plugin” to the plugin repository so it can be discovered. Feedback and bugs should go through official GitHub Discussions. Core plugins and the base API will keep iterating.

09 Can sessions be replayed?

Yes. Prompts the model sees, chain of thought, tool results, and sub-agent scheduling are all written to an append-only log. Resume, fork, search, and replay share the same event stream, and you can inspect by source in the Trajectory view.

10 Do I have to change source to swap models or tools?

No. Official guidance stresses that developers can select, replace, or extend any capability at the configuration layer—including model adapters and UI—without modifying DeepSeek Harness source.

11 What is the open-source license?

The official repository is open-sourced under MIT; third-party dependencies are listed in THIRD_PARTY_NOTICES in the repo. Read the license and preview disclaimer yourself before commercial use.

12 How do I use DeepSeek first if I cannot set up a local environment?

Open the DeepSeek web version on this site, chat with DeepSeek-V4 directly, and confirm prompts and task breakdown. When you need local tools and a sandbox, install Node.js and run dsh. The two paths complement each other; they do not replace each other.

DeepSeek-V4 + Harness, from Conversation to an Executable Agent

Validate the approach on the web version; compose plugins and tools in Harness. Jump to the DeepSeek web version from this site in one click.