SuperAPIAI Directory

More Info

github.com · AI agents

DeepSeek Harness (dsh) is an open-source agent runtime from DeepSeek AI, built on Cordis's "everything is a plugin" architecture, offering a CLI and a local Web UI. It covers LLM, MCP, LSP, ACP, sandbox, skills, subagents, sessions, tools, plans, scheduling, Shell, and the Web layer—even the agent loop itself is replaceable. The project was open-sourced under the MIT license on August 13, 2026, and gained 70,000+ GitHub stars within 24 hours; the October 3, 2026 release added an experimental Claude Code Mods compatibility layer. It remains a developer preview, with an unstable CLI/API and possible breaking changes at any time.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

DeepSeek Harness (dsh for short) is an open-source agent harness from DeepSeek AI, adopting Cordis's "everything is a plugin" architecture and delivered as a CLI plus a local Web UI. The project was open-sourced as v0.1 under the MIT license on August 13, 2026, surpassed 70,000 GitHub stars within 24 hours, and has since iterated weekly (RC.8 → 0.1.2-rc.1 → 0.1.7-rc series). It is officially labeled a developer preview, with the CLI and API considered unstable and breaking changes possible at any time.

Purpose and positioning: dsh is a complete agent runtime covering LLM, MCP, LSP, ACP, sandbox, skills, subagents, sessions, tools, plans, scheduling, Shell, and the Web layer. It can be used as a standalone coding/research agent or embedded as a runtime in your own products.

Key capabilities:

  1. Everything is a plugin: the runtime is built on Cordis, an IoC-style plugin framework. Every subsystem—LLM, MCP, LSP, sessions, tools, plans, sandbox, scheduling, Web, and more—is a Cordis plugin using the same event/service/effect model, and even the agent loop itself is a replaceable plugin.
  2. CLI and Web UI out of the box: after running npx @deepseek-ai/dsh web, the Web UI by default runs at http://127.0.0.1:3080 Provide services, without distinguishing between "headless" and "GUI" builds.
  3. Four runtime modes (presets): Standard (full toolset); Code/PTC mode (the model writes a TypeScript program to orchestrate multiple tool calls, reducing token consumption); Minimal (only the Shell tool plus a file editor, DeepSeek used for official model benchmarking); Creator (runtime inspection plus in-memory plugin experiments, used to compose new modes).
  4. Native image input: model adapters can send images directly; for models without vision capabilities, the runtime falls back to tools such as OCR, color statistics, and pixel scanning to convert images into structured information.
  5. Absorb competitors as subagents: Claude Code and Codex can be installed as Profile Bundles and scheduled as task executors in DSH workflows (Codex supports non-interactive permission modes and multiple named instances).
  6. Fully traceable: everything the model sees is recorded in an append-only session log (system prompts, reasoning, tool calls and results, subagent scheduling, context injection); the Trajectory view allows inspection by source, and restore/fork/search/replay are all based on the same event stream.
  7. Bilingual architecture documentation: the docs/ directory provides Chinese and English documentation on architecture, agent lifecycle, tool execution pipeline, capability seams, Cordis getting started, defense modes, and more.
  8. 40+ first-party packages: core, llm, mcp, lsp, acp, sandbox, skill, subagent, session, tools, plan, goal, schedule, web, shell, terminal, workflow, jobs, hooks, guard, feedback, compaction, context, attachment, identity, credentials, e2b, runtime-diagnostics, typert, client, host, sdk, extensions, bundle, boot, storage, preset, etc.
  9. Ecosystem: about 300 community plugins during the testing period, 1000+ after open sourcing; 100+ official plugins built in; a plugin store is planned.

Core concepts: a plugin (Cordis) is the basic unit, declaring events, services, and effects, and can wait for other plugins' services; a service is an injectable capability that plugins obtain via this.someService and wait for; an event is a typed lifecycle hook used for inter-plugin messaging and runtime diagnostics; an effect is a long-lived side effect registered with the lifecycle system (such as tool calls or sandbox subprocesses); a capability seam is the explicit location where new capabilities (LLM providers, tools, transports, storage) are integrated.

Usage: run npx @deepseek-ai/dsh web to start the Web UI, with the default address http://127.0.0.1:3080,--host / --port parameters, see the upstream Web UI guide. You can also run dsh directly in the terminal as a coding/research agent. Switch modes by task: use Standard for everyday coding; use Code/PTC for batch operations/complex orchestration (saves tokens); use Minimal for model benchmarking; use Creator for plugin development and custom presets. Claude Code / Codex can be installed as a Profile Bundle and scheduled as sub-agents, with reportDelivery returning results and waking the waiting parent task. When embedding into your own product, since the runtime is a set of Cordis plugins, you can import only the packages you need (for example, removing the Web UI to run headless). To extend with a new LLM or tool, write a small Cordis plugin that registers the service and effects; lifecycle, event bus, etc. are handled by the runtime. Using the workflow, plan, goal, and schedule packages, you can run multi-step, time-based, or goal-oriented tasks that can span restarts.

The October 3, 2026 version adds an experimental Claude Code Mods compatibility layer: some extensions built for Anthropic Claude Code can run inside DSH after adaptation. Lead maintainer Cui Tianyi said the layer aims to test "whether the extension surface of Claude Code Mods is a subset of DSH plugin capabilities"; currently not all Mods run seamlessly, but technically it will be feasible in the future.

Use cases: standalone agent runner (coding/research); switching modes by task; scheduling Claude Code / Codex as sub-agents; embedding into your own product; extending with your own LLM/tools; spec-driven or workflow-driven multi-step, scheduled, or goal-oriented tasks.

Limitations: still a developer preview; from v0.1 to the 0.1.7-rc series, documentation, CLI, and API continue to change, and breaking changes may appear at any time, so it is not yet suitable for everyday production workflows; the Claude Code Mods compatibility layer is experimental, and not all Mods run seamlessly; documentation lags behind the code in some places, and newer packages may not yet be fully covered; npm distribution is accelerating but the API is unstable, so check migration notes before upgrading (such as the session log v4 upgrade and settings and preset migration); there is no public cloud service; it is a self-hosted, local-first runtime, and DeepSeek does not provide a hosted service for this runtime; pluginsThe supply chain is a double-edged sword: tool plugins can access files and the network, and storage plugins hold complete sessions, so before production use you need to review plugin sources, permission boundaries, and dependency conflicts.

Related experimental project: dsh-superagent-prototype was open-sourced under the MIT license on October 31, 2026. It is an independent research prototype repository, not the same repository as deepseek-harness (dsh), but it belongs to the same dsh lineage and team, serving as a reference for the runtime's evolution toward more autonomous agent systems. Its README explicitly calls it a research prototype, not a finished or production-ready product. It targets a single code repository, can receive work requests from channels such as GitHub, autonomously create tasks, write code, and return to the original thread to submit a PR or items requiring human attention. The architecture is divided into Router and Worker: the Router handles messages, dispatches tasks, and maintains global context; Workers run independent jobs and can also directly handle follow-up PR comments. Two layers of filtering (hard rules plus model judgment) screen events, and an independent Watchdog checks whether tasks fall into useless loops or deviate from the goal and intervenes. Early team experiments covered about 300 messages and 20 requests, with a median task completion time of 12.4 minutes; the sample is small and does not constitute a general performance claim. The public version is not fully consistent with the internal version and design documents, and some capabilities remain future work; before pointing it at a real repository, you need to review permissions, credentials, and code quality.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools