DeepSeek Harness: Open-Source AI Agent Engineering Framework by DeepSeek

DeepSeek Harness: Open-Source AI Agent Engineering Framework by DeepSeek 167

DeepSeek's open-source AI Agent engineering framework. Built on a plugin system, it modularizes models, tools, and skills, supports full-trajectory traceability, and offers four runtime modes.

#Ai工具箱 #Ai编程建站

DeepSeek Harness: Open-Source AI Agent Engineering Framework by DeepSeekIntroduction

What is DeepSeek Harness

DeepSeek Harness is an open-source ai Agent framework recently released by DeepSeek. It is currently in the developer preview stage, and the source code is already available on GitHub.

The core idea of DeepSeek Harness can be summed up in one sentence: Agent = Model + Harness. The model handles reasoning, while the Harness connects that reasoning to the real environment—enabling the Agent to understand context, invoke tools, and keep working persistently in real-world scenarios.

Unlike closed products such as Claude Code, Harness takes an open-source approach. Models, tools, UI, and storage are all broken down into plugins. Developers can pick what they need and assemble them via configuration files—no source code modifications required.

DeepSeek Harness Developer Preview: Everything is a Plugin - www.deepseek.com

Features of DeepSeek Harness

  • Cordis Kernel: Harness runs on top of Cordis. Cordis is responsible for plugin mounting, unmounting, and dependency management, and all Agent capabilities live inside plugins.

  • Everything is a Plugin: Models, tools, skills, sessions, sandboxes, storage, loops, scheduling, UI—all are plugins. Cordis uses a service and event mechanism to enable communication between plugins. Developers select the plugins they need and write a config file to compose their desired Agent, without touching source code.

  • Trajectory Full-Chain Logging: Everything the model sees—system prompts, reasoning processes, tool call parameters and return results, sub-Agent scheduling records, every context injection—is written into an append-only session log. In the Trajectory view you can browse entries one by one by source. When something goes wrong, you can pinpoint the exact step, fork a new session from any node to continue exploring, or replay the entire operation.

  • Four Operating Modes

  • Standard: A full-featured coding Agent with file editing, shell, file/web search, skills, planning, goals, sub-Agents, and workflows.

  • Code: All capabilities of Standard, but tools are exposed through the Code Mode SDK, allowing the model to orchestrate multi-step operations in a single TypeScript program.

  • Minimal: The simplest environment with only two tools—persistent bash and str_replace_editor—primarily used for benchmarking models.

  • Creator: Built on top of Standard with added runtime checks, plugin experimentation, and preset authoring guidance for creating custom Agent presets.

Suitable Scenarios for DeepSeek Harness

  • Complex Codebase Refactoring: Trajectory fully records every step and reasoning during the refactoring process. When issues arise, you can replay precisely to the failing node without starting over. In Code mode, the model writes TypeScript scripts on its own to orchestrate multi-round tool calls, much faster than waiting for model responses step by step.

  • Full-Stack Feature Development: Standard mode comes with file editing, shell, search, skills, planning, and sub-Agent scheduling built in. From PRD to frontend/backend code to deployment scripts, everything is chained in a single session. Session logs are fully preserved, so you can pick up right where you left off next time.

  • Model Benchmarking: Minimal mode retains only bash and a file editor, keeping the environment clean and controlled. Comparing different models on the same task yields results uncontaminated by extra tools.

  • Custom Agent Presets: Creator mode lets developers inspect runtime state in real time, test Cordis plugins in memory, and package composed capabilities into new presets. Teams can tailor configurations to specific business scenarios.

DeepSeek Harness Pricing

The Harness framework itself is open-source and free; the source code can be cloned directly on GitHub. However, running an Agent requires calling an underlying model, and the cost depends on the model used and usage volume. If you connect DeepSeek-V4, the API uses peak/off-peak pricing:

ModelPeriodCache Hit InputCache Miss InputOutput
V4-ProOff-Peak0.025 / million tokens3 / million tokens6 / million tokens
V4-ProPeak0.05 / million tokens6 / million tokens12 / million tokens
V4-FlashOff-Peak0.02 / million tokens1 / million tokens2 / million tokens
V4-FlashPeak0.04 / million tokens2 / million tokens4 / million tokens

Peak hours are 9:00-12:00 and 14:00-18:00 Beijing time.

DeepSeek Harness FAQ

Q: Can I use Harness right now?

Yes. The developer preview is already available, and the Web UI can be started with a single command.

Q: Can it only connect to DeepSeek models?

No. Model capabilities are also plugin-based, so in theory other models can be integrated—just be aware that DeepSeek's own models are best optimized.

Q: Is the plugin system hard to get started with?

The official approach is "configure to compose." Just select plugins and write a config file—no source code changes needed. Creator mode also includes runtime checks and plugin experimentation tools, lowering the customization barrier.

Q: What exactly can Trajectory do?

It's essentially a black box for the Agent. System prompts, model reasoning, every tool call detail, sub-Agent scheduling records—all arranged on a timeline. When something goes wrong, you can check the log to locate the issue, or fork a new session from any intermediate step.

Q: How do I choose among the four modes?

Use Standard for everyday development; use Code when the model needs to write scripts for complex workflows; use Minimal for model comparison testing; use Creator when building your own Agent preset.

How to Use DeepSeek Harness

Quick Start Web UI

Requires Node.js. Run:

npx @deepseek-ai/dsh web

Source Code Installation

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

Then follow the setup instructions in the repository.

How Does DeepSeek Harness Compare to Competitors

DimensionDeepSeek HarnessClaude CodeOpenAI CodexOpenClaw
Open-SourceOpen-source, code publicClosed-sourceClosed-sourceOpen-source
Plugin-BasedAll capabilities pluginizedFixed capability setFixed capability set/td>
Model SupportPlugin-based, no restrictionsClaude exclusiveGPT exclusiveMulti-model compatible
Operation Mode4 preset modesSingle modeCloud/CLIConfiguration dependent
TraceabilityFull Trajectory logsLimitedLimitedImplementation dependent
Session OperationsResume, fork, replayBasic sessionsBasic sessionsImplementation dependent
Product FormSelf-hosted frameworkIn-terminal AgentCloud + local CLIOpen-source framework
PricingFramework free, model usage-basedSubscriptionUsage-based billingOpen-source free
EcosystemOpen plugin ecosystemMCP ecosystemFunction CallCommunity-driven

Where DeepSeek Harness Stands Out Compared to Similar Products

  • Open-source + Plugin-based: Not a closed product, but a framework you can disassemble and assemble. Teams can take only the parts they need and customize deeply. The code is public, with no black box, and no vendor lock-in.

  • Full Trajectory Recording: Debugging and auditing are backed by evidence. Resume, fork, and replay are directly based on the same event stream, with no extra state management required.

  • Four Modes Covering Different Scenarios: From the full Standard mode to the simplest Minimal mode, and the Creator mode aimed at developers, there's no need to install multiple tools for different scenarios.

  • Configuration-driven: Switch models, tools, or storage solutions by simply editing config files. For teams that need to iterate Agent capabilities quickly, this saves a lot of effort.

Why Choose DeepSeek Harness

If you need an Agent framework you can control yourself and tailor on demand, Harness is more flexible than closed products. Open-source means no vendor lock-in, and plugin-based means capabilities can be progressively extended. Full Trajectory recording is also very useful for enterprise scenarios that require auditing and debugging. When connecting to DeepSeek-V4, API costs are extremely low, so running large-scale Agent tasks won't become a burden.

Related News:

DeepSeek Releases Harness v0.1 Developer Preview

What is Harness? Complete Analysis of the Code Agent Engineering System

Tools related to DeepSeek Harness: Open-Source AI Agent Engineering Framework by DeepSeek