DeepSeek Harness
What is DeepSeek Harness?
DeepSeek Harness is an open-source agent harness from DeepSeek AI. It connects a language model to a workspace's files and shell and runs the model as an agent. The agent reads and edits files, runs commands, maintains a plan, and delegates work to other agents. The software is built as a set of plugins, including the model adapter, the tool registry, the session log, and the agent loop, so each can be replaced through configuration. It is written in TypeScript, runs on Node.js, and uses the Cordis framework as its plugin runtime.
Developers use DeepSeek Harness to run a coding agent on a local repository and to build custom agent workflows and products on a plugin architecture.
Key capabilities
- Agent execution: An agent reads and edits files in a selected workspace, runs commands, delegates tasks to subagents, and keeps a plan. The Web UI asks for approval before operations that the active permission policy requires approval for.
- Model providers: Users add a DeepSeek API key, or a key for third-party providers that ship with the product, including Anthropic, OpenAI, Moonshot AI (Kimi), and Z.ai (GLM). Custom model APIs are supported for gateways and self-hosted servers over four protocols: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and the Gemini API. Model changes apply on the next request without restarting the server.
- Credential handling: Keys entered in the Web UI are write-only and are stored in a credentials file under the Harness home directory. The UI shows only a redacted preview.
- Session log: A durable, append-only event log records each session. The log is the basis for resuming, forking, and inspecting sessions.
- Plugin system: Plugins contribute services, typed events, and reversible effects to a shared context. When a plugin unloads, its registrations unwind. A plugin manager installs plugins into a profile with pnpm and checks each plugin's declared version range against the installed runtime. Plugins are discoverable through the
dsh-plugintopic on GitHub. - Profiles and bundles: A profile is a named stack of bundles plus the user's own patch file, which can replace or add configuration rows. Shipped profiles are
web,headless,sdk,sdk-minimal, andacp. Users can print the composed configuration with a command-line flag. - Interfaces: A browser-based Web UI, a headless one-shot runner, an SDK server over JSON-RPC (with a Python client), an automation server over the Agent Client Protocol (ACP), and an Electron desktop application.
- Optional overlays: The repository ships opt-in configuration for GitHub review webhooks, memory servers that use the Model Context Protocol (MCP), and runtime Cordis tools. They are not part of any default profile.
Installation
- From npm: With Node.js installed,
npx @deepseek-ai/dsh webstarts the Web UI athttp://127.0.0.1:3080by default and opens it in the default browser for a local launch. - From source: Clone the repository, then run
pnpm install,pnpm run build, andpnpm dsh web. - First run: The user enters a model API key under Settings, then Models, and chooses a workspace. The session composer stays unavailable until a workspace is selected.
- License: MIT.
Developer Preview and Safety
DeepSeek Harness is in developer preview. The repository warns that compatibility-breaking changes will occur. The project's safety notice states that it has not undergone a security audit and must not be treated as secure or production-ready. It can run model-generated code and commands, load third-party plugins, and access the network, processes, credentials, and files made available to it. The notice states that sandboxing, approval prompts, and permission controls reduce risk but do not guarantee isolation. It recommends running with least privilege in a disposable virtual machine, container, or dedicated environment.
DeepSeek AI first published DeepSeek Harness on August 13, 2026. As of November 2026, the repository describes it as a developer preview.
Categories & Use Cases
Technical Details
| Deployment Types | On-Premise |
|---|---|
| Mobile Application | No |