AI Open Source · 编码 Agent / Dev Tooling
cline/cline
Cline 提供同一套自主编码 agent 的三种形态:SDK、IDE 插件、CLI 助手。VS Code 用户熟悉的那个 Cline 插件就出自这里。想把 agent 嵌 进自家产品时,SDK 形态比较常用。
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
- Repo
- cline/cline
- Stars
- ★ 62k
- Language
- TypeScript
- License
- Apache-2.0
- Last push
- 1d ago
- Created
- 2024-07-06
- Homepage
- https://x.com/cline
README
CLI
Run Cline in your terminal. Interactive chat or fully headless for CI/CD and scripting.
npm i -g cline
<a href="./sdk/apps/cli/README.md">Learn more</a> <br><br>
</td> <td align="center" width="50%">Kanban
Run many agents in parallel from a web-based task board. Each card gets its own worktree, auto-commit, and dependency chains.
npm i -g kanban
<a href="https://github.com/cline/kanban">Learn more</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, Kanban, 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/ | CHANGELOG.md |
| CLI | Terminal UI, headless mode, shell commands, and CLI-specific flows. | sdk/apps/cli/ | CHANGELOG.md |
| VS Code Extension | The Marketplace extension and extension host integration. | / (WIP migrating) | CHANGELOG.md |
| JetBrains Plugin | JetBrains-hosted client that talks to the shared agent core. | Currently we are not open-sourcing JetBrains plugins | - |
| Kanban | Web-based multi-agent task board. | cline/kanban | CHANGELOG.md |
| Docs site | Public documentation pages. | docs/ | - |
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 aut
同一分类的其他项