Cline 是一个开源编码代理,提供 IDE 扩展、CLI、桌面应用和 SDK 多种使用形态,支持多模型与 MCP。它可以在编辑器中创建文件、运行命令、浏览网页并使用工具,相关操作需人工审批;CLI 也支持无头模式用于 CI/CD 等场景。
项目概览
同一项目同时提供 IDE 扩展、CLI、桌面应用和 SDK 四种使用形态,CLI 支持交互式与无头(headless)两种模式,可覆盖编辑器、终端、桌面与编程集成多种使用场景。
项目类型
AI Agent · AI 编程
应用场景
编程开发 · 自动化执行
部署方式
查看项目说明
License
Apache-2.0
适合谁
需要在 IDE、终端和桌面多种环境中使用自主编码代理的开发者。
希望在 CI/CD 与脚本场景中无头运行编码代理的用户。
核心能力
编辑器内的 AI 编码助手,可创建文件、运行命令、浏览网页并使用工具,操作需人工审批(human-in-the-loop)。
在终端中运行 Cline,支持交互式聊天,或以完全无头模式用于 CI/CD 和脚本化场景。
Node.js 编程代理 API,可用于构建自定义 AI 代理、工具、多代理团队、连接器和定时自动化。
限制与风险
JetBrains 插件未开源,选型时需注意其与开源主体部分的许可差异。
如何开始
安装难度低。首次成功路径:执行 npm i -g cline,连接一个模型提供商,然后运行 cline "<task>"。
核验依据
README: The open source coding agent in your IDE, terminal, & desktop.
README: AI coding assistant in your editor. Create files, run commands, browse the web, and use tools with human-in-the-loop approval.
README: Run Cline in your terminal. Interactive chat or fully headless for CI/CD and scripting. ``` npm i -g cline ```
README: Build your own AI agents and integrations powered by the same engine that runs the CLI, desktop app, VS Code extension, and JetBrains plugin. Custom tools, multi-agent teams, conn…
README: | **JetBrains Plugin** | JetBrains-hosted client that talks to the shared agent core. | Currently we are not open-sourcing JetBrains plugins | - |