Skip to main content
PathDocs

DeepSeek Harness vs Claude Code vs Codex: What Actually Changes

The short answer: all three can read code, run commands, call models, and edit files — the feature lists converge. The real dividers are open source and auditability, model lock-in, cost model, and extension mechanism. DeepSeek Harness is the only option that is fully open source (MIT), runs entirely on your machine, and works with any model endpoint — at the cost of a Developer Preview with breaking changes and a higher setup bar.

Facts on the DSH side are verified against the official source (deepseek-ai/deepseek-harness, baseline 0.1.0-rc.7 @ 99f6f02): commands, package names, and events are cross-checked against the TypeScript implementation. Claude Code / Codex are described from their public product status, not version-by-version.

The short answer

DeepSeek HarnessClaude CodeCodex
OriginDeepSeek AI, open source (MIT)Anthropic, commercial, closedOpenAI, commercial (cloud + local CLI)
Model lock-inNone: any OpenAI-compatible endpointDefaults to Claude modelsDefaults to OpenAI models
Where it runsLocal process (127.0.0.1:3080 by default)Local CLI + remote sessionsCloud workspaces + local CLI
AuditabilityFull source availableNot availableNot available
Cost modelModel API costs onlySubscription or API billingSubscription or API billing
StatusDeveloper Preview, breaking changes expectedStable commercial productStable commercial product

You don't need a feature checklist to decide — all three get work done. The questions that matter: are you willing to treat the agent's implementation as a black box, and is a single model vendor acceptable?

Capabilities: convergent, not worth comparing line by line

CapabilityDeepSeek HarnessClaude CodeCodex
File / command toolstool-fs / tool-bashBuilt-inBuilt-in
Session persistence~/.dsh/sessions/ (zstd, searchable)YesYes
SubagentsYesYesYes
Skills / prompt packagingskills systemSkillsYes
MCPPlugin-mountedMCP clientPartial
Custom extensionEverything is a plugin (Cordis)Hooks + plugins (preview)Limited
SandboxRestricted by default (bwrap/Landlock)Permission promptsCloud sandbox
Web UIYes (workspace-style)No (terminal-first)Cloud IDE

Every DSH item links to a page: Built-in tools, Sessions, Subagents, Skills, MCP, Plugins, Sandbox & security, Web UI.

The real dividers

1. Open source and auditability

The entire DSH runtime — agent loop, tool execution, sessions, sandbox, credential handling — lives in deepseek-ai/deepseek-harness under MIT. You can:

  • audit what the model sees and what tools can touch (Context, Tool execution)
  • fix bugs, patch, and re-compose (Plugin anatomy)
  • run fully offline: endpoints, credentials, and sessions stay on your machine

Claude Code and Codex are closed products; behavior is observable only through docs and black-box testing. That matters little for individuals — it is a hard requirement for teams putting agents into production or compliance review.

2. Model lock-in

DSH's model routing is a plugin (llm-pi-ai, see Multi-model): any OpenAI-compatible endpoint works — DeepSeek, self-hosted gateways, other vendors, even multiple providers routed within one session. The official deepseek-official provider is the default, not a constraint.

Claude Code is built around Claude models (inside the paywall); Codex around OpenAI models. Third-party models are a side path in both.

3. Cost model

DSH: the software is free (MIT); you pay only model API costs. Local models work fine.

Claude Code / Codex: subscription or API billing that includes the product layer. For individuals, an all-in subscription is usually simpler; for high-volume teams, DSH's own routing can be cheaper.

4. Extension mechanism

DSH's architectural promise is everything is a plugin (Cordis): tools, services, events, and UI panels are all mountable via dsh plugin add (bundle) or repository manifests (cordis.patch.yml), see Plugins.

Claude Code offers hooks / MCP / plugins (preview) as extension surfaces; Codex's surface is narrower. For deep customization, DSH's seam system (ctx.llm, ctx.tools, ctx.sandbox…) is the closest of the three to a framework.

A decision rule

ScenarioChooseWhy
Audit the implementation, self-host, complianceDSHFull source, local run, 0600-managed credentials (Credentials)
Switch models / self-hosted gateway / local modelsDSHPlugin model routing, any OpenAI-compatible endpoint
Deep toolchain customization, plugin/skill distributionDSHEverything is a plugin; dsh-plugin ecosystem
Fastest start, fixed budget, vendor supportClaude Code / CodexZero config, stable, complete docs
Deep inside the OpenAI / Anthropic ecosystemThe matching vendorEcosystem integration > auditability
Comfortable with rc iteration and breaking changesDSHDeveloper Preview is the explicit trade

Frequently asked questions

Is DeepSeek Harness an open-source replacement for Claude Code?

Positioning differs: Claude Code / Codex are products; DSH is an open-source framework plus a composable agent application. It can replace "getting work done with an agent," but you accept the rc cadence and wire up models yourself. To try it quickly, start with the Quick Start.

Can DSH use Claude / GPT models?

Yes. llm-pi-ai.providers accepts any OpenAI-compatible endpoint; the official deepseek-official provider is just the default route (see Multi-model). Model names, endpoints, and keys are configured locally — no vendor lock.

Can I migrate a Claude Code / Codex workflow to DSH directly?

Not seamlessly: the concept systems differ (plugins/Cordis composition vs hooks/MCP), and CLI and config formats differ. But the high-level capabilities (subagents, skills, MCP, session search) all have equivalents; migration cost is mostly re-configuration, not missing capabilities.

Is DSH production-ready?

Depends on what "production" means: it listens on loopback by default (127.0.0.1:3080), writes credentials with 0600, and sandboxes tools by default (Sandbox & security) — a solid privacy baseline. But the official status is Developer Preview: "there will be compatibility-breaking changes." Pin versions, read changelogs, and verify composition with dsh web --dump-config (Boot config).

Conclusion

Feature lists converge; they don't decide anything. The real variables: open-source auditability, model freedom, transparent cost (choose DSH) vs out-of-the-box experience, vendor ecosystem, stable iteration (choose Claude Code / Codex). DSH is in Developer Preview — the most freedom and the least stability. Pick it if you're comfortable following the source; pick a commercial product if you want zero-friction work today.