Agent 智能体

Cline|IDE/终端/桌面端开源编程智能体

Cline

Cline 是把 AI 编程智能体接入 VS Code、JetBrains、终端和桌面端的开源项目,也可通过 SDK 或 MCP 扩展能力。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 智能体 · 2026-11-09 更新 · 本站尚未实测

Cline 官方 README 将其定位为「The open source coding agent in your IDE, terminal, & desktop!」,即面向 IDE、终端与桌面的开源编程智能体。仓库描述为「Autonomous coding agent as an SDK, IDE extension, or CLI assistant.」,说明它以同一套智能体内核提供多种形态:CLI、桌面应用、VS Code 扩展、JetBrains 插件以及 Node.js SDK。

同一仓库按产品拆分子目录:SDK 在 sdk/,CLI 在 apps/cli/,VS Code 扩展在 apps/vscode/,桌面应用示例在 apps/examples/desktop-app/。需要说明的是,README 明确写道 JetBrains 插件「Currently we are not open-sourcing JetBrains plugins」,因此该插件不在本仓库开源范围内,其代码许可情况待核验。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 跨文件编辑:读取项目结构、理解文件间关系并对代码库做协同修改,工作过程中监控 linter 与编译器错误;在 VS Code 与 JetBrains 中每次修改以 diff 呈现,可审阅、修改或回退,并带检查点以便撤销。
  • 执行 Bash 命令:在终端直接运行命令并实时读取输出,可用于安装依赖、构建、测试、部署、数据库管理等;对开发服务器等长驻进程可后台持续响应新输出。
  • Plan / Act 两种模式:Plan 模式先探索代码库、提问并给出方案;Act 模式执行方案。README 说明每次文件编辑与终端命令都需要用户批准,也可开启 auto-approve 让其自主运行。
  • 规则与 Skills:通过 .clinerules 定义项目规则(编码规范、架构约定、部署流程、测试要求等),CLI、VS Code 扩展、JetBrains 插件会自动读取;skills 用于让模型在需要时加载特定规则。
  • 多智能体团队与定时任务:协调者智能体拆分任务交给专职智能体,团队状态跨会话保留;也可用 cron 定时运行智能体,如每日 PR 摘要、每周依赖检查。
  • 消息平台连接:README 列举 Telegram、Slack、Discord、Google Chat、WhatsApp、Linear,每个会话线程对应一个智能体会话,并可设置访问控制。
  • 无头 CLI 用于 CI/CD:可管道输入、输出 JSON、串联命令。
  • 扩展方式:通过 SDK 以编程方式注册工具与生命周期钩子;也可接入 MCP 服务器连接数据库、查询 API、管理云基础设施,CLI 中用 cline mcp 管理服务器。

实际应用场景

适用场景

适合希望在编辑器内完成跨文件重构、自动修复编译与测试错误的开发者;适合需要在终端或 CI/CD 中以无头方式批量执行编码任务、生成 PR 摘要的团队;适合把编程智能体接入 Slack、Telegram 等协作渠道统一操作的用户;也适合基于 @cline/sdk 自建智能体、工具与自动化流程的开发者。若只需单纯的对话式补全,建议先评估其审批与命令执行机制是否符合团队规范。

安装与接入

以下命令均取自 README 原文,各产品形态分开提供:

  • CLI:npm i -g cline,需 Node.js/npm 环境,具体版本要求待核验。
  • SDK:npm install @cline/sdk,文档见 https://docs.cline.bot/cline-sdk/overview。
  • VS Code 扩展:从 Visual Studio Marketplace(条目名 saoudrizwan.claude-dev)安装。
  • JetBrains 插件:从 JetBrains Marketplace 安装(插件 ID 28247)。
  • 桌面应用:README 提供 https://cline.bot/desktop 下载入口,称其为 macOS 与 Windows 原生应用。

