TD

tigicion/dao-code

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

786 stars 26 forks 品質 76 トレンド 42MIT

DeepSeek-V4向けのオープンソースTypeScript端末コーディングエージェント — DeepSeekの強力なコストパフォーマンスと超低価格のキャッシュ価格を基盤に、バイト安定なプレフィックスとキャッシュ再利用フォークをエンジニアリングしています。

概要

— 高価値のDeepSeek V4から最大限の性能と低コストを引き出しています。 Dao Code(コマンド dao)は端末ネイティブのAIコーディングアシスタントで、コードを読み書き、コマンドを実行し、バグを直すために端末内で解析やツール呼び出しをストリーミングし、承認ゲートの後ろで安全に実行し、タスクが完了するまで機能します。対象は100万人のコンテキストで、中国語を優先し、Claude Codeに触発されていますが、異なるアプローチを取っています: コーディングエージェントは実際に実行できる場合にのみ有用です。 - Anthropicアカウントとネットワークアクセスが必要 — 中国本土で即座に使うには高いハードル;- クオータが限られており、しばしば取得が難しい;- その基盤 — ネットワークの手間もノルマも待機リストもない。 - — DeepSeekは主流対応モデルの中で最も低価格帯に位置し、入力価格も出力価格もトップクラスのクローズドモデルよりはるかに低いです。- — DeepSeekのプレフィックスキャッシュヒット価格は誤≈(~2桁)です。

概要(AI 翻訳)

英語 ·中文

コスト、経験、可用性を中心に設計されたターミナルコーディングエージェント — 高価値のDeepSeek V4から最大限の能力と最低コストを引き出す。

Dao Code(コマンドdao)は端末ネイティブのAIコーディングアシスタントで、コードを読み書き、コマンドを実行し、バグを修正し、解析やツール呼び出しを承認ゲートの背後で安全に実行し、タスク完了まで行います。ターゲットはDeepSeek V4(100万コンテキスト)で、中国語ファーストで、Claude Codeに触発されていますが、異なるアプローチを取っています。高価なモデルで経験を買うのではなく、DeepSeekの強力な価格パフォーマンスと超安価なキャッシュ価格、バイト安定プレフィックスの設計、キャッシュ再利用フォークの設計により、クロスセッションメモリや継続的な自己補正レイヤーがほとんどトークンコストを増やさない


なぜ道コード?

🌐 入手可能性

コーディングエージェントは実際に実行できる場合にのみ有用です。

  • Claude CodeはAnthropicアカウントとネットワークアクセスが必要です。これは中国本土ですぐに使うには高いハードルです。
  • GLMのコーディングプランは、しばしば取得困難な限度のノルマがあります。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Dao Code 道

English · 中文

A terminal coding agent built around cost, experience, and availability — squeezing the most capability and the lowest cost out of the high-value DeepSeek V4.

Dao Code (command dao) is a terminal-native AI coding assistant: it reads code, writes code, runs commands, and fixes bugs right in your terminal — streaming its reasoning and tool calls while executing safely behind an approval gate, until the task is done. It targets DeepSeek V4 (1M context), is Chinese-first, and is inspired by Claude Code — but takes a different road: rather than buying experience with an expensive model, it builds on DeepSeek’s strong price-performance and ultra-cheap cache pricing, engineering byte-stable prefixes and cache-reusing forks so cross-session memory and a continuous self-correction layer add almost no token cost.


Why Dao Code?

🌐 Availability

A coding agent is only useful if you can actually run it.

  • Claude Code needs an Anthropic account and network access — a high bar to use out of the box in mainland China;
  • GLM’s Coding Plan has scarce quota that’s often hard to grab;
  • Dao Code is fully open source (MIT), and its base DeepSeek is register-and-go, pay-as-you-go, directly reachable in mainland China — no network gymnastics, no quota grabbing, no waitlist.

💰 Cost

  • Low unit price — DeepSeek sits at the lowest price tier among mainstream capable models; both input and output prices are far below the top-tier closed models.
  • Cache cuts it further — DeepSeek’s prefix-cache hit price is ≈ 1/120 of a miss (~two orders of magnitude). Dao Code keeps the system prefix / tool table / memory byte-stable, and runs reflection & memory on cache-reusing forks, so the hit rate keeps climbing.
  • Measured on real OSS bug-fixes (not toy demos) — 7 SWE-bench-style tasks (valibot / date-fns / es-toolkit / sqlglot / hono), 3.89M input tokens total, 95.8% aggregate cache hit (85.4%–97.7% per task). At DeepSeek V4 Pro current pricing, a full feature (read + edit + test + self-review) runs ¥0.07–0.21, avg ¥0.15; all 7 total ¥1.07. Every figure traces back to evals/runs//run-1/agent.log; replay any time with /cost.
  • Cost vs Claude Code — pricing the same token trace of these 7 tasks under each vendor’s official rates (and crediting Dao Code’s high hit rate to Claude too, in its favor), total cost is still ~30× cheaper than Claude Opus 4.8, ~18× cheaper than Sonnet 4.6.
GitHub で README 全文を見る

インストール

npx dao-code # zero-install trial
MCP 初心者?mcpskill.org のガイドから始めましょう →