← 全部工具 ← All Tools 🎮 小游戏
🤖 AI 智能体 AI Agent 🌟 开源 Apache-2.0 · 约 7 万 star · 2026 仍在高频更新 coding ai-agent vscode open-source byok plan-act cline vibe-coding

Cline – VS Code 开源自主编程智能体:Plan/Act 双模式,约 7 万 star 仍在高频更新

前身叫 Claude Dev 的开源自主编程智能体,跑在 VS Code 侧边栏里:Plan/Act 双模式逐审批执行,可创建和编辑文件、执行终端命令、驱动真实浏览器;30+ 模型提供商 BYOK,也支持本地 Ollama。约 7 万 GitHub star(2026-10 核实),2026 年仍在高频更新The open-source autonomous coding agent (formerly Claude Dev) living in your VS Code sidebar: Plan/Act dual modes with per-step approval, file creation and editing, terminal commands, and a real browser; 30+ model providers BYOK plus local Ollama. ~70k GitHub stars (verified Oct 2026), still shipping fast in 2026

访问官网 ↗ Visit Official Site ↗ ⚖️ Compare
分类Category
AI 智能体AI Agents
agent
开源状态Open Source
完全开源(Apache-2.0)
完全开源 · 约 7 万 star(2026-10 核实)Fully open source · ~70k stars (verified Oct 2026)
许可证License
Apache-2.0(模型按量付费)
开源免费,模型 token 自付Free & open source, pay for model tokens
标签Tags
coding, ai-agent, vscode, open-source, byok, plan-act, cline, vibe-coding
8 个标签tags total

Cline 是什么?What Is Cline?

Cline(前身叫 Claude Dev,VS Code 扩展 ID 至今仍是 saoudrizwan.claude-dev)是跑在编辑器侧边栏里的自主编程智能体:读你的代码库、创建和编辑文件、执行终端命令,还能用 Puppeteer 驱动真实浏览器——每一步关键操作都要经过你的审批。它是开源 IDE agent 路线的幸存者:2026 年 Roo Code(它的 fork)已于 5 月 15 日关停、Continue 并入 Cursor 后转为只读、Kilo Code 被 Anaconda 收购,Cline 以约 7 万 star 成为这条路线的现存主线。Cline (formerly Claude Dev — the VS Code extension ID is still saoudrizwan.claude-dev) is an autonomous coding agent living in your editor's sidebar: it reads your codebase, creates and edits files, runs terminal commands, and even drives a real browser via Puppeteer — with your approval required at each consequential step. It is the survivor of the open-source IDE-agent lineage: in 2026 Roo Code (its fork) shut down on May 15, Continue went read-only after joining Cursor, and Kilo Code was acquired by Anaconda — Cline stands as the surviving mainline with ~70k stars.

2026 年它依然在高频更新:4 周 313 次提交、每周新增约 478 star(2026-10 核实);VS Code Marketplace 安装量超 500 万(2026-09 约 529 万)。扩展版本 v4.0.10(2026-07),Cline 桌面应用与 CLI(npm i -g cline)并行迭代。背后是 Cline Bot Inc.,2025 年 7 月完成 $5M 种子轮 + $27M A 轮(估值约 $1.1 亿)。It is still shipping fast in 2026: 313 commits in four weeks and ~478 new stars per week (verified Oct 2026); over 5 million VS Code Marketplace installs (~5.29M in Sept 2026). Extension at v4.0.10 (July 2026), with the Cline desktop app and CLI (npm i -g cline) iterating in parallel. Behind it is Cline Bot Inc., which closed a $5M seed + $27M Series A in July 2025 (valued around $110M).

模型完全自由(BYOK):30+ 提供商——Anthropic、OpenAI、Google、OpenRouter、AWS Bedrock、GCP Vertex、Groq、Cerebras、DeepSeek,以及本地 Ollama / LM Studio。扩展本身免费,成本就是模型 token;另有 ClinePass($9.99/月,开源模型阵容)与 Cline Provider 按量付费,Teams $20/人/月(前 10 席免费)。价格以官网为准。Model choice is fully free (BYOK): 30+ providers — Anthropic, OpenAI, Google, OpenRouter, AWS Bedrock, GCP Vertex, Groq, Cerebras, DeepSeek — plus local Ollama / LM Studio. The extension is free; you pay only for model tokens. There is also ClinePass ($9.99/mo, open-weight model lineup) and pay-as-you-go via the Cline Provider; Teams is $20/user/mo (first 10 seats free). Confirm prices on the official site.

⚠️ 安全提醒:2026 年 2 月发生过 "Clinejection" 事件——一次 prompt 注入污染了 Cline 自身的 CI,被篡改的 cline@2.3.0 npm 包在约 8 小时窗口内被装到了约 4000 台开发者机器上。教训:agent 工具是特权软件,保持扩展更新、只从官方渠道安装。Security note: the February 2026 "Clinejection" incident — a prompt injection compromised Cline's own CI, and a tampered cline@2.3.0 npm package reached ~4,000 developer machines in an ~8-hour window. Lesson: agent tooling is privileged software — keep the extension updated and install only from official channels.

Cline 是开源 IDE agent 这波浪潮里最后的主线,而且是凭实力留下来的:约 7 万 star、4 周 313 次提交、背后有真正的公司。它的产品洞察是一个循环:Plan(只读出方案)→ 审批 → Act(执行)→ Checkpoints(回滚)。这种"人在回路"的纪律性,加上 BYOK 的模型自由,就是为什么已经买了多个模型订阅的开发者愿意只用它一个界面。诚实的一面:BYOK 意味着 token 账单自己扛——大仓库的全文件上下文烧得很快,重度用前沿模型一个月能烧掉数百美元(日常探索用本地/便宜模型是主流省钱姿势);而 2026 年 2 月的供应链事件是永久提醒:把 agent 工具当特权软件对待,固定来源、保持更新。

Cline is the last mainline standing of the open-source IDE-agent wave — and it earned it: ~70k stars, 313 commits in four weeks, a real company behind it. The product insight is a loop: Plan (read-only proposal) → approve → Act (execute) → Checkpoints (roll back). That human-in-the-loop discipline plus BYOK model freedom is why developers who already pay for model subscriptions keep a single interface. The honest caveats: BYOK means you meter your own token bill — full-file context on big repos burns fast (heavy frontier-model sessions can run into the hundreds of dollars a month; local/cheap models for exploration is the standard saving move); and the February 2026 supply-chain incident is a permanent reminder to treat agent tooling as privileged software — pin your sources, keep it updated.

— 中国吧 AI Tools Hub Editorial Team

谁适合使用 Cline?Who Should Use Cline?

✓ 适合以下场景Good Fit For

  • 已有多个模型订阅、想一个界面全都要的开发者Developers with multiple model subscriptions who want one interface
  • 预算敏感、想按量精细控制成本的团队Cost-sensitive teams that want fine-grained metered spending
  • 需要开源可审计、本地模型或自托管的场景Open-source-auditable, local-model, or self-hosted needs
  • 喜欢 Plan→审批→Act 这种可控节奏的人Fans of the controlled Plan → approve → Act rhythm

✕ 不适合以下场景Not Ideal For

  • 不想自己管 token 账单、想要"一口价"订阅的人Anyone who doesn't want to manage a token bill and prefers flat subscriptions
  • 超大仓库 + 前沿模型的高频重度任务(token 烧得快)High-frequency heavy tasks on huge repos with frontier models (fast token burn)

Cline 快速开始Getting Started with Cline

