DeepSeek Harness

Claude Code Alternative: Run a Coding Agent on DeepSeek Harness

· 6 min read · 中文版

If you want a Claude Code alternative that you can extend with plugins and point at the model provider of your choice, DeepSeek Harness (DSH) runs a coding agent that edits files, runs commands, asks for approval and delegates to subagents, with DeepSeek, Anthropic, OpenAI, Kimi, GLM or any compatible endpoint behind it.

What is DeepSeek Harness?

DeepSeek Harness is an agent runtime built from plugins. The DSH Web UI guide describes the basic loop: configure a model in Settings → Models, choose a workspace, start a session and give the agent a task. The agent can read and edit workspace files, run commands, delegate work and maintain a plan. The Web UI asks before operations that require approval under the active permission policy.

The whole application is a composition of Cordis plugins. The Cordis primer explains the services, dependencies and lifecycle that those plugins share. The dsh launcher boots a named profile, and a profile is an ordered list of plugin bundles plus your own configuration patch. That design is the main reason people look at DSH as a Claude Code alternative: the agent, its tools and its interface are all parts you can add, remove or replace.

If you have not installed it yet, start with how to install DeepSeek Harness.

What does DSH share with Claude Code?

Day to day, the two tools cover the same core work. You point an agent at a repository, describe a change, and it reads code, edits files and runs commands to check its work. Both have the following:

  • File edits and shell commands inside a workspace you choose.
  • Approvals and permission modes. DSH permission presets pair a sandbox mode with an approval policy, so you decide whether the agent asks first or proceeds.
  • Subagents. A main agent can hand a bounded task to a child agent with its own session and receive the result when it finishes.
  • MCP servers. DSH connects to MCP servers over stdio or Streamable HTTP and exposes their tools to the agent. The MCP memory guide walks through a setup.
  • Skills. DSH discovers skill folders from the project and user directories, including .agents/skills, and loads a skill's full instructions only when the agent selects it.

If those features are what you rely on in Claude Code, you will find equivalents in DSH. The differences are in how the system is put together and which models it can use.

How is this Claude Code alternative different?

DeepSeek Harness: pick a model provider, pick an interface, add plugin bundles, then run the coding agent

Open plugin architecture. Every DSH feature ships as a Cordis bundle. You can install official bundles, community bundles or a local checkout into a profile, and write your own with the first plugin tutorial. The DSH Plugin Registry lists community repositories tagged dsh-plugin whose manifests passed a structural check, and official bundles are listed separately. A listing or a passed manifest check is not a security review, so read a plugin's source before you install it.

Model choice. The model configuration guide describes three paths in Settings → Models:

  1. Enter a DeepSeek API key on the DeepSeek card.
  2. Choose Add model provider and pick a third-party provider that DSH ships with, such as anthropic, openai, moonshotai for Kimi, or zai for GLM. The installed catalog supplies the endpoint and model list.
  3. Switch to Custom model API for a relay, company gateway or self-hosted server. You supply the base URL, the protocol it speaks (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or Gemini API), a key and the model ids.

Model changes take effect on the next request without a restart. Because Anthropic is one of the shipped providers, you can keep using Claude models inside DSH if you like them.

Several interfaces from one launcher. DSH ships a Web UI (dsh web), a Desktop app, and profiles for other callers: headless runs one task and prints the final answer, sdk serves JSON-RPC clients over standard input and output (the Python SDK uses it), and acp serves Agent Client Protocol clients. All of them run the same agent runtime.

Claude Code vs DeepSeek Harness: how do they compare?

This table compares what each tool is built around. It does not compare speed, price or model quality; test those on your own codebase.

QuestionClaude CodeDeepSeek Harness
Who builds itAnthropicThe DeepSeek Harness project, open source on GitHub
ModelsBuilt for Anthropic's Claude modelsDeepSeek, shipped third-party providers (Anthropic, OpenAI, Kimi, GLM and others) or any custom endpoint speaking a supported protocol
Main interfaceTerminal CLI first, with IDE and other Anthropic surfacesWeb UI and Desktop app, plus headless, SDK and ACP profiles
Edits files and runs commandsYesYes
Approvals before risky actionsYes, through permission modesYes, through permission presets (sandbox mode plus approval policy)
SubagentsYesYes, local subagents, plus optional Codex and Claude Code subagent bundles
MCP and skillsYesYes
Extending the tool itselfConfiguration, hooks, MCP servers and pluginsEvery feature is a Cordis plugin bundle; you can replace parts of the runtime

One row deserves a note. DSH offers an optional @deepseek-ai/dsh-subagent-claude-code bundle that lets a DSH agent hand a self-contained task to Claude Code. Choosing DSH does not have to mean giving up Claude Code entirely.

For a wider comparison that includes Codex, read DeepSeek Harness vs Claude Code vs Codex.

When is Claude Code still the better fit?

DSH is not the right answer for everyone. Claude Code is likely the better choice when:

  • You work mainly in a terminal and want a tool designed for that from the start.
  • You plan to use only Claude models and prefer a tool whose defaults Anthropic tunes for them.
  • Your team wants one vendor responsible for the agent, the model and support.
  • You do not need to swap providers, run behind your own gateway or change how the agent itself is built.

DSH fits better when model choice matters to you, for example when you want to run DeepSeek models, route requests through a company gateway, or compare providers on the same task. It also fits when you want a browser or desktop interface, an SDK or ACP integration, or the ability to write plugins that change the agent's tools and UI.

How do you try DSH as a DeepSeek coding agent?

  1. Install DSH by following the install guide, then start the Web UI with dsh web or open the Desktop app.
  2. Open Settings → Models and add a DeepSeek key, a shipped provider or a custom endpoint.
  3. Choose a workspace. The composer stays unavailable until you select one.
  4. Send a small, reviewable task, such as asking the agent to summarize the repository and identify its main packages.
  5. Review the approvals it requests and the changes it makes before giving it larger work.
  6. Browse community plugins and official bundles only after the base setup works, and review each plugin's source first.

Common setup questions are collected in the FAQ.

Frequently asked questions

Is DeepSeek Harness an open source Claude Code alternative?

DeepSeek Harness is developed in the open on GitHub. Like Claude Code, its agent edits files, runs commands, asks for approval and supports subagents, MCP and skills.

Can I use Claude models in DeepSeek Harness?

Yes. Anthropic is one of the third-party providers DSH ships with. Add it under Settings → Models with an API key.

Can DeepSeek Harness call Claude Code itself?

An optional bundle, @deepseek-ai/dsh-subagent-claude-code, lets a DSH agent delegate a self-contained task to Claude Code as an external subagent.

When should I stay with Claude Code?

Stay with Claude Code if you work mainly in a terminal, use only Claude models and want one vendor responsible for the agent, model and support.

Sources

Every claim in this article was checked against the sources below. Community discussions are user reports, not official behavior.

  1. Configure models
  2. Memory MCP servers
  3. First plugin
  4. Cordis primer
  5. DeepSeek Harness on GitHub

This is an independent community article, not official DeepSeek documentation. Listing a plugin in the registry is not a security review.

← Back to all articles

Claude Code Alternative: Run a Coding Agent on DeepSeek Harness