
Overview
Cline is an open-source development agent engineered to read and modify entire codebases, run terminal commands, control the browser for testing, and integrate external tools. It can be used as an extension in major code editors, as a native desktop application, or directly from the command line.
Its workflow centers on separating planning (Plan mode) from execution (Act mode). Before altering the project, the agent analyzes relevant files and proposes an implementation strategy. During the action stage, every code edit or terminal command creates a checkpoint with a visual diff, allowing developers to approve actions step by step, enable auto-approval for trusted routines, or revert changes with a single click.
Because it does not lock users into a single AI vendor, developers can bring their own API keys (BYOK) from cloud providers, run local models on their own machines, or purchase inference directly through the platform account. For engineering teams and continuous automation, the ecosystem also includes a CLI for scripts and CI/CD pipelines, a web Kanban board to coordinate parallel agents, and an SDK to embed the agent engine into custom applications.
Features and functionality
- Plan and Act modes: separates architectural alignment and implementation strategy from hands-on code execution.
- Coordinated multi-file editing with checkpoints: applies changes across multiple files while maintaining type and import consistency, offering in-editor diffs and instant per-step rollback.
- Interactive terminal execution: runs development servers, test suites, and scripts in the terminal, reading real-time output to diagnose and fix errors.
- Project rules and Skills: uses .clinerules files, reusable skills, and hooks to enforce repository coding standards, architecture guidelines, and deployment conventions.
- Model and provider freedom: works with your own API keys from various cloud providers, OpenAI-compatible endpoints, local models via Ollama or LM Studio, and built-in platform inference.
- Extensibility via MCP and SDK: connects Model Context Protocol (MCP) servers to access databases, APIs, and infrastructure, and provides an SDK for building custom agents.
Use cases
- Understanding and navigating legacy projects: map dependencies, directory structures, and execution flows across large codebases using @ context mentions.
- Multi-file refactoring: update interfaces, migrate libraries, and adjust interdependent modules with visual diff tracking and linter validation.
- End-to-end feature development: plan the solution in Plan mode, approve file creation, and run automated tests in the terminal until the expected behavior is verified.
- Terminal and CI/CD automation: use the CLI in scripts, scheduled jobs, and continuous integration pipelines for recurring code reviews, diagnostics, and maintenance.
- Parallel task orchestration: use the Kanban board or agent teams to split tasks across independent worktrees with organized history.
How to use
- Install the extension in your preferred editor (such as VS Code, JetBrains, Cursor, or Windsurf), download the Cline for Desktop app, or install the command-line interface via npm i -g cline.
- Configure AI model access by entering your own API key (BYOK), connecting a local runtime, or authenticating a platform account.
- Open your project, reference files, folders, or issues using @, and use Plan mode to review the agent's proposed strategy before modifying any code.
- Switch to Act mode to inspect diffs in the editor and approve file writes or terminal command execution, using checkpoints to undo any step if needed.
Required experience level
Recommended for intermediate to advanced users. While natural language conversation makes it easy to start, getting the most out of approval modes, terminal commands, API key setup, and MCP servers requires familiarity with version control (Git), reading code, and development environments.
Integrations
Cline integrates natively with VS Code, JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, and GoLand), Cursor, and Windsurf, while also supporting Zed and Neovim via the ACP protocol. Across the model ecosystem, it supports providers such as Anthropic, OpenAI, Google Gemini, OpenRouter, AWS Bedrock, GCP Vertex, DeepSeek, Ollama, and LM Studio. It also features integration with the MCP Marketplace, a JavaScript/TypeScript SDK (@cline/sdk), and connectors for workflows in GitHub Actions, GitLab, Slack, and Linear.
Plans and pricing
The extension and CLI source code are open source and free for individual developers, with no mandatory monthly software fee. Costs apply strictly to AI model inference consumption, which can be paid directly to providers using your own key (BYOK), purchased pay-as-you-go through the platform, or covered via the optional ClinePass subscription tailored for open-weight models. For organizations requiring centralized billing, SSO, role-based access control (RBAC), audit logs, and team governance, an Enterprise plan is available through sales contact.
Alternatives to Cline
Intelligent editor that understands your entire code and helps you program, refactor, and debug using natural language.
AI assistant that accelerates programming with intelligent code suggestions right in the editor.
AI assistant to generate, explain, and debug code quickly with multi-language support.
AI code review that detects bugs, suggests automatic fixes, and accelerates the software development process



