A hand pushing a lever that drives a mechanical chain, suggesting a human approving each automated step.
Cline keeps a hand on the lever: it proposes a plan and waits for your approval before every file edit and command.

Cline is an open-source coding agent that runs in your IDE and terminal. It reads and writes files, runs terminal commands, uses a browser, and builds features through conversation, but it does none of that silently. Every file edit and every terminal command surfaces for your approval first, so you always see and confirm what changes. It is released under the Apache-2.0 license by Cline Bot Inc. and is written in TypeScript.

Its most-used surface is the Visual Studio Code extension, where edits appear in a diff view you approve or reject. Cline has since grown a command-line interface, a JetBrains plugin, and a Kanban board, all built on the same agent core. Cline is model-agnostic: you bring your own API key for a cloud or local model, and it also offers hosted billing options if you prefer not to manage keys.

Where Cline sits in the stack

Interfaces
VS Code extension CLI JetBrains plugin Kanban board All share one agent core
Control
Plan mode and Act mode Per-action approval Checkpoints Approve every edit and command; roll back with checkpoints
Tools
File read and write Terminal execution Browser MCP servers
Models
Anthropic, OpenAI, Google Bedrock, Azure, Vertex, Groq Local: Ollama, LM Studio Bring your own key, or hosted billing

Installation

Cline installs from the Visual Studio Marketplace as a VS Code extension. There is also an official command-line interface.

bash
# Command-line interface
npm i -g cline

For the editor extension, search for “Cline” in the VS Code Extensions view, or install the extension id saoudrizwan.claude-dev. A JetBrains plugin and a Kanban web board (npx kanban) are also available.

Two ways to use it

The first pattern is plan then act. You start a task in Plan mode, where Cline explores the codebase, asks clarifying questions, and lays out a strategy without changing anything. Once you agree, you switch to Act mode and Cline executes the plan, surfacing each edit for approval.

text
# In Plan mode
"Explore how auth is handled and propose where to add refresh tokens."
# Cline reads files, asks questions, and writes a plan.

# Switch to Act mode
"Looks good, implement it."
# Cline edits files and runs commands, one approval at a time.

The second pattern is connecting an MCP server so Cline can reach systems beyond your files, such as a database or a cloud API. Once attached, the agent can query those systems as part of a task, still gated by your approvals.

json
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
    }
  }
}

Typical workflow

Step 1 Plan In Plan mode, Cline explores the code and proposes a strategy.
Step 2 Approve the plan You review and agree the approach before any change is made.
Step 3 Act with approvals In Act mode, Cline edits files and runs commands, each one confirmed by you.
Step 4 Checkpoint Changes are tracked as checkpoints, so you can undo the agent's work.

How it compares

ClineCursorOpenCodeClaude Code
TypeOpen-source agent extensionAI-native editorTerminal agentTerminal agent
LicenseApache-2.0ProprietaryMITProprietary
Primary surfaceVS Code, CLIFull editorTerminalTerminal, VS Code
Model couplingAny providerMultipleAny providerAnthropic only
Approval modelEvery action gatedConfigurablePlan agent gatesConfigurable
Best forReviewed edits in your IDEEveryday visual editingProvider-agnostic terminalAnthropic-native depth

When not to use it

  • You want fully unattended automation. Cline is built around per-action approval. For hands-off, long-running jobs where you cannot review each step, an autonomous agent such as OpenHands fits better.
  • You cannot grant local file and shell access. Cline runs inside your IDE and terminal with real access to your machine. In locked-down environments that is not allowed.
  • You want a pure terminal tool. If you live in the command line and do not want an editor extension, Aider or OpenCode is a closer fit.
  • You want one vendor’s managed stack. If you only use Anthropic models and want native subagents and hooks, Claude Code is purpose-built for that.

Further reading

Sources

  • Cline documentation : definition, plan and act modes, approvals, checkpoints, MCP, and supported providers.
  • Cline on GitHub : Apache-2.0 license, TypeScript, VS Code and CLI surfaces, and provider list.