1. VS Code 扩展市场搜索 Cline 安装(扩展 ID:saoudrizwan.claude-dev);或终端运行 npm i -g cline 装 CLIInstall Cline from the VS Code Marketplace (extension ID: saoudrizwan.claude-dev); or run npm i -g cline for the CLI
2. 设置里选 API 提供商填 key(或选 Ollama 接本地模型);先用 Plan 模式让它出方案,确认无误再切 Act 执行Pick an API provider and add your key in settings (or Ollama for local models); start in Plan mode for a proposal, switch to Act once approved
3. 写 Rules 固化项目规范;大改动前确认 Checkpoints 可用,跑偏随时回滚Write Rules to lock in project conventions; confirm Checkpoints before big changes so you can roll back anytime
💡 小技巧:日常探索用便宜模型或本地模型,真正动手实现再切前沿模型——这是 Cline 用户最主流的省钱组合,别全程开最贵的。Tip: explore with cheap or local models, switch to frontier models only for the real implementation — the standard cost-saving combo among Cline users; don't run the most expensive model for everything.

核心功能Key Features

  • 🧠
    Plan / Act 双模式Plan / Act Dual Modes — Plan 只读出方案不动文件,Act 执行;每步关键操作单独审批,可控的自主。Plan proposes read-only without touching files; Act executes. Each consequential step needs its own approval — autonomy under control.
  • ✏️
    文件 + 终端 + 浏览器全权限Full File, Terminal & Browser Access — 创建和编辑文件、执行终端命令,还能用 Puppeteer 驱动真实浏览器做 web 任务。Creates and edits files, runs terminal commands, and drives a real browser via Puppeteer for web tasks.
  • 🔌
    30+ 模型提供商 BYOK30+ Model Providers, BYOK — Anthropic / OpenAI / Google / OpenRouter / Bedrock / Vertex / DeepSeek……本地 Ollama、LM Studio 也原生支持。Anthropic / OpenAI / Google / OpenRouter / Bedrock / Vertex / DeepSeek… plus native local Ollama and LM Studio support.
  • 🧩
    MCP 市场 + Rules + CheckpointsMCP Marketplace + Rules + Checkpoints — 从 MCP 市场接外部工具,用 Rules 固化项目规范,Checkpoints 一键回滚跑偏的任务。Connect external tools from the MCP marketplace, lock conventions in with Rules, roll back stray runs with Checkpoints.
  • 🖥️
    多编辑器 + CLI + 桌面应用Multi-Editor + CLI + Desktop App — VS Code、Cursor、Devin Desktop(原 Windsurf)、VSCodium、JetBrains,另有 CLI(npm i -g cline)与桌面应用。VS Code, Cursor, Devin Desktop (formerly Windsurf), VSCodium, JetBrains — plus a CLI (npm i -g cline) and a desktop app.

优缺点Pros & Cons

✓ 适合以下场景Good Fit For

  • 真开源 Apache-2.0,可审计、可放心用Genuinely open source (Apache-2.0) — auditable and trustworthy
  • 模型自由 BYOK:30+ 提供商 + 本地模型,一个界面全都要BYOK model freedom: 30+ providers plus local models in one interface
  • Plan→审批→Act→回滚,人机回路最成熟的一家Plan → approve → Act → roll back — the most mature human-in-the-loop design
  • 社区基本盘最大:约 7 万 star,2026 年 4 周仍有 300+ 提交Largest community base: ~70k stars, 300+ commits in four weeks in 2026

✕ 不适合以下场景Not Ideal For

  • token 账单自己扛:大仓库全文件上下文烧得快,重度用前沿模型月账单可达数百美元You meter your own token bill: full-file context on big repos burns fast; heavy frontier-model use can reach hundreds of dollars a month
  • 2026-02 "Clinejection" 供应链事件——agent 工具是特权软件,保持更新、只走官方渠道Feb 2026 "Clinejection" supply-chain incident — agent tooling is privileged software; keep it updated, use official channels only
  • 扩展 ID 仍是 saoudrizwan.claude-dev(历史包袱),新手容易困惑Extension ID is still saoudrizwan.claude-dev (legacy naming) — confusing for newcomers

