跳到主内容
精选82MarkTechPost(RSS)产品发布/更新多源精选 ×8

DeepSeek 开源全插件化 Agent 框架 Harness

DeepSeek AI Releases DeepSeek Harness in Developer Preview: An MIT-Licensed Agent Harness Where Everything is a Plugin

原文
推荐理由

做 Agent 框架或工具链的同学值得关注,这套全插件化设计把模型、工具、沙箱、会话全解耦,还带可追溯的会话日志,适合拿来搭内部编码 Agent 或做模型评测环境,建议直接跑一下 Minimal 模式试试。

DeepSeek released DeepSeek Harness v0.1 in developer preview and published the full source code under the MIT license. The project ships as dsh at deepseek-ai/deepseek-harness. A harness is the layer between a model and the environment it acts in — the tools, files, sandboxes, and control loop that let an agent keep working. DeepSeek frames it as Agent = Model + Harness. Most harnesses hard-code that layer: the agent loop, the tool registry, and the session store are fixed, and extension happens only at whatever hooks the authors exposed. Harness takes the opposite position, stated in the first lines of its README: everything is a plugin. Models, tools, skills, sessions, sandboxes, storage, loops, scheduling, and the UI all sit behind Cordis plugin boundaries, and any of them can be selected, swapped, or extended in configuration without changing Harness source code. That makes this a kit for assembling agent runtimes rather than a fixed coding assistant, and it is why the release matters more than the model announcement it shipped alongside.

DeepSeek 发布了 DeepSeek Harness v0.1 开发者预览版,并在 MIT 许可下公开了完整源代码。该项目以 dsh 形式存在于 deepseek-ai/deepseek-harness。Harness 是模型与其作用环境之间的层——工具、文件、沙箱和控制循环,让代理能够持续工作。DeepSeek 将其定义为 代理 = 模型 + Harness。大多数 harness 硬编码了这一层:代理循环、工具注册表和会话存储是固定的,扩展只能通过作者暴露的钩子进行。Harness 采取了相反的立场,在其 README 的开头几行就声明:一切都是插件。模型、工具、技能、会话、沙箱、存储、循环、调度和 UI 都位于 Cordis 插件边界之后,其中任何一个都可以在配置中选择、替换或扩展,而无需更改 Harness 源代码。这使得它成为组装代理运行时的工具包,而非固定的编码助手,这也是该发布比其伴随的模型公告更重要的原因。

Is it deployable?

它可以部署吗?

Yes, but as developer infrastructure, not as a production agent product. v0.1 is a developer preview.

可以,但作为开发者基础设施,而非生产级代理产品。v0.1 是开发者预览版。

  • Company level: AI-native startups and platform or developer-experience teams inside mid-to-large enterprises that already run internal tooling. Regulated enterprises can pilot it locally because it is MIT-licensed and self-hosted.
  • Industries: Software and devtools, financial services and insurance (auditable agent runs), healthcare and pharma R&D, cloud and semiconductor vendors publishing reference agent stacks, and academic or industrial research labs benchmarking models.
  • Applications: Internal coding agents over private repositories, model evaluation inside a controlled two-tool environment, agent observability and run replay, custom sandbox and approval policies, and packaging house tooling as reusable plugins.
  • 公司层面:AI 原生初创公司,以及中大型企业中已经运行内部工具的平台或开发者体验团队。受监管的企业可以在本地试点,因为它采用 MIT 许可且可自托管。
  • 行业:软件和开发者工具、金融服务和保险(可审计的代理运行)、医疗保健和制药研发、发布参考代理栈的云和半导体供应商,以及进行模型基准测试的学术或工业研究实验室。
  • 应用:私有代码库上的内部编码代理、在受控双工具环境中的模型评估、代理可观测性和运行回放、自定义沙箱和审批策略,以及将公司内部工具打包为可复用插件。

The Cordis kernel

Cordis 内核

Harness runs on Cordis, a meta-framework whose design is set out in A Programming Paradigm for Spatiotemporal Composability. The kernel handles plugin mounting, unmounting, and dependencies. Capabilities live in the plugins, not in a privileged core.

Harness 运行在 Cordis 上,这是一个元框架,其设计在《时空可组合性的编程范式》中阐述。内核处理插件的挂载、卸载和依赖关系。能力存在于插件中,而非特权核心中。

Plugins cover models, tools, skills, sessions, sandboxes, storage, loops, scheduling, and the UI. Cordis services and events let them work together. Developers select, swap, or extend any capability in configuration, without changing Harness source code.

插件涵盖模型、工具、技能、会话、沙箱、存储、循环、调度和 UI。Cordis 服务和事件使它们能够协同工作。开发者可以在配置中选择、替换或扩展任何能力,而无需更改 Harness 源代码。

Four runtime modes

四种运行时模式

Standard is the full coding agent: file editing, shell, file and web search, skills, planning, goals, subagents, and workflows. Code mode exposes those tools through a Code Mode SDK, so the model can combine multi-step operations in one TypeScript program. Minimal keeps two tools, a persistent bash and str_replace_editor, for benchmarking models in a bare environment. Creator mode adds runtime inspection, in-memory plugin experiments, and preset-authoring guidance.

标准版是完整的编码代理:文件编辑、shell、文件和网页搜索、技能、规划、目标、子代理和工作流。代码模式通过代码模式SDK暴露这些工具,因此模型可以在一个TypeScript程序中组合多步操作。极简版保留两个工具,一个持久的bash和str_replace_editor,用于在裸环境中对模型进行基准测试。创作者模式增加了运行时检查、内存插件实验和预设编写指导。

Every run is traceable

每次运行都可追踪

Everything the model sees is written to an append-only session log. That includes system prompts, reasoning, tool calls and results, subagent scheduling, and every context injection. The Trajectory view inspects those records by source. Resume, fork, search, and replay all operate on the same event stream. Most agent frameworks log tool calls; recording every context injection is the sharper claim here.

模型看到的所有内容都写入一个仅追加的会话日志。这包括系统提示、推理、工具调用和结果、子代理调度以及每次上下文注入。轨迹视图按来源检查这些记录。恢复、分叉、搜索和重放都在同一事件流上操作。大多数代理框架记录工具调用;这里更精确的说法是记录每次上下文注入。

Model routing is also a plugin

模型路由也是一个插件

In Settings → Models, a DeepSeek API key takes effect on the next request without restarting the server. The installed catalog adds providers such as Anthropic and OpenAI by API key. Bedrock, Vertex, Azure, and Codex need native credentials instead: AWS credentials and a region, an ADC project, an api-version, and OAuth respectively. Custom providers accept any OpenAI-compatible base URL and protocol. Keys are write-only and stored in $DSH_HOME/.credentials.yaml; settings retain only a credential reference.

在设置→模型中,DeepSeek API密钥在下一个请求时生效,无需重启服务器。已安装的目录通过API密钥添加Anthropic和OpenAI等提供商。Bedrock、Vertex、Azure和Codex需要原生凭据:分别是AWS凭据和区域、ADC项目、api-version和OAuth。自定义提供商接受任何兼容OpenAI的基础URL和协议。密钥是只写的,存储在$DSH_HOME/.credentials.yaml中;设置仅保留凭据引用。

Running it

运行它

npx @deepseek-ai/dsh web starts the Web UI, served at http://127.0.0.1:3080 by default. From a checkout: git clone, pnpm install, pnpm run build, then pnpm dsh web. A Python SDK ships as deepseek-harness-sdk and needs Python 3.10 or newer, on Linux x64, Linux arm64, or macOS 14+ on arm64. Its bundled runtime requires no system Node.js.

npx @deepseek-ai/dsh web 启动Web UI,默认在http://127.0.0.1:3080提供。从检出:git clone、pnpm install、pnpm run build,然后pnpm dsh web。Python SDK作为deepseek-harness-sdk提供,需要Python 3.10或更高版本,在Linux x64、Linux arm64或macOS 14+(arm64)上。其捆绑运行时不需要系统Node.js。

Key Takeaways

关键要点

  • MIT-licensed, ships as dsh, and is a developer preview.
  • The Cordis kernel makes models, tools, skills, sessions, sandboxes, storage, loops, scheduling, and UI swappable plugins.
  • Four modes — Standard, Code, Minimal, Creator — each load a different default plugin set.
  • An append-only session log captures every context injection; resume, fork, search, and replay share one event stream.
  • Provider-agnostic by design: DeepSeek, Anthropic, OpenAI, Bedrock, Vertex, Azure, Codex, and OpenAI-compatible endpoints.
  • MIT许可,以dsh形式发布,是开发者预览版。
  • Cordis内核使模型、工具、技能、会话、沙箱、存储、循环、调度和UI成为可替换的插件。
  • 四种模式——标准、代码、极简、创作者——每种加载不同的默认插件集。
  • 仅追加的会话日志捕获每次上下文注入;恢复、分叉、搜索和重放共享一个事件流。
  • 设计上不依赖特定提供商:DeepSeek、Anthropic、OpenAI、Bedrock、Vertex、Azure、Codex和兼容OpenAI的端点。

Check out the DeepSeek Harness product page, GitHub repository, Developer docs, DeepSeek announcement on X and Cordis. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

查看DeepSeek Harness产品页面、GitHub仓库、开发者文档、DeepSeek在X和Cordis上的公告。此外,欢迎关注我们的Twitter,别忘了加入我们超过15万成员的ML SubReddit,并订阅我们的通讯。等等!你在Telegram上吗?现在你也可以在Telegram上加入我们。

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

需要与我们合作推广你的GitHub仓库、Hugging Face页面、产品发布或网络研讨会等吗?请联系我们。

The post DeepSeek AI Releases DeepSeek Harness in Developer Preview: An MIT-Licensed Agent Harness Where Everything is a Plugin appeared first on MarkTechPost.

文章《DeepSeek AI在开发者预览版中发布DeepSeek Harness:一个MIT许可的代理工具,其中一切都是插件》最初出现在MarkTechPost上。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

另一事件,读法相近