In August 2026, DeepSeek released not just a model but a tool: DeepSeek Harness, also known as dsh — a harness for an AI agent that reads and edits files, runs commands, and drives work plans. I break down what it is, why it's needed in engineering practice, what its safety notice says, how access from Russia stands — and how to use it: via Web UI and together with opencode.
What it is
In the world of AI agents, a "harness" is the wrapper around the model: it gives the agent tools (files, shell, search), keeps sessions, draws the interface, and watches permissions. The model can be swapped — the harness stays. DeepSeek Harness is built on the "everything is a plugin" principle: tools, model providers, permissions, and even the applications themselves are plugins on top of the Cordis engine (the engine design is described in a separate article on arXiv). MIT license, TypeScript, open code — which matters when an agent works with your files and keys: you can read and verify what exactly goes to the network.
You can run the harness in different modes — they are called profiles:
| Profile | What it does |
|---|---|
dsh web | Web UI on localhost — the main mode for a human |
dsh --profile headless "task" | One-shot run: prints the final answer and exits — for scripts and CI |
dsh --profile sdk | JSON-RPC for the Python SDK — to embed the agent into your code |
dsh --profile acp | ACP protocol for editors and IDEs (Zed, JetBrains) |
| desktop | Electron app for workstations |
When it appeared and why it's notable
- The repository appeared on GitHub on August 13, 2026, status — developer preview: the authors explicitly warn about upcoming breaking changes, so treat this seriously.
- By mid-November it had over 280k stars and 34k forks: for a three-month project this is a hyper-speed, the plugin ecosystem grows faster than the documentation catches up.
- The positioning is honest: it's not a "ready-made replacement for Claude Code", but a platform from which you can build an agent of your own — with your own tools, your own models, and your own Web UI behind your own proxy.
Why it's useful: five arguments
| Surface | What it gives the engineer |
|---|---|
| Self-hosted Web UI | An agent with a browser interface on your own platform: teams don't need to install anything on workstations, the interface is closed off with SSO and is available only on the internal network |
| Multimodel | DeepSeek API out of the box, plus third-party providers (Anthropic, OpenAI, Kimi, GLM) and any OpenAI-compatible gateway in four protocols |
| Plugins | Agent tools and permissions are described in code, not in checkboxes: review via MR, like any other code |
| headless and Python SDK | The agent can be embedded into pipelines and automation, not just worked with by hand |
| ACP | The same sessions are available in the editor — but not in opencode: more on that below |
Brutal downsides: the project is three months old, compatibility will break; third-party plugins are unchecked; there was no security audit (a separate section — and it matters more than the pluses).
Security: read SAFETY.md before running, not after
The repository has a separate SAFETY.md, and this is a rare case where the warnings are worth quoting literally:
- The product is experimental and has not passed a security audit. It cannot be considered safe or production-ready.
- The agent executes code generated by the model, loads third-party plugins, and has access to network, processes, keys, and files you gave it.
- The sandbox does not guarantee isolation even when configured correctly: everything the agent is allowed to touch is under potential impact.
Practical measures from that document and from the publishing docs:
- First runs — in a one-off VM or container, with minimal permissions and a test repository.
- Plugins — only from trusted sources, each with review and conscious version choice. A third-party plugin in a profile is code with access to your sessions.
- Model provider API keys are stored write-only in
$DSH_HOME/.credentials.yaml: the key is not shown again in the UI, all access goes through credential links. Don't store keys in the repository next to the config. - Publishing the Web UI to a team — only behind a reverse proxy:
--trusted-hostlimits accepted hosts,--public-urlmerely declares the address. The run URL contains a one-time token — don't forward it to public channels. - TLS — at the proxy or at the listener (
--tls-cert/--tls-key); keep the listener port closed from the internet and ideally from the corporate network too.
Access from Russia
- The DeepSeek site, chat, and API platform in Russia are open directly, without VPN and bypasses: as of November 2026 there are no blocks from the service side, and Russian IPs are not cut off.
- API payment is a separate matter. Chinese payment systems may not accept a Russian bank card; allow time for issuing a foreign card or an aggregator, and for working stands create a separate key with a spend limit.
- dsh itself installs from npm without problems — the repository is available, any recent version of Node.js is enough.
- Plan B without external traffic: the weights of the latest DeepSeek models are traditionally open — a local vLLM or Ollama with a self-hosted model connects to dsh as an ordinary custom model API (the same in opencode), and the data doesn't leave your network at all. For regulation-sensitive tasks — the only acceptable option.
Installation and first run
# Node.js of any recent version is needed
npx @deepseek-ai/dsh web
# → Web UI at http://127.0.0.1:3080, opens in the browser itself
# run without opening the browser (e.g. over SSH)
npx @deepseek-ai/dsh web --no-open
Running from source — for contributors and those who want to iterate on plugins locally:
git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web
Then you need a model key. The basic option is DeepSeek API: register on the platform, create a key with a limit, insert it in the settings (see below).
Working with Web UI: from key to first task
- Settings → Models → DeepSeek map. Paste the API key and save — it applies without restarting the server, the next request already goes out with the new key.
- (Optional) other providers. "Add model provider" — either built-in (anthropic, openai, moonshotai for Kimi, zai for GLM), or "Custom model API" for your own gateway: Provider ID, base URL, protocol (OpenAI Chat Completions / OpenAI Responses / Anthropic Messages / Gemini), key. The "Fetch available models" button asks the endpoint for the list of models — a handy sanity check, not a guarantee: if the gateway doesn't return a list, models are entered by hand and work the same.
- Choose workspace. Add the project directory you ran dsh from and select it — without a workspace, messages are blocked.
- First task. The doc example — a normal check that everything is alive: "Summarize this repository and identify its main packages".
- Approval requests. The agent reads and edits files, runs commands, delegates subtasks, and drives the work plan — but operations that require approval under the current permission policy are first shown: confirm or reject with one click.
If you're connecting a corporate OpenAI-compatible gateway, the typical gotchas are known in advance: most gateways don't accept the system prompt in the developer role and max_completion_tokens instead of max_tokens. Fixed with two lines in cordis.patch.yml:
compat:
supportsDeveloperRole: false
maxTokensField: max_tokens
Publishing for a team (I'd do it this way myself) — behind a reverse proxy with WebSocket proxying, path prefix, and preserved Host header:
dsh --profile web \
--public-url https://ai.internal/ui/ \
--trusted-host ai.internal
The same model in opencode
An important clarification so you don't look for a non-existent integration: opencode and dsh are both agents; neither "plugs into" the other. opencode has its own ACP mode (opencode acp) for editors like Zed, dsh has its own (dsh --profile acp) — two equal harnesses, not client and server. The practical link is different — the same DeepSeek model in two workspaces: the team — dsh Web UI, yourself in the terminal — opencode.
DeepSeek models are already in the opencode catalog, so everything is done with plain commands without config changes:
/connect # pick DeepSeek, paste the API key (env: DEEPSEEK_API_KEY)
/models # pick deepseek-v4-pro or deepseek-v4-flash
If you need your own gateway or local vLLM — a custom provider in opencode.jsonc:
{
"$schema": "https://opencode.ai/config.json",
"providers": {
"deepseek-gw": {
"name": "DeepSeek (gateway)",
"env": ["DEEPSEEK_API_KEY"],
"package": "@opencode/ai/providers/openai-compatible",
"settings": { "baseURL": "https://llm.example.internal/v1" },
"models": {
"deepseek-v4-flash": { "name": "DeepSeek V4 Flash" }
}
}
},
"model": "deepseek-gw/deepseek-v4-flash"
}
Keep the division of labor simple: dsh — web interface, team collaboration, headless automation; opencode — terminal and the developer's right pocket. Same model, shared accounts, but sessions and permissions are each its own.
What the reviews say: the consensus as of November 2026
The tool is three months old, and a noticeable audience of writers has already formed around it — from hands-on reports on Habr to comparative analyses. What they almost all point out:
- Architecture is the main value.The breakdowns converge: "everything is a plugin" is not marketing, it's a working mechanism. The VC.ru review analyzes "capability seams" — interfaces are described separately from implementations, so the file provider can be swapped for a remote sandbox without forking code, and the session log remains the single source of truth.
- The agent can rebuild itself.The hardcore "Inside DeepSeek Harness" review on Habr praises Cordis, session events, and permission boundaries; TeamoRouter separately notes meta-tools (
cordis_define): a running agent can define a new plugin on the fly — and continue working with an expanded toolset. - Token savings were noticed by everyone: single-source session log and spill of tool output summaries to disk (the model returns only a file reference) — the technical basis of the "cheap agent" reputation.
- In prod — not yet.The TeamoRouter comparison gives an honest verdict: OpenCode — minimalism and stability "out of the box", dsh — a builder for those who build their own agent and are ready for breaking changes. While in developer preview — stands and experiments.
Implementation checklist
- First run — in a one-off VM or container, with a test repository, without production keys.
- A separate API key with a spend limit per stand — one key per stand, rotation painless.
- Web UI outside — only via reverse proxy: TLS,
--trusted-host, listener port closed from unnecessary networks. - Every plugin — with review: whose code, what it touches, which version. "Installed from a chat link" is not a process.
- Decide in advance where the data lives: with the provider's cloud or on local weights — for sensitive tasks the answer should be "local".
An AI agent in an engineering toolkit is no longer an exoticism, it's a tool on par with CI. An open harness with plugin architecture — a way to take this tool under control: your own models, your own tools, your own interface behind your own proxy. While dsh is in developer preview, its place is stands and experiments; but even in this status it's the best way to understand how agent harnesses work — from inside, with open code.
Reviews and videos on the topic
A list of checked materials — review articles and video breakdowns, on which I relied and which are worth going through yourself. Numbers (views, ratings) are as of November 2026.
Textual reviews
- DeepSeek Harness: open framework for AI agents, everything is a plugin (VC.ru, 18.08.2026) — architecture breakdown: Cordis, session events, capability seams, presets.
- Inside DeepSeek Harness: Cordis, Session Events, Tool Pipelines, and Permission Boundaries (Habr) — deep technical breakdown of internals.
- I tested DeepSeek Harness and here's what I got (Habr) — hands-on report after real work with the agent.
- What is a Harness and what is it eaten with? (Habr) — introduction for those confused about "harness", "agent", and "model".
- Android client for DeepSeek Harness: working with the agent from a PC to phone without cloud and FCM (Habr) — case of accessing a self-hosted Web UI from mobile.
- DeepSeek Harness vs OpenCode: Which Agent to Pick (2026) (TeamoRouter, updated 30.10.2026) — comparison of the "everything is a plugin" approach against minimalism, with token prices.
YouTube videos
- THE FULL GUIDE TO DEEPSEEK HARNESS: installation and usage | Free replacement for Claude Code — GORA ACADEMY (Sergey Nagorny), 66k views. Russian-language overview from zero to full agent operation.
- DeepSeek Harness Architecture: Insane Software Engineering Behind It — Cloud Codes, 56k views. Engineering architecture breakdown.
- DeepSeek 5 Harness vs Claude Fable 5.2: comparing models, agents, and results — Nauch AI, 31k views. Russian-language comparison of DeepSeek and Anthropic approaches.
- DeepSeek Harness (DSH) Setup with Qwen 3.8 27B Locally on Ollama — Full Tutorial — Laxmi Kant | KGP Talkie, 17k views. Fully local setup without API keys.
- Learn 90% Of DeepSeek Harness in 12 Minutes — kintu, 13k views. Dense summary in 12 minutes.
- DeepSeek Harness: Install and use open source DeepSeek Harness locally for free — IA Professeur, 8k views.
- Deepseek Harness: Everything is a plugin — DevsKingdom, 8k views.
- Install DeepSeek Harness on Windows 11 + Run DeepSeek V4 (2026) — Lite AI Lab, 7k views. For Windows users.
- DeepSeek Harness setup, instructions, plugins + migrating chats from Claude and ChatGPT — Igor Zuzevich. Russian-language practical breakdown.
- DeepSeek agent for GitHub: installation and main risk — AI without water. A short look at security risks.
- DeepSeek Harness + OpenCode Tutorial: Build INSANE Websites — Lorixx Ai. Practical link between the two tools from this post.
- DeepSeek Harness Ecosystem — 5 Free Repos Built Around It — Evolution with AI. Review of third-party projects around dsh.
- NEW DeepSeek Harness update is INSANE! — The AI Detective. Quick review of fresh updates.