Cline
Open-source AI coding agent that reads and writes code, runs terminal commands and automates tasks across VS Code, JetBrains and the CLI.
Cline is an open-source AI coding agent distributed in several forms: a VS Code extension, a JetBrains plugin, a command-line interface, a Kanban board and an SDK. It runs inside the editor or terminal, reads and writes files across a project, executes terminal commands, operates a browser and carries out multi-step automation tasks.
The project is released under the Apache 2.0 licence, so the code can be audited and self-hosted.
The agent works in two separated modes. In Plan mode it explores the codebase, clarifies requirements and drafts a strategy; once the user confirms, it switches to Act mode to carry out the work. Every step requires approval by default, with a diff preview and checkpoint rollback, and automatic approval can be enabled for autonomous runs.
This design is aimed at keeping long automated sessions recoverable rather than letting the agent change files unchecked.
Cline is model-agnostic. It supports Claude, GPT, Gemini, OpenRouter, AWS Bedrock, Ollama local models and any OpenAI-compatible endpoint, using a user-supplied API key or local compute. Because the model layer is swappable, changing providers does not change the workflow.
Project conventions, architecture rules and deployment steps can be encoded in a.clinerules file, which the CLI and editor plugins load automatically.
Beyond the editor, Cline can be extended through the SDK, which registers custom tools and lifecycle hooks, or through MCP servers that connect databases, APIs and cloud infrastructure. A coordinator agent can break tasks into subtasks and delegate them to specialist agents, and cron scheduling supports recurring automation.
The agent can also be reached from Slack, Telegram, Discord and Linear, and run headless in CI/CD pipelines such as GitHub Actions.
Typical uses include taking over legacy projects with missing documentation, coordinating multi-file refactors such as interface renames or framework upgrades, test-driven development where Cline writes and runs tests and iterates on failures, and pipeline checks that review commits or repair broken builds.
The tool is free and open source; model usage is billed by whichever provider the user connects.
Our take
Cline is one of the more defensible choices for teams that want an agentic coding tool without handing control of their code or their model spend to a single vendor. The Apache 2.0 licence, the bring-your-own-key model support and the Plan/Act split with per-step approval and checkpoint rollback address the two objections buyers usually raise: lock-in and runaway automation. The same core running in VS Code, JetBrains, the terminal, a Kanban board and CI pipelines means a team can standardise on one agent rather than stitching together separate tools for the editor and the build server.
The trade-off is friction and cost visibility. Per-step approval is the safety feature, but it fragments long tasks, and users who want fully autonomous runs will find the default cadence slow until they enable auto-approval. Because model costs are paid directly to Anthropic, OpenAI, Google or a local runtime, billing is scattered across providers and there is no single invoice. Recommendation: adopt Cline if you already have model API access and want an auditable agent that fits existing CI and editor setups; look elsewhere if you need a fully managed, all-in-one subscription with no key management.
What it does
- Cross-file editing: Understands project structure and file dependencies to make coordinated multi-file changes, watching linter and compiler errors and fixing them as it goes.
- Terminal execution: Runs commands directly in the terminal and observes output in real time, covering dependency installs, tests, deployments and long-running dev servers.
- Plan / Act modes: Explores the codebase and drafts a strategy in Plan mode, then executes in Act mode with per-step approval or optional auto-approval.
- Rules and skills: A.clinerules file defines coding standards, architecture conventions and deployment steps, loaded automatically by the CLI and editor plugins.
- Model support: Works with Claude, GPT, Gemini, OpenRouter, AWS Bedrock, Ollama local models and any OpenAI-compatible endpoint using your own key.
- MCP and SDK extension: Register custom tools and lifecycle hooks through the SDK, or connect MCP servers to databases, APIs and cloud infrastructure.
- Agent teams and scheduling: A coordinator agent splits tasks and delegates to specialist agents, with cron scheduling for recurring automation.
- Multi-platform access: Chat with the agent from Slack, Telegram, Discord and Linear, and run it headless in CI/CD pipelines such as GitHub Actions.
- Rollback and diff preview: Every change shows a diff and can be reverted via checkpoints, so automated sessions stay recoverable.
Best for
- Teams taking over legacy or undocumented codebases who need fast architectural orientation.
- Multi-file refactors such as interface renames, framework upgrades and standardisation sweeps.
- Test-driven development where the agent writes, runs and iterates on test suites.
- CI/CD pipelines that need headless review of commits or automatic repair of broken builds.
- Organisations that require auditable, self-hostable tooling under a permissive licence.
- Developers who already hold model API keys or run local models and want to avoid vendor lock-in.
Not ideal for
- Users who want a fully autonomous agent with no approval steps by default.
- Buyers who prefer a single bundled subscription rather than managing their own model keys and bills.
- Non-technical users without terminal or API-key familiarity.
Pros
- Apache 2.0 open source, auditable and self-hostable with no black-box behaviour.
- No vendor lock-in: any major provider or local model works, and switching does not change the workflow.
- One core across VS Code, JetBrains, CLI, Kanban and SDK, from editor to CI pipeline.
- Per-step approval, diff preview and checkpoint rollback keep automation controllable.
- MCP and SDK extension cover databases, APIs and cloud infrastructure.
Cons
- Model costs are paid to each provider separately, so billing is fragmented.
- Approval prompts interrupt the flow of long tasks unless auto-approval is enabled.
- Requires users to supply and manage their own API keys or local compute.
Pricing and facts
| Pricing model | Open source · from Free |
|---|---|
| Free tier | Yes, the tool is free and open source; model usage is paid separately to the chosen provider |
| Pricing detail |
|
| Platforms | VS Code, JetBrains, CLI, Kanban board, SDK, Slack, Telegram, Discord, Linear, GitHub Actions |
| Developer | Cline |
| Website | https://cline.bot/?utm_source=aibookmarks.net |
| Last reviewed | 2026-11-26 |
Example prompt
Explore this repository's architecture, list the modules that depend on the payments service, then rename the charge API across all callers and run the test suite until it passes.Alternatives to Cline
Questions about Cline
What is Cline?
Cline is an open-source AI coding agent distributed in several forms: a VS Code extension, a JetBrains plugin, a command-line interface, a Kanban board and an SDK. It runs inside the editor or terminal, reads and writes files across a project, executes terminal commands, operates a browser and carries out multi-step automation tasks.
The project is released under the Apache 2.0 licence, so the code can be audited and self-hosted.
The agent works in two separated modes. In Plan mode it explores the codebase, clarifies requirements and drafts a strategy; once the user confirms, it switches to Act mode to carry out the work. Every step requires approval by default, with a diff preview and checkpoint rollback, and automatic approval can be enabled for autonomous runs.
This design is aimed at keeping long automated sessions recoverable rather than letting the agent change files unchecked.
Cline is model-agnostic. It supports Claude, GPT, Gemini, OpenRouter, AWS Bedrock, Ollama local models and any OpenAI-compatible endpoint, using a user-supplied API key or local compute. Because the model layer is swappable, changing providers does not change the workflow.
Project conventions, architecture rules and deployment steps can be encoded in a.clinerules file, which the CLI and editor plugins load automatically.
Beyond the editor, Cline can be extended through the SDK, which registers custom tools and lifecycle hooks, or through MCP servers that connect databases, APIs and cloud infrastructure. A coordinator agent can break tasks into subtasks and delegate them to specialist agents, and cron scheduling supports recurring automation.
The agent can also be reached from Slack, Telegram, Discord and Linear, and run headless in CI/CD pipelines such as GitHub Actions.
Typical uses include taking over legacy projects with missing documentation, coordinating multi-file refactors such as interface renames or framework upgrades, test-driven development where Cline writes and runs tests and iterates on failures, and pipeline checks that review commits or repair broken builds.
The tool is free and open source; model usage is billed by whichever provider the user connects.
Is Cline free?
Cline is open source. Yes, the tool is free and open source; model usage is paid separately to the chosen provider
What is Cline best for?
Teams taking over legacy or undocumented codebases who need fast architectural orientation.; Multi-file refactors such as interface renames, framework upgrades and standardisation sweeps.; Test-driven development where the agent writes, runs and iterates on test suites.; CI/CD pipelines that need headless review of com
What are alternatives to Cline?
Alternatives reviewed on this site: OpenCode, Lovable, Agent.Space.
Listed in Vibe Coding Agents. Something out of date? Tell us.