Cline icon
AI Programming Tools

Cline

Cline is a free, open-source AI coding agent for VS Code and the terminal that plans changes, edits files, and runs commands with your approval.

LEARN MORE

Latest Cline guides

Practical, in-depth guides related to this tool.

View all Cline guides
OVERVIEW

About Cline

Cline is an open-source (Apache-2.0) AI coding agent that works inside your editor or terminal. Instead of only suggesting the next line, it reads your project, proposes a plan, edits multiple files, runs terminal commands, and reacts to errors — asking for your approval before each action unless you choose to auto-approve. You connect it to the AI model of your choice.

Key features

  • Plan and Act modes — agree on an approach in Plan mode, then let Cline carry it out in Act mode.
  • Multi-file edits with checkpoints — every change is shown as a diff, and checkpoints let you roll back if a step goes wrong.
  • Terminal commands — runs builds, tests, and other commands and uses the output to fix problems.
  • Bring your own model — works with Claude, GPT, Gemini, local models through Ollama or LM Studio, and any OpenAI-compatible endpoint.
  • Project rules and MCP tools — .clinerules files encode your team’s conventions, and MCP servers add custom tools and data sources.
  • Beyond the editor — a CLI, an SDK, and headless runs in CI pipelines such as GitHub Actions.

Pricing

The Cline extension and CLI are free and open source. You pay only for AI model usage — either with your own provider API key or through Cline’s billing at provider cost. Cline also lists an optional ClinePass subscription ($9.99/month) for extra usage on popular open coding models. An Enterprise plan with SSO, role-based access, audit logs, and centralized billing is priced on request.

Who it’s for

Developers who want an agent that can take on whole tasks — refactors, bug fixes, new features, test writing — while keeping control over which model is used and which actions run.

Good to know

  • Model costs can add up quickly on long agent sessions; set spending limits with your API provider.
  • Human approval is on by default. Turning on auto-approve is faster but means commands run without review.
  • The free version comes with community support only.