CoCode logo CoCode
首页Home 功能Features 双版本Editions 定价Pricing 下载Download GitHub

会干活的
编程 Agent
A Coding Agent
That Gets Things Done

CoCode Desktop 替你读代码、改文件、跑命令、开检查点——每一步摆在眼前,每一处改动可回滚CoCode Desktop reads code, edits files, runs commands, takes checkpoints for you — every step in plain sight, every change revertible

BRING YOUR OWN MODEL

自接入模型Bring Your Own Model

DeepSeek、智谱、Moonshot、本地 Ollama、自建 vLLM——任何 OpenAI 兼容接口都能接,模型不支持工具调用时自动降级,不会整个失效DeepSeek, Zhipu, Moonshot, local Ollama, self-hosted vLLM — any OpenAI-compatible endpoint works, with automatic degradation when a model lacks tool calling

TOKEN EFFICIENT

低 token 多干活Token-Efficient Output

repo map 替掉几十轮搜索,本地索引增量落盘,上下文自动压缩,prompt cache 全程透传——同样的任务,账单少一截A repo map replaces dozens of search rounds, local indexes persist incrementally, context auto-compacts, prompt cache passes through — same tasks, smaller bills

CHECKPOINT

每轮可回滚Revert Any Turn

涉及写入和执行的轮次,动手前自动快照改砸了一键回滚到任意一轮——这也是敢开全自动模式的前提Turns that write or execute snapshot automatically first; one click reverts to any turn — the reason full-auto mode is safe to enable

01 — FEATURES

真实工程级,
不止生成代码,更懂干活
Production-grade.
More than code generation.

18 BUILT-IN TOOLS
十八个内置工具,
读写执行 到浏览器
18 built-in tools,
from read, write & run to the browser

Bash、Read、Write、Edit、Git、WebFetch、LSP、语义检索一应俱全,还有能截图给模型看的内置浏览器和并行调研的子代理Bash, Read, Write, Edit, Git, WebFetch, LSP, semantic search and more — plus a built-in browser that screenshots for the model and parallel research subagents

  • 结构化任务面板,计划实时可见Structured task panel with a live plan view
  • Subagent 派发并行调研,权限只降不升Parallel research via subagents; permissions only ever tighten
  • MCP 服务器接入,与 Claude Desktop 同形MCP server support, same shape as Claude Desktop
cocode — session
RepoMap 加载仓库符号骨架(省 token)load repo symbol skeleton (saves tokens)
Search "权限决策permission decision"agent.js:1204
Browser 打开登录页open the login pagescreenshot ✓
Subagent ×3 并行调研三个模块research three modules in parallel
18 tools ready — 0 npm dependencies
permission — confirm
Bash npm install left-pad
┌─────────────────────────────┐
允许本次执行Allow this run   ↑↓ 选择select
以后都允许Always allow 写入允许清单add to allowlist
拒绝本次Deny this run
└─────────────────────────────┘
✓ sandbox: 路径沙箱 · 环境净化 · 密钥脱敏path sandbox · env sanitization · key redaction
HUMAN IN THE LOOP
五档权限,
控制权一直在你手里
Five permission levels,
control always stays with you

从「只读契约」到「全自动」逐级放开每次执行前弹确认卡,选一次「以后都允许」,同类操作永久免打扰——不是处处问你,也不是处处瞒你Graduated from "read-only" to "full auto"; a confirm card pops up before every run. Pick "always allow" once and similar actions go quiet for good — not nagging you everywhere, not hiding anything either

  • 路径沙箱:符号链接越界一律拦下Path sandbox: symlink escapes are always blocked
  • 子进程环境净化:API_KEY、TOKEN 一律剥离Child-process sanitization: API_KEY, TOKEN always stripped
  • 密钥脱敏:工具输出与日志全量过 redact()Key redaction: all tool output and logs pass redact()
TRACE & REPLAY
跑过就留痕,
每个决策可回放
Everything is logged,
every decision replayable

每次运行写一份完整时间线:请求、工具调用、权限决策、上下文压缩出问题时你看到的是它为什么这么做,而不是一团黑箱Every run writes a full timeline: requests, tool calls, permission decisions, context compaction. When something breaks you see why it did what it did, not a black box

  • 「运行记录」面板随时回放任意一次运行Replay any past run from the Runs panel
  • 检查点内容寻址快照,自动保留最近 10 轮Content-addressed checkpoints, last 10 turns auto-kept
  • 默认不记对话正文,开全文也先过脱敏Conversation text off by default; full text still passes redaction
trace — timeline
10:24:01 POST /chat glm-4.7
10:24:03 Edit login.tsx +12 −3
10:24:05 Bash npm run build ✓ 4.2s
10:24:07 checkpoint #3 → snapshot 1.8MB
10:24:09 context compact 18.2k → 9.6k tok
10:24:10 ✓ finished 可回放 · 可回滚replayable · revertible
02 — SURFACES

