百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

Cline

> AI 编程
开源

VS Code 中的开源编码代理可操作文件、终端和浏览器。

68.5K stars0 点赞7 次浏览
访问官网GitHub进入专题

工具介绍

VS Code 中的开源编码代理可操作文件、终端和浏览器。

Cline

The open source coding agent in your IDE, terminal, & desktop.


--- ## 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. | [`/`](https://github.com/cline/cline/tree/main) (WIP migrating) | [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)

Issues· 1339 开放

查看全部 Issues在 GitHub 打开
  • #14219

    配置提供程序,缺少 API 密钥和连接按钮

    更新于 2026年9月17日
  • #14217

    [桌面] macOS 0.0.29+:Ollama 模型列表正常工作,聊天运行失败,出现 FailedToOpenSocket 错误

    更新于 2026年9月17日
  • #14215

    macOS arm64: 已发布的二进制文件具有无效的代码签名,由内核在执行时杀死 (退出代码 137)

    更新于 2026年9月17日
  • #11539

    在 Haswell 之前的 CPU (没有 AVX2) 上, cline v3.x 因 Bun 嵌入的二进制文件而发生 SIGILL 退出

    更新于 2026年9月17日
  • #14184

    Cline: 无法连接 GitHub,因为 GitHub 连接选项消失并重定向到控制面板

    QAVS Code更新于 2026年9月17日
  • #12300

    PLAN MODE: read_file 工具调用返回空结果 — 内容仅在下一个用户消息中可见

    staleVS Code更新于 2026年9月17日
  • #14201

    我怎么连登录这一步都进不去了

    更新于 2026年9月17日
  • #14186

    VS Code 扩展忽略了 `.cline/rules/` 目录,而 SDK 解析器则支持此目录

    VS Code更新于 2026年9月16日
  • #14180

    自定义 OpenAI- 兼容提供者在 Cline 桌面( Windows) 上失败了“ 未知或已禁用提供者” 错误

    更新于 2026年9月16日
  • #14129

    Desktop 0.0.27: 在侧车未准备好时,浏览器 OAuth 登录失败 (Intel macOS, Brave/Choosy)

    betaDesktop App更新于 2026年9月16日

> 标签

AI编程AgentVS Code

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年9月17日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.