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:

ProfileWhat it does
dsh webWeb 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 sdkJSON-RPC for the Python SDK — to embed the agent into your code
dsh --profile acpACP protocol for editors and IDEs (Zed, JetBrains)
desktopElectron 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

SurfaceWhat it gives the engineer
Self-hosted Web UIAn 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
MultimodelDeepSeek API out of the box, plus third-party providers (Anthropic, OpenAI, Kimi, GLM) and any OpenAI-compatible gateway in four protocols
PluginsAgent tools and permissions are described in code, not in checkboxes: review via MR, like any other code
headless and Python SDKThe agent can be embedded into pipelines and automation, not just worked with by hand
ACPThe 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-host limits accepted hosts, --public-url merely 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

  1. 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.
  2. (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.
  3. Choose workspace. Add the project directory you ran dsh from and select it — without a workspace, messages are blocked.
  4. First task. The doc example — a normal check that everything is alive: "Summarize this repository and identify its main packages".
  5. 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

  1. First run — in a one-off VM or container, with a test repository, without production keys.
  2. A separate API key with a spend limit per stand — one key per stand, rotation painless.
  3. Web UI outside — only via reverse proxy: TLS, --trusted-host, listener port closed from unnecessary networks.
  4. Every plugin — with review: whose code, what it touches, which version. "Installed from a chat link" is not a process.
  5. 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

YouTube videos