CoCode Desktop,
Agent 的每一步摆在眼前
CoCode Desktop,
every Agent step in plain sight

不必盯终端、不必记命令桌面版把整个 Agent 装进一个清爽的窗口,会话、配置、工具全部开箱即用No terminal-watching, no command memorizing — the desktop app puts the whole Agent in one clean window, with sessions, settings and tools ready out of the box

GUI

看得见的工作台A workbench you can see

Everything On Screen

聊天即协作:Agent 的每次读写、每条命令都以卡片流式呈现,支持什么、反对什么,一键决定Chat is collaboration: every read/write and every command streams in as cards — approve or reject with one click

  • 会话侧栏Session sidebar
  • 工具调用卡片Tool-call cards
  • 权限确认卡Permission cards
  • 计划面板Plan panel

改了什么,一目了然See exactly what changed

Diff · Checkpoint · Trace

内置变更预览逐行着色展示未提交改动;每轮自动快照,不满意就地回滚;运行记录随时回放A built-in diff view colors uncommitted changes line by line; every turn auto-snapshots, roll back in place if unhappy; replay runs anytime

  • 变更预览Diff preview
  • 检查点回滚Checkpoint rollback
  • 运行记录Run history
  • 内置浏览器Built-in browser

也提供 CLI 版本(终端 REPL),供偏好在命令行工作的用户使用A CLI edition (terminal REPL) is also available for those who prefer working in the command line

03 — IN NUMBERS

几个实在的数字A few honest numbers

0
核心包 npm 依赖——纯 Node.js + fetchnpm dependencies in the core — pure Node.js + fetch
18
内置工具,覆盖读写执行到浏览built-in tools, from read/write/run to browsing
5
档权限模式,从只读到全自动permission levels, from read-only to full auto
140+
全链路集成测试用例守住行为end-to-end integration tests guarding behavior
04 — DOWNLOAD

下载 CoCode DesktopDownload CoCode Desktop

下载 CoCode Desktop,让 AI 接管你的电脑,助你完成工作,与你编辑作品Download CoCode Desktop — let AI take over your computer, get work done and edit alongside you

Windows
64-bit Installer
敬请期待Coming soon
源码构建Build from source
Node 18+ · Electron
敬请期待Coming soon

首次启动后,在设置里填入任意 OpenAI 兼容模型的地址与 Key(DeepSeek、智谱、Moonshot、本地 Ollama…),即可开始使用After first launch, enter any OpenAI-compatible model's URL and key in Settings (DeepSeek, Zhipu, Moonshot, local Ollama…) and you're ready to go

下次改代码,
让 CoCode 动手
Next time you touch code,
let CoCode do it

AGPL-3.0 开源 · 本地运行 · 数据不出你的机器AGPL-3.0 open source · runs locally · your data never leaves your machine

官方模型订阅 · 月付积分制Official model subscription · monthly credits

不想管 Key?
官方模型就好
Skip the key juggling.
Just use official models

三档月订套餐,每月到账积分——官方模型调用、语音识别都按积分扣,开箱即用,无需自备 API Key。自带 Key 的 BYOK 模式依旧永久免费。Three monthly plans with credits added every month — official model calls and speech recognition are billed in credits. Works out of the box, no API key needed. The bring-your-own-key mode stays free forever.

Lite
轻量尝鲜Light & easy
¥39/ 月/ mo
每月 2,000 积分2,000 credits / month
折合 ¥0.0195 / 积分≈ ¥0.0195 / credit
  • Flash 全系基础档模型Flash tier base models
  • 1 路并发任务1 parallel task
  • 语音识别 (按积分扣)Speech recognition included (billed in credits)
  • Desktop 与 CLI 全功能Full Desktop & CLI features
订阅 LiteSubscribe to Lite
推荐 · 主力之选Recommended · Best value
Pro
日常开发的主力档The daily-driver plan
¥99/ 月/ mo
每月 6,000 积分6,000 credits / month
折合 ¥0.0165 / 积分≈ ¥0.0165 / credit
  • 全模型不限档位All models, no tier limits
  • 3 路并发任务3 parallel tasks
  • 语音识别 (按积分扣)Speech recognition included (billed in credits)
  • Desktop 与 CLI 全功能Full Desktop & CLI features
订阅 ProSubscribe to Pro
Max
重度专业Heavy-duty pro
¥299/ 月/ mo
每月 25,000 积分25,000 credits / month
折合 ¥0.012 / 积分≈ ¥0.012 / credit
  • 全模型不限档位All models, no tier limits
  • 10 路并发任务10 parallel tasks
  • 语音识别 ,每月另赠 1,000 积分语音额度Speech recognition included, plus a 1,000-credit monthly speech allowance
  • Desktop 与 CLI 全功能Full Desktop & CLI features
订阅 MaxSubscribe to Max

