DeepSeek Harness 开发者预览版
DeepSeek Harness developer preview

原始链接: https://deepseek.com/harness/en/

DeepSeek Harness 基于 Cordis 的插件系统构建。插件提供了所有的智能体能力,包括模型、工具、技能、会话、沙盒、存储、循环、调度和用户界面。Cordis 的服务和事件机制使这些插件能够协同工作。开发者无需修改 DeepSeek Harness 的源代码,即可在配置中选择、替换或扩展任何功能。 模型所见的一切内容均记录在只追加的会话日志中:包括系统提示词、推理过程、工具调用及其结果、子智能体调度以及每一次上下文注入。在“轨迹(Trajectory)”视图中,你可以按来源检查这些记录。恢复、分支、搜索和重放功能均基于同一事件流运行。 标准模式包含全套工具集。代码模式使用模型生成的代码来编排多轮工具调用。最小模式仅保留 Shell 工具和文件编辑器,用于在极简环境中对模型进行基准测试。创建者模式允许你检查当前运行时、在内存中测试 Cordis 插件,并将它们组合成新的模式。

DeepSeek Harness 代码库的发布在 Hacker News 上引发了热烈讨论。用户起初对其项目用途感到困惑,指出其 GitHub README 文档内容匮乏且缺乏清晰说明,尽管补充性的落地页提供了一些必要的背景信息。 讨论的焦点之一在于,为何 AI 代理框架(harness)多采用 Node.js 而非 Python 构建。支持者认为,该语言具备强大的异步处理能力,通过 npm 进行分发非常便捷,且在解释型环境中实现插件化架构也更为简单。 讨论还涉及了“官方”与“第三方” AI 框架的实用性。一些开发者质疑官方工具在性能上是否真的比自建框架更具优势。此外,用户还探讨了自托管编程代理的经济效益,指出跟踪直接的 Token 使用量,往往比订阅昂贵的固定费率开发者工具更具性价比,且能避免因后者可能诱导产生的低质量“垃圾代码”。
相关文章

原文

DeepSeek Harness is built on Cordis's plugin system. Plugins provide every agent capability, including models, tools, skills, sessions, sandboxes, storage, loops, scheduling, and the UI. Cordis services and events let the plugins work together. Developers can select, swap, or extend any capability in configuration without changing the DeepSeek Harness source code.

Everything the model sees is recorded in an append-only session log: system prompts, reasoning, tool calls and results, subagent scheduling, and every context injection. In the Trajectory view, you can inspect these records by source. Resume, fork, search, and replay all operate on the same event stream.

Standard mode includes the full toolset. Code mode uses model-generated code to orchestrate multiple rounds of tool calls. Minimal mode keeps only a shell tool and a file editor for benchmarking models in a minimal environment. Creator mode lets you inspect the current runtime, test Cordis plugins in memory, and combine them into new modes.

联系我们 contact @ memedata.com