DSCode

DSCode

Open source terminal coding agent powered by DeepSeek with local session control

Gallery

About DSCode

DSCode is an open source coding agent that runs entirely from your terminal, using DeepSeek V4 Flash as its default model while supporting a broad roster of providers including OpenAI, Anthropic, xAI, and OpenRouter. It automates planning, editing, testing, and review directly inside real repositories, storing sessions locally as JSONL files and running commands in an OS level sandbox that blocks network access by default. The result is a transparent, cost aware coding assistant you can trust with your actual codebase.

The problem it addresses is familiar to anyone who has tried to bolt an AI onto their development workflow. Cloud hosted agents often feel like black boxes, sessions vanish when the browser tab closes, and cost tracking is an afterthought. DSCode flips those defaults. Sessions persist locally so you can resume, branch, or replay them. Every tool execution runs in a sandbox with explicit escalation required for risky operations. Token counts, cache hits, and estimated spending are visible in the status panel at any time, so you always know what you are burning through.

Under the hood, DSCode connects to your repository, reads any AGENTS.md or CLAUDE.md project instructions you have defined, and delegates tasks through a TUI or one shot prompt mode. It supports parallel execution with up to four agents running simultaneously in isolated Git worktrees, which is useful for exploratory coding where you want multiple approaches tried at once. Each successful edit creates a conflict safe checkpoint, so you can roll back without losing work. The sandbox uses Seatbelt on macOS and Docker on Linux and Windows, with network access gated behind an explicit flag.

It is aimed at developers who want local control over their agent sessions, teams that need transparent usage reporting for budgeting, and anyone who prefers open source tooling they can audit and extend. If you have been using Claude Code or Codex and want something self hosted with DeepSeek pricing, DSCode is a direct alternative.

What sets it apart is the combination of multi provider routing, local first persistence, and OS level sandboxing in a single open source package. Most competing agents lock you into one provider or require cloud accounts for session storage. DSCode keeps everything on your machine, routes to whichever model you configure, and exposes hooks, MCP support, and an RPC mode for IDE integration. A VS Code extension exists for local use, though it is not yet on the Marketplace.

Access is free under the MIT license. You install via npm, connect your DeepSeek or other provider API key, point at a repository, and start delegating. DeepSeek costs are reflected in the runtime with disk prefix caching, so you benefit from their one million token context and aggressive cache pricing. It is an early project with a smaller community than the big commercial agents, but the core workflow is solid and the codebase is readable if you want to contribute.

Key Features

  • Multi provider model routing
  • Local JSONL session persistence
  • OS level sandboxed execution
  • Parallel agents in isolated worktrees
  • Real time token and cost tracking
  • MCP and Agent Skills support

Pros & Cons

What we like

  • Sessions persist locally and can be resumed or replayed
  • Transparent cost tracking with cache hit visibility
  • Sandboxed commands with network blocked by default
  • Open source under MIT with no vendor lock in

Room for improvement

  • DeepSeek default model is text only, no vision
  • VS Code extension not yet on Marketplace
  • Early project with a smaller community
  • Linux and Windows sandbox requires Docker setup

Frequently Asked Questions

What is DSCode?
DSCode is an open source coding agent that runs from your terminal using DeepSeek V4 Flash by default. It stores sessions locally, executes commands in a sandbox, and supports multiple model providers including OpenAI, Anthropic, and OpenRouter.
Is DSCode free?
Yes. The agent itself is MIT licensed and free to use. You pay only for the underlying model API calls, such as DeepSeek or whichever provider you configure.
How does DSCode handle security?
Commands run in an OS sandbox with network access blocked by default. Seatbelt is used on macOS and Docker on Linux and Windows. Risky operations require explicit escalation, and every edit creates a durable checkpoint.
Which models does DSCode support?
It defaults to DeepSeek V4 Flash but also supports OpenAI Codex, OpenAI, Anthropic, OpenRouter, xAI Grok, Kimi, MiniMax, and Z.AI. You can switch providers via configuration or the model command.

Best For

Delegating coding tasks from the terminalRunning parallel exploration agents on a featureTracking AI spend with per session cost visibilityResuming long running coding sessions offline

Featured in

Alternatives to DSCode

View all

Reviews (0)

No reviews yet

Be the first to share your experience with DSCode

Sign in to write a review

Badge builder

Add DSCode to your website

Choose a badge style and size, preview it here, then copy the generated HTML. Badge images are self-contained SVGs and do not require an external script.

DSCode badge preview
<a href="https://toolindex.net/tools/dscode?ref=badge" target="_blank" rel="noopener">
  <img src="https://toolindex.net/badge/dscode/medium.svg" alt="DSCode - Listed on Tool Index" width="180" height="50" />
</a>

How to use the badge

  1. 1. Pick the style, size, and theme that fit your layout.
  2. 2. Copy the generated HTML from the code block.
  3. 3. Paste it into your footer, homepage, or press page.

Standard badge available

The standard listing badge is available now. Score and circle badges are limited to tools currently ranked in the top 10 of a category.

Badge clicks return visitors to this profile with a referral tag so the source remains identifiable.