DSCode
Open Source · MIT · DeepSeek V4 Flash

The coding agent powered by DeepSeek

DSCode is a local-first, open-source coding agent designed around DeepSeek V4 Flash — with local sessions, safe patching, parallel agents, OS sandboxing, and transparent cost reporting.

terminal
$ npm install -g @thinkany/dscode

Prefer a shell script?

Built for DeepSeek, by design

Everything you need from a coding agent — opinionated around one goal: making DeepSeek V4 Flash effective, inspectable, and economical.

DeepSeek-native runtime

Stateless Responses replay, reasoning effort, native free-form apply_patch, and optional server-side Web Search — no OpenAI compatibility hacks.

Cost-aware by design

DeepSeek's 1M context and disk prefix cache are reflected in the runtime. /status reports context, cache hits, tokens, reasoning, and estimated cost.

Parallel agents

Run explorer, implementer, reviewer, and tester roles with up to four tasks in parallel. Implementers work in isolated Git worktrees.

Local control

Sessions are local tree-shaped JSONL. Commands run in an OS sandbox with network blocked by default; API keys never leak to child processes.

Your workflow, preserved

Understands AGENTS.md and CLAUDE.md, with Agent Skills, MCP, hooks, project trust, background jobs, and a VS Code entry point.

Open source, MIT licensed

Free forever. Self-contained, transparent, and yours to extend — no vendor lock-in, no telemetry you don't control.

Up and running in under a minute

Three commands from a fresh terminal. Node.js 22.19+ and Git are all you need.

1

Install

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

$ npm install -g @thinkany/dscode
2

Authenticate

Log in with your DeepSeek API key — or point DSCode at any DeepSeek/OpenAI-compatible gateway.

$ dscode login
3

Run

Point DSCode at any repository and start delegating. Your first task runs on DeepSeek V4 Flash.

$ dscode -C /path/to/project

Frequently asked questions

Everything you need to know before getting started.

Like what you see? Star DSCode on GitHub

Open source and free forever. A star helps more developers discover a local-first coding agent powered by DeepSeek.