DeepSeek Harness vs Claude Code vs Codex CLI
In a DeepSeek Harness vs Claude Code comparison (and Codex CLI with it), the main difference is architecture: DeepSeek Harness is a plugin-composed harness that can call many model providers and can even run Codex or Claude Code as subagents, while Claude Code and Codex CLI are coding agents from model vendors, each built around its own vendor's models.
This comparison covers architecture and extension models. It does not rank output quality or price. Facts about DeepSeek Harness (DSH) come from its installed documentation for DSH 0.2.2-rc.3. Statements about Claude Code and Codex CLI are kept general and are given per their public documentation at time of writing. Both products change often, so check their current documentation before relying on a specific detail.
DeepSeek Harness vs Claude Code: what is the architectural difference?
DSH is built from profiles. The DSH CLI README describes a profile as an ordered stack of plugin-bundle patch layers, with the user's own overrides on top. The Web UI, headless mode, the SDK server and the ACP server are all profiles that load different bundles. The product shape you get therefore depends on which bundles a profile composes, and the plugin framework underneath is described in the Cordis primer.
Claude Code and Codex CLI are, per their public documentation at time of writing, agent applications that their vendors ship as one product. You configure them through settings files and extend them through supported mechanisms such as MCP. You do not rebuild them from layers. This makes their default experience more fixed and their setup shorter. DSH asks you to choose a profile, a model provider and the plugins you want.
Which models and providers can each tool use?
The DSH model configuration guide lists three routes in Settings → Models:
- DeepSeek, with an API key or a signed-in DeepSeek account.
- Third-party providers shipped in the installed catalog, with provider ids such as
anthropic,openai,moonshotaifor Kimi, andzaifor GLM. - Custom model APIs for relays, company gateways or self-hosted servers. These speak OpenAI Chat Completions, OpenAI Responses, Anthropic Messages or the Gemini API.
Keys are write-only in the UI and stored in $DSH_HOME/.credentials.yaml. A session keeps the model recorded in its own log after its first request.
Claude Code is designed around Anthropic's Claude models, and Codex CLI is designed around OpenAI's models, per their public documentation at time of writing. Both document some routes through other endpoints or cloud platforms. The details vary by version, so this post does not list them. If model choice is your main requirement, DSH's provider guide is the most explicit of the three about mixing vendors in one installation.
Which interfaces does each one offer?
| Interface | DeepSeek Harness | Claude Code / Codex CLI (per public docs at time of writing) |
|---|---|---|
| Web UI | dsh web profile | Not their primary interface |
| Desktop app | DSH Desktop, with its own reserved desktop profile | Varies by product; check current docs |
| Terminal | Optional terminal profile (the README shows tui as an example, assuming it is installed) | Primary interface |
| Headless, one-shot | dsh --profile headless "job" prints the final answer and exits | Both document a non-interactive mode |
| SDK | Python SDK (deepseek-harness-sdk) talking JSON-RPC over stdio to the sdk profile | Both vendors publish SDK or programmatic options |
| ACP | dsh --profile acp serves ACP clients over stdio | Varies; check current docs |
The DSH column comes from the CLI README and the Python SDK guide. The right column is deliberately broad. Do not read it as a feature matrix for a specific release.
How do plugins, skills and MCP compare?
DSH has three extension layers that work together:
- Plugin bundles. A bundle contributes a patch layer to a profile and can register services, tools and UI through Cordis. You can install bundles with
dsh plugin --profile <name> add <package>, or from a plugin index in the Discover tab of the Plugins page after you enable the experimental custom index bundle. The plugin market guide covers that flow. Official bundles are listed on /official, and community repositories taggeddsh-pluginare on /explore. - Skills. These are named instruction sets. The agent sees their summaries and loads the full body only when a task needs it. Local skills are discovered from project and user directories such as
.dsh/skillsand.agents/skills. - MCP servers. The MCP guide shows a generic client that starts a stdio command or connects to a Streamable HTTP URL. It exposes the server's tools as
mcp__<serverName>__<tool>.
Claude Code and Codex CLI both support MCP servers and project instruction files that tell the agent how to work in a repository, per their public documentation at time of writing. Each product also has its own extra mechanisms, and their names and formats change between versions. I have not verified them for this post, so they are not listed here.
A practical note: the registry lists repositories whose root manifest passed a structural check. A listing, a manifest check or a high star count does not mean a plugin is safe or reviewed. Read the code at the exact version you install.
How do permissions and approvals compare?
DSH separates two controls. The sandbox mode (read-only, workspace-write, danger-full-access) limits file effects of confined subprocesses. The approval policy (ask or never) decides what happens when an operation requests permission. A permission preset is a named pair of the two, and the default table contains workspace-write with ask and danger-full-access with never. Under never, approval requests are rejected. It does not mean every request is approved automatically. The permission presets post covers this in detail.
Claude Code and Codex CLI each have their own permission or approval modes and sandbox options, per their public documentation at time of writing. Their mode names and defaults are not the same as DSH's, so do not map one product's mode name onto another's behavior. When DSH runs them as subagents, their native modes apply. Codex defaults to never and Claude Code defaults to dontAsk in the DSH provider bundles.
Codex CLI vs Claude Code inside DSH: can you use both?
Yes. DSH ships optional subagent provider bundles for both products, so the choice is not exclusive:
- Pick the profile that will delegate the work.
- Add
@deepseek-ai/dsh-subagent-codex,@deepseek-ai/dsh-subagent-claude-code, or both withdsh plugin --profile <name> add <package>. - Restart the profile, then check that the
subagent_codexorsubagent_claude_codetool is actually exposed. - Set up each product's native authentication and settings separately. Installing the bundle does not check credentials.
- Send one small, self-contained task and review the result and any workspace changes yourself.
Each external delegation is a fresh one-shot run. It cannot take follow-up messages or resume, and the parent session receives the result or a diagnostic rather than a full transcript. The Codex and Claude subagent install guide walks through each step.
How to choose:
- Choose DSH if you need several model providers, a Web UI or SDK entry point, or plugin-level changes to the harness itself.
- Choose Claude Code or Codex CLI if you want one vendor's model with that vendor's default terminal workflow and less setup.
- Combine them if DSH is your main harness and you want occasional delegation to one of the others.
For a deeper look at moving from Claude Code to DSH, read Claude Code alternative: DeepSeek Harness. Common questions about the registry itself are answered on the FAQ.
Frequently asked questions
What is the main difference between DeepSeek Harness and Claude Code?
DeepSeek Harness is assembled from plugin bundles in a profile and can use DeepSeek, third-party, or custom model APIs. Claude Code, per its public documentation at time of writing, is Anthropic's agent built around Claude models.
Can DeepSeek Harness run Codex or Claude Code?
Yes. Optional bundles @deepseek-ai/dsh-subagent-codex and @deepseek-ai/dsh-subagent-claude-code add subagent providers. Each delegation is a one-shot run that needs the product's own authentication.
Do all three tools support MCP?
DSH connects stdio and Streamable HTTP MCP servers through its MCP client. Claude Code and Codex CLI also support MCP per their public documentation at time of writing.
Is a plugin on the DSH registry safe to install?
Not necessarily. A listing means the root manifest passed a structural check. It is not a security review, so read the exact version's code before installing.
Sources
Every claim in this article was checked against the sources below. Community discussions are user reports, not official behavior.
This is an independent community article, not official DeepSeek documentation. Listing a plugin in the registry is not a security review.