DSCode — Open-Source DeepSeek Code & DeepSeek Harness

3 min read Original article ↗

DScodeOpen source

Coding agent powered by DeepSeek

DSCode is the open-source DeepSeek harness that turns model output into reviewable changes: plan, edit, test, and inspect costs from your terminal.

Install from npm

Node.js 22.19+ and Git

npm install -g @thinkany/dscode

Then run in any repository dscode -C .

DSCode desktop interface running a DeepSeek Code task with conversation context, token usage, and model cost visible

Desktop app · v0.1.0DSCode Desktop is available now for macOS, Windows, and Linux.

Desktop v0.1.0Stable release

Download DSCode Desktop

Use the same local-first DSCode runtime in a focused desktop workspace. Choose the installer for your operating system and architecture.

macOS builds are Developer ID signed, notarized by Apple, and stapled. Windows and Linux builds are currently unsigned.

View release notes and checksums

DeepSeek Code / execution layer

What is a DeepSeek Harness?

A model can write a snippet. A harness gives it the context, tools, guardrails, and feedback loop to work through an entire repository. DSCode packages that loop around DeepSeek as an open-source coding agent.

Read the DeepSeek Harness guide →

DeepSeek Code
DeepSeek supplies the reasoning and code generation. DSCode feeds it repository context, task instructions, and the result of each tool call.

DeepSeek Harness
DSCode orchestrates file search, patches, shell commands, tests, review, local session history, and parallel agents around the model.

The result
One traceable loop from request to tested patch, with context use, cache hits, tokens, reasoning, and estimated cost visible.

DSCode running in a terminal with model provider selection, coding conversations, tool execution, and feature comparisons

CLI · terminal workflowUse DSCode directly in your terminal with provider selection, tool execution, parallel agents, and cost visibility built in.

What is DScode?

DScode is an open source coding agent built around DeepSeek for working inside real repositories.

DeepSeek-native runtimeNative Responses replay, reasoning controls, free-form patches, and optional web search. No compatibility shim.

Cost-aware by designTrack context, cache hits, tokens, reasoning, and estimated spend from one command.

Parallel agentsDelegate exploration, implementation, review, and tests across up to four concurrent agents.

Local controlKeep sessions as local JSONL. Commands run in an OS sandbox with networking blocked by default.

Sandboxed commandsTools run in the OS sandbox with networking blocked by default. Any escalation stays explicit.

Your workflow, preservedRead AGENTS.md and CLAUDE.md, use Agent Skills and MCP, and fit the tools your repository already uses.

Open source, MIT licensedSelf-contained and transparent. Extend the runtime without vendor lock-in or hidden telemetry.

GitHub

From install to first patch in under a minute

Three commands. Node.js 22.19+ and Git are all you need.

trace_1/install

$ npm i -g @thinkany/dscode

✓ dscode installed

Fig 1. install

Install DSCode

Install DSCode globally from npm. The installer prepares pnpm and ripgrep for you.

trace_2/connect

$ dscode login

✓ DeepSeek connected

Fig 2. connect

Connect DeepSeek

Use your DeepSeek API key or point DSCode at a compatible gateway.

trace_3/patch

$ dscode -C ./repo

› inspect → edit → test

Fig 3. patch

Open a repository

Point DSCode at a project and delegate the first task from your terminal.

FAQ

Requirements, models, licensing, and how DScode fits beside other coding agents.

Built for local control

Sessions stay as local JSONL. Commands run in an OS sandbox with networking blocked by default.

Read the quick start