跪拜 Guibai
← All articles
Artificial Intelligence · Open Source · Agent

DeepSeek Harness Is an Agent Framework Where Everything—Even the Agent Itself—Is a Swappable Plugin

By 狂师 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Agent frameworks have been tightly coupled black boxes; Harness makes the internals pluggable and gives developers a standard way to compose, swap, and extend every subsystem. The Creation Mode, where an Agent can write and attach its own plugins at runtime, pushes autonomy further than most current coding agents.

Summary

DeepSeek Harness is an open-source Agent framework built around a kernel, Cordis, that manages plugins and keeps the Agent running while components are hot-swapped. Its design principle is "everything is a plugin": tools, skills, sandboxes, workflows, and third-party models are all replaceable modules. The framework ships with four preset modes—Standard, PTC (which compresses multi-step tool calls into single programs), Minimal (for benchmarking), and Creation (which lets an Agent inspect and modify its own plugins at runtime).

A step-by-step setup guide covers installing the `dsh` CLI, configuring an API key, and launching the web UI on localhost. The plugin system is already backed by a community registry, with one-click installs for add-ons like custom skins. Third-party models, such as GLM-5.3, can be added through the settings panel alongside the default DeepSeek models.

The release arrived alongside a significant price hike for the DeepSeek V4 Pro API—cache-hit costs rose 12× and output costs 4.5× during peak hours—narrowing the cost advantage that previously made DeepSeek the default choice for individual developers and small teams.

Takeaways
DeepSeek Harness is not a coding agent like Claude Code; it is an Agent runtime framework where the model is one pluggable component among many.
The Cordis kernel handles plugin loading, unloading, and dependency management so components can be swapped without crashing the Agent's state.
Four built-in modes act as preset templates: Standard (full capabilities), PTC (bundles tool calls into single programs to save tokens), Minimal (bare shell and editor for benchmarking), and Creation (Agent can inspect and modify its own plugins).
Creation Mode lets an Agent detect missing capabilities, write a new plugin for itself, attach it, and complete the task—all from a single user prompt.
Third-party models like GLM-5.3 can be added through the settings UI alongside DeepSeek's own models.
A community plugin registry already exists at github.com/topics/dsh-plugin, with one-command installs for add-ons such as UI skins.
DeepSeek V4 Pro API prices rose sharply on August 17: cache-hit costs up 12× and output costs up 4.5× during peak hours, eroding the price advantage that defined the platform.
Conclusions

Decoupling the Agent runtime from the model turns the framework into infrastructure rather than a product, which could standardize how Agent capabilities are composed across vendors.

The price hike signals that the domestic Chinese LLM market is shifting from a price war to a capability-first competition, with GLM-5.3 and Qwen 3.8 Max now viable alternatives on cost.

Creation Mode's self-modification capability is a step beyond tool-use toward self-extending agents, but it also introduces a debugging and trust surface that most developer workflows are not yet equipped to handle.

Concepts & terms
Harness
In the Agent = Model + Harness formula, the Harness is the runtime infrastructure that provides tools, skills, session management, sandboxing, storage, and the Agent loop. It is the shell that turns a raw model into a capable Agent.
Cordis
The kernel at the center of DeepSeek Harness responsible solely for loading, unloading, and managing dependencies of plugins. It allows components to be swapped at runtime without destabilizing the Agent.
PTC Mode
A Harness mode that gives the model a Code Mode SDK to write a TypeScript program combining multiple tool operations into a single run_code call, reducing model-tool round-trips and token usage.
Responses API
An OpenAI-defined interface standard for Agents that DeepSeek V4 Pro now natively supports, enabling direct Codex integration without protocol conversion.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