CLI 还提供 cline mcp(管理 MCP 服务器)、cline --team-name(多智能体团队)、cline schedule create(定时任务)、cline connect telegram / cline connect slack(连接消息平台)等子命令。本次采集到的 mcp_config 与 server_config 均为 HTTP 404,仓库未给出可直接复用的 MCP 配置片段,相关接入细节待核验。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

权限方面:Cline 会读取项目文件、执行终端命令、访问网络工具,并在开启 auto-approve 后自主运行,实际权限范围取决于所选运行形态与审批设置;审批机制是主要控制点,但不应视为安全隔离。模型方面,README 称其不绑定单一提供商,列出 Anthropic(Claude Opus、Sonnet、Haiku)、OpenAI GPT 系列、Google Gemini 系列、OpenRouter、Vercel AI Gateway、AWS Bedrock(Claude、Llama 等)、Azure / GCP Vertex、Cerebras / Groq,以及 Ollama / LM Studio 本地模型和任意 OpenAI 兼容 API。使用这些模型通常需要自备对应 API Key 并承担各提供商费用;README 未说明自带免费额度,费用与配额待向官方及各提供商核验。文档站、桌面下载站、Discord 等为境外服务,中国大陆访问与支付情况待核验。仓库 README 未说明对国内模型或国内网络环境的适配情况,若需要请自行核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库根目录 LICENSE 为 Apache License 2.0,README 结尾写作「[Apache 2.0 © 2026 Cline Bot Inc.]」,覆盖的是本仓库代码。需注意:JetBrains 插件明确未开源;cline.bot 相关站点与可能存在的托管、付费服务不因代码开源而免费或开源,其条款与定价待向官方核验;第三方模型、网关、云服务(如 Bedrock、Azure、Vertex、OpenRouter 等)各自受其服务条款约束。因此不宜把公开仓库等同于全部功能可自由使用。源码当前未归档、未标记停止维护,后续演进以官方仓库为准。国内使用方面,README 无地域限制或国内合规说明,本地模型(Ollama / LM Studio)路线是否满足内网与数据出境要求需自行评估。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · npm i -g cline

project_type:来源确认 · The open source coding agent in your IDE, terminal, & desktop!

原始 README(折叠技术参考)
<p align="center">
  <img src="assets/icons/icon.png" width="80" alt="Cline" />
</p>

<h1 align="center">Cline</h1>

<p align="center">
The open source coding agent in your IDE, terminal, & desktop!
</p>

<div align="center">

<div align="center">
<table>
<tbody>
<td align="center">
<a href="https://docs.cline.bot" target="_blank"><strong>Docs</strong></a>
</td>
<td align="center">
<a href="https://discord.gg/cline" target="_blank"><strong>Discord</strong></a>
</td>
<td align="center">
<a href="https://www.reddit.com/r/cline/" target="_blank"><strong>r/cline</strong></a>
</td>
<td align="center">
<a href="https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop" target="_blank"><strong>Feature Requests</strong></a>
</td>
<td align="center">
<a href="https://cline.bot/join-us" target="_blank"><strong>Join us!</strong></a>
</td>
</tbody>
</table>
</div>

</div>

<br>

<div align="center">
<table>
<tr>
<td align="center" width="50%">

### CLI

Run Cline in your terminal.
Interactive chat or fully headless 
for CI/CD and scripting.

```
npm i -g cline
```

<a href="./apps/cli/README.md">Learn more</a>
<br><br>

</td>
<td align="center" width="50%">

### Desktop App

Cline as a native app for macOS and Windows.
Run agent sessions in any folder, schedule
routines, and manage models, plugins, and MCP servers.

<a href="https://cline.bot/desktop">Download for macOS and Windows</a>
<br><br>

</td>
</tr>
<tr>
<td align="center" width="50%">

### VS Code Extension

AI coding assistant in your editor.
Create files, run commands, browse the web,
and use tools with human-in-the-loop approval.

