DeepSeek Harness(dsh)

定义

DeepSeek Harness(dsh)是由 DeepSeek AI 开发的开源 agent harness(智能体框架),采用”一切皆插件(everything is a plugin)“架构,由 Cordis 插件框架驱动。模型适配器、工具注册表、会话日志乃至 agent loop 本身都是可替换的插件。MIT 协议,TypeScript 实现。

关键信息

项值
仓库deepseek-ai/deepseek-harness
开源时间2026-08-13
版本(抓取时)0.1.1-rc.2(developer preview)
许可MIT
语言TypeScript(ESM,pnpm workspaces)
官网deepseek.com/harness
定位面向 agent harness 开发者,非终端用户
运行npx @deepseek-ai/dsh web(默认 :3080)

核心主张

官方公告页副标题:“Everything is a plugin. Every run is traceable.”

  • 一切皆插件:任何能力(模型、工具、技能、会话、沙箱、存储、循环、调度、UI)都是可交换/重组的插件。
  • 每次运行可追溯:模型所见的一切(system prompt、推理、工具调用与结果、子代理调度、上下文注入)都记录在 append-only 会话日志中;resume / fork / search / replay 都作用于同一条事件流。
  • 公式:Agent = Model + Harness(与 Harness工程 一致)。

四种运行时模式

  1. Standard:完整工具集。
  2. Code:工具经 Code Mode SDK 暴露,模型可在单个 TypeScript 程序里组合多步操作。
  3. Minimal:两工具(persistent bash + str_replace_editor),用于基准测试极简环境。
  4. Creator:inspect 运行时、内存中测试插件、组合新模式。

关联