应用场景Use Cases

人们使用 Cline 的常见场景:Popular ways people use Cline.

🧑‍💻 跨文件重构Cross-File Refactoring

Plan 模式先出重构方案,确认后 Act 批量改文件,Checkpoints 兜底——大手术也敢做。Plan the refactor first, Act to apply it across files on approval, with Checkpoints as the safety net — even big surgeries feel safe.

🐞 终端联调修 bugTerminal Debugging

读报错、改代码、跑测试一条龙,关键步骤逐个审批,人始终在回路里。Reads errors, edits code, runs tests in one loop — each consequential step approved, human always in the loop.

🌐 浏览器辅助的 web 任务Browser-Assisted Web Tasks

Puppeteer 驱动真实浏览器,改完前端直接看页面效果,不用来回切浏览器。Puppeteer drives a real browser — verify frontend changes visually without switching apps.

💰 低成本模型组合Low-Cost Model Combos

日常用 DeepSeek 或本地模型做探索,硬骨头再切前沿模型实现——把 token 花在刀刃上。Explore with DeepSeek or local models daily, switch to frontier models for the hard parts — spend tokens where they matter.

相似 AI 工具Similar AI Tools

如果 Cline 不符合你的需求,可以看看这些热门 AI 工具:If Cline doesn't fit your needs, here are other popular AI tools you might consider:

常见问题Frequently Asked Questions

Cline 2026 年还在积极维护吗?Is Cline still actively maintained in 2026? ▼
是。Cline 的 GitHub 仓库约 7 万 star(2026-10 核实)、4 周 313 次提交、每周新增约 478 star;扩展版本 v4.0.10,桌面应用与 CLI 并行迭代。同期的 Roo Code 已于 2026-05-15 关停、Kilo Code 被 Anaconda 收购,Cline 是开源 IDE agent 路线的现存主线。Yes. Cline's GitHub repo has ~70k stars (verified Oct 2026), 313 commits in four weeks, and ~478 new stars per week; the extension is at v4.0.10 with the desktop app and CLI iterating in parallel. Roo Code shut down on May 15, 2026 and Kilo Code was acquired by Anaconda — Cline is the surviving mainline of the open-source IDE-agent lineage.
Plan 和 Act 模式怎么配合?How do Plan and Act modes work together? ▼
Plan 模式只读:读代码、查文档、出实现方案,不动文件;你确认方案后再切换到 Act 模式执行,每步关键操作单独审批;任务跑偏了可以用 Checkpoints 回滚到之前的状态。Plan mode is read-only: it reads code, checks docs, and proposes an implementation plan without touching files. Once you approve, switch to Act mode to execute, with each consequential step approved separately; if a run goes sideways, Checkpoints roll it back to an earlier state.
Cline 多少钱?How much does Cline cost? ▼
扩展本身免费,模型按量自付(BYOK):普通开发者用 Claude Sonnet 级模型约 15–40 美元/月;ClinePass 9.99 美元/月(开源模型阵容);Teams 20 美元/人/月(前 10 席免费)。具体价格以官网为准。The extension is free; you pay for model tokens (BYOK): a regular developer on Claude Sonnet-class models runs about $15–40/month; ClinePass is $9.99/month (open-weight model lineup); Teams is $20/user/month (first 10 seats free). Confirm prices on the official site.
Cline、Roo Code、Kilo Code 怎么选?Cline vs Roo Code vs Kilo Code? ▼
Roo Code(Cline 的 fork)已于 2026-05-15 关停;Kilo Code 被 Anaconda 收购后路线待定。现在选型直接用 Cline 主线——生态、更新频率和文档都在它身上。Roo Code (a Cline fork) shut down on May 15, 2026; Kilo Code's roadmap is uncertain after its Anaconda acquisition. Choose the Cline mainline today — the ecosystem, update cadence, and docs all live there.
此页面对你有帮助吗? Was this page helpful?