三档均为月订,按月付费、随时可停;积分到账后当月有效,模型调用与语音识别统一按积分扣减All three are monthly plans — pay monthly, cancel anytime; credits are valid for the month they arrive, and model calls and speech recognition draw from the same pool

COMPARE — 权益明细COMPARE — BENEFITS

三档权益,一表看清All three plans, one table

积分单价随档位递减,重度使用更划算;并发任务指同时运行的 Agent 会话数The credit unit price drops with higher tiers — heavier use pays less. "Parallel tasks" means Agent sessions running at the same time

维度Item Lite Pro推荐Pick Max
月价Monthly price ¥39 ¥99 ¥299
月积分Monthly credits 2,000 6,000 25,000
积分单价Credit price ¥0.0195 ¥0.0165 ¥0.012
模型范围Model range 基础档(Flash 全系)Base tier (Flash models) 全模型All models 全模型All models
并发任务Parallel tasks 1 路1 session 3 路3 sessions 10 路10 sessions
语音识别Speech recognition 含(扣积分)Included (credits) 含(扣积分)Included (credits) 含 + 每月赠 1,000 积分语音额度Included + 1,000 bonus speech credits / mo
定位Best for 轻量尝鲜Light & easy 主力之选Daily driver 重度专业Heavy-duty pro
HOW IT WORKS

三步开跑Up and running in 3 steps

1

订阅套餐Subscribe

在爱发电选择 Lite / Pro / Max 月订档位完成支付Pick a Lite / Pro / Max monthly plan on Afdian and complete payment

2

订单号兑换Redeem order no.

打开 CoCode → 设置 → 官方模型,输入订单号一键兑换当月积分Open CoCode → Settings → Official Models, enter the order number to redeem this month's credits

3

开箱即用Ready to go

会话里直接选用官方模型,调用与语音识别按积分自动扣减Pick official models right in the chat — calls and speech recognition are deducted in credits automatically

FAQ

常见问题FAQ

什么是积分?What are credits?

积分是官方模型订阅的计量单位。模型调用语音识别都按用量扣减积分,用多少扣多少,月积分用完当月不再扣减。Credits are the unit of account for the official model subscription. Both model calls and speech recognition deduct credits by usage — once your monthly credits run out, nothing more is deducted that month.

订阅后怎么兑换积分?How do I redeem credits after subscribing?

在爱发电完成套餐购买后,复制订单号,打开 CoCode → 设置 → 官方模型 → 输入订单号兑换,积分即时到账。After purchasing a plan on Afdian, copy the order number, then open CoCode → Settings → Official Models → enter it to redeem. Credits arrive instantly.

不用订阅,CoCode 还能用吗?Can I use CoCode without subscribing?

能。CoCode 本身 AGPL-3.0 开源、本地运行、永久免费,随时填入任意 OpenAI 兼容模型的 Key(DeepSeek、智谱、Moonshot、本地 Ollama…)即可使用。官方模型订阅只是给「不想管理 Key」的用户提供的开箱即用选项。Yes. CoCode itself is AGPL-3.0 open source, runs locally and is free forever — fill in any OpenAI-compatible model's key (DeepSeek, Zhipu, Moonshot, local Ollama…) anytime. The official model subscription is just a plug-and-play option for those who'd rather not manage keys.

并发任务是什么意思?What does "parallel tasks" mean?

同时运行的 Agent 会话数。Lite 可同时跑 1 个任务,Pro 3 个,Max 10 个——适合并行调研多个模块或同时推进多个仓库。The number of Agent sessions running at the same time. Lite runs 1 task concurrently, Pro 3, Max 10 — handy for researching multiple modules in parallel or pushing several repos forward at once.

Flash 全系和全模型有什么区别?Flash tier vs. all models — what's the difference?

Lite 档可用基础档(Flash 全系)模型,速度快、适合日常轻量任务;Pro / Max 档解锁全部官方模型,复杂工程任务不受限。The Lite plan covers base-tier (Flash) models — fast and great for everyday lightweight tasks. Pro / Max unlock all official models, so complex engineering work is never limited.

选一档套餐,
让官方模型马上开工
Pick a plan and let
official models get to work

月付积分制 · 订单号即时兑换 · 也可以永远自带 Key 免费用 CoCodeMonthly credits · instant redemption by order number · or keep using CoCode free with your own keys forever

用户协议

Terms of Service

更新日期:2026 年 9 月 19 日  ·  生效日期:2026 年 9 月 19 日

Last updated: September 19, 2026  ·  Effective date: September 19, 2026

隐私政策

Privacy Policy

更新日期:2026 年 9 月 19 日  |  生效日期:2026 年 9 月 19 日

Last updated: September 19, 2026  |  Effective date: September 19, 2026

跨境数据传输协议

Cross-Border Data Transfer Agreement

更新日期:2026 年 9 月 19 日  ·  生效日期:2026 年 9 月 19 日

Last updated: September 19, 2026  ·  Effective date: September 19, 2026