<a href="https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev">Install from VS Marketplace</a>
<br><br>

</td>
<td align="center" width="50%">

### JetBrains Plugin

The same Cline experience in IntelliJ IDEA,
PyCharm, WebStorm, GoLand, and the rest of
the JetBrains family.

<a href="https://plugins.jetbrains.com/plugin/28247-cline">Install from JetBrains Marketplace</a>
<br><br>

</td>
</tr>
</table>
</div>

<div align="center">
<table>
<tr>
<td align="center">

### SDK

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, connectors, scheduled automations, and more.

```
npm install @cline/sdk
```

<a href="https://docs.cline.bot/cline-sdk/overview">Documentation</a>
<br><br>

</td>
</tr>
</table>
</div>

---

## Index

| Product | Description | Location | CHANGELOG |
|---------|------------|--------------|--------------|
| **SDK** | Node.js programmatic agent API and extension exports. | [`sdk/`](https://github.com/cline/cline/tree/main/sdk) | [CHANGELOG.md](https://github.com/cline/cline/blob/main/sdk/CHANGELOG.md) |
| **CLI** | Terminal UI, headless mode, shell commands, and CLI-specific flows. | [`apps/cli/`](https://github.com/cline/cline/tree/main/apps/cli) | [CHANGELOG.md](https://github.com/cline/cline/blob/main/apps/cli/CHANGELOG.md) |
| **VS Code Extension** | The Marketplace extension and extension host integration. | [`apps/vscode/`](https://github.com/cline/cline/tree/main/apps/vscode) | [CHANGELOG.md](https://github.com/cline/cline/blob/main/CHANGELOG.md) |
| **Desktop App** | Native macOS and Windows app (Tauri shell, Bun sidecar, Next.js UI). | [`apps/examples/desktop-app/`](https://github.com/cline/cline/tree/main/apps/examples/desktop-app) | [CHANGELOG.md](https://github.com/cline/cline/blob/main/apps/examples/desktop-app/CHANGELOG.md) |
| **JetBrains Plugin** | JetBrains-hosted client that talks to the shared agent core. | Currently we are not open-sourcing JetBrains plugins | - |
| **Docs site** | Public documentation pages. | [`docs/`](https://docs.cline.bot/) | - |

## Edits Code Across Your Project

Cline reads your project structure, understands the relationships between files, and makes coordinated changes across your codebase. It monitors linter and compiler errors as it works, fixing issues like missing imports, type mismatches, and syntax errors before you even see them. In VS Code and JetBrains, every edit shows up as a diff you can review, modify, or revert. All changes are tracked with checkpoints, so you can easily undo the agent's work.

## Runs Bash Commands

Cline executes commands directly in your terminal and watches the output in real time. Install packages, run build scripts, execute tests, deploy applications, manage databases. For long-running processes like dev servers, Cline continues working in the background and reacts to new output as it appears, catching compile errors, test failures, and server crashes as they happen.

## Plan and Act

Toggle between Plan mode and Act mode. In Plan mode, Cline explores your codebase, asks clarifying questions, and lays out a strategy. Once you're aligned, switch to Act mode and Cline executes the plan. Every file edit and terminal command requires your approval, so you stay in control of what actually changes. Or toggle auto-approve and let Cline run autonomously.

## Rules and Skills

Define project-specific rules in `.clinerules` files that guide how Cline works in your codebase: coding standards, architecture conventions, deployment procedures, testing requirements. Rules are picked up automatically by the CLI, VS Code extension, and JetBrains plugin. Use skills to let the model load specific rules when needed.

## Works With Every Model

Cline is not locked to a single AI provider. Use whichever model fits your workflow:

| Provider | Models |
|----------|--------|
| Anthropic | Claude Opus, Sonnet, Haiku |
| OpenAI | GPT series models |
| Google | Gemini series models |
| OpenRouter | 200+ models from any provider |
| Vercel AI Gateway | Route to many providers through one gateway |
| AWS Bedrock | Claude, Llama, and more |
| Azure / GCP Vertex | All hosted models |
| Cerebras / Groq | Fast inference models |
| Ollama / LM Studio | Run local models on your machine |
| Any OpenAI-compatible API | Self-hosted or third-party endpoints |

## Extend With Plugins or MCP Servers

Extend Cline's capabilities with plugins. Using the SDK, register tools and lifecycle hooks programmatically through the plugin system for logging, auditing, policy enforcement, or adding domain-specific capabilities. Simple plugin example below.

```typescript
import { Agent, createTool } from "@cline/sdk"

const deployTool = createTool({
  name: "deploy",
  description: "Deploy the current branch to staging.",
  inputSchema: { type: "object", properties: { env: { type: "string" } }, required: ["env"] },
  execute: async (input) => {
    // your deployment logic
  },
})

const agent = new Agent({ tools: [deployTool], /* ... */ })
```
...or use [MCPs](https://github.com/modelcontextprotocol) to connect to databases, query APIs, manage cloud infrastructure, and interact with external systems. Use [community-built servers](https://github.com/modelcontextprotocol/servers) or ask Cline to create custom tools on the fly. In the CLI, manage servers with `cline mcp`.

## Multi-Agent Teams

Coordinate multiple agents working together on complex tasks. A coordinator agent breaks the work into subtasks and delegates to specialist agents, each with their own tools and context. Team state persists across sessions so you can pick up where you left off.

```bash
cline --team-name auth-sprint "Plan and implement user authentication with tests"
```

## Scheduled Agents

Run agents on cron schedules for recurring automations. Daily PR summaries, weekly dependency checks, codebase health reports. Schedules persist across restarts and run independently of any terminal session.

```bash
cline schedule create "PR summary" \
  --cron "0 9 * * MON-FRI" \
  --prompt "List all open PRs and their review status" \
  --workspace /path/to/repo
```

## Connect to Slack, Telegram, Discord, and More

Chat with your agent from any messaging platform: Telegram, Slack, Discord, Google Chat, WhatsApp, and Linear. Each conversation thread maps to an agent session with full context. Set up access control to restrict who can interact with your agent.

```bash
# Connect to Telegram
cline connect telegram -k $BOT_TOKEN
# Connect to Slack through webhook
cline connect slack --bot-token $SLACK_TOKEN --signing-secret $SECRET --base-url $URL
# Connect to Slack using socket mode
cline connect slack --bot-token $SLACK_TOKEN --app-token $SLACK_APP_TOKEN
```

## Headless CLI for CI/CD

Run Cline with zero interaction for scripting and automation. Pipe input, get JSON output, chain commands, integrate into CI/CD pipelines.

```bash
cline "Run tests and fix any failures"
git diff origin/main | cline "Review these changes for issues"
cline --json "List all TODO comments" | jq -r 'select(.type == "agent_event" and .event.text) | .event.text'
```

## Contributing

Start with the [Contributing Guide](CONTRIBUTING.md). Join our [Discord](https://discord.gg/cline) and head to the `#contributors` channel to connect with other contributors. Check our [careers page](https://cline.bot/join-us) for full-time roles.

## License

[Apache 2.0 © 2026 Cline Bot Inc.](./LICENSE)
历史前置条件说明(补充参考)

Node.js/npm(CLI、SDK 明确需要 npm,具体版本待核验);VS Code 或 JetBrains IDE(对应插件形态);macOS 或 Windows(桌面应用,README 表述);所接入模型提供商的 API Key 或本地模型运行时(如 Ollama / LM Studio);CI/CD 场景需可运行 npm 的运行环境;使用消息平台连接需各平台的 Bot Token、签名密钥等凭据;费用与配额、网络可达性、国内模型适配均待核验

项目来源与清单版权许可

https://github.com/cline/cline

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.