DeepSeek Harness
deepseek-ai / deepseek-harness
DeepSeek 的插件化 agent harness(dsh):一切皆插件,本地 Web UI 一条命令起,面向多模型、多工具的长期任务。DeepSeek’s plugin-based agent harness (dsh): everything is a plugin, a local web UI starts with one command, and it targets long tasks across models and tools.
为什么选Why choose it
- “everything-is-a-plugin”架构,模型、工具、界面都能拆成插件替换,适合想看 harness 内部怎么组装的人。Plugin boundaries make it easy to add or replace capabilities.
- `npx @deepseek-ai/dsh web` 就能在 127.0.0.1:3080 起 Web UI;也支持从源码构建和桌面端。One-command local web UI lowers the entry cost.
- DeepSeek 官方维护,2026 年新项目里 star 增长最快的一档;适合做 coding / 通用 agent 的二次开发底座。Built for multi-model, multi-tool long-running work.
不适合Not for
目前是 developer preview,README 明确说会有 breaking changes;不要直接当生产稳定版。You need a stable, widely documented production orchestrator.
不是零配置聊天工具;插件、权限与模型路由要自己读文档配。You want a minimal library rather than a harness with a UI.
最小上手Minimum setup
- 先读 SAFETY.md 与插件模型文档,确认它会拿哪些权限、把状态写到哪里。Start the local UI and run a read-only task first.
- 用 `npx @deepseek-ai/dsh web` 起本地 UI,接一个模型跑最小任务,观察插件加载与日志。Install one plugin and check its permissions and logs.
- 再装一个工具插件,换成自己的仓库/文档做一次长任务,记录断点与恢复行为。Set a task budget and a stop condition before a long run.
依赖与成本Dependencies and cost
Node.js;模型 API key 或本地 endpoint;插件依赖;长期运行要守护进程与磁盘空间。Check runtime, model weights and external service dependencies in the README.
许可与使用边界License and usage boundaries
代码 MIT;第三方插件与模型权重可能另有许可,插件市场里的仓库要单独看。Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.
开源不等于可商用:GPL / AGPL 有传染性;代码许可、模型许可、生成内容许可要分开看。上线前读仓库 LICENSE 与模型卡,必要时让法务确认。Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
替代与相邻Alternatives and neighbors
- OpenCode — 生产可用Production,终端里的开源 coding agent:build / plan 双 agent、LSP 反馈、75+ 模型提供商,另有桌面 beta。An open-source coding agent in the terminal: separate build and plan agents, LSP feedback, 75+ model providers and a desktop beta.
- Codex CLI — 生产可用Production,OpenAI 的本地 coding agent:Rust 实现、OS 级沙箱、MCP 与云任务交接,适合终端里改代码。OpenAI’s local coding agent: Rust binary, OS-level sandbox, MCP and cloud-task handoff, built for editing code in the terminal.
- OpenHands — 生产可用Production,能读代码、改代码、跑命令的软件工程 agent,提供 CLI、Web 界面与沙箱运行时,可接本地或云端模型。A software-engineering agent that can read code, edit it and run commands, with CLI, web UI and a sandboxed runtime.
下一步Next steps
- 打开 GitHub,先读 README、LICENSE、最近 release 与 issue。Open GitHub and read the README, LICENSE, latest release and issues first.
- 按“部署依赖 / 显存 / 数据 / 网络 / 权限”列一张上手清单。Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- 用一个小样本跑通,再决定是否进生产;不要直接上生产数据。Run a small sample first, then decide on production; never start with production data.
GitHub 仓库 ↗GitHub repository ↗ 文档 ↗Docs ↗ 加入对比Add to compare