Skip to content
Level up your prompts with SurePrompts — curated prompts for every workflow.
agentscamp

Cline

Open-source autonomous coding agent for VS Code that plans, edits files, and runs commands with diff approval, using any model you bring or a local runtime.

Updated

Cline is an open-source autonomous coding agent that runs as a VS Code extension, with a JetBrains plugin and terminal CLI as well. Describe a goal and it plans, edits files, and runs commands, showing every change as a diff you approve before it executes. Bring your own model: Anthropic, OpenAI, OpenRouter, Google, Bedrock, or local runtimes like Ollama.

Cline is an open-source autonomous coding agent that runs as a Visual Studio Code extension. Rather than living in a separate application, it adds a chat-driven agent to the editor you already use, where it can read your codebase, write and edit files, and execute terminal commands to complete multi-step tasks.

It is aimed at developers who want agentic coding inside VS Code while keeping control over which model they use. Cline is provider-agnostic: you supply your own API key (Anthropic, OpenAI, OpenRouter, Google, AWS Bedrock, and others) or point it at a local model, so cost and data handling stay in your hands.

Highlights

  • Agentic task loop — describe a goal and Cline plans, edits files, and runs commands to reach it, step by step.
  • Human-in-the-loop approvals — every file change and command can be reviewed and approved before it executes.
  • Bring your own model — works with many API providers and local runtimes (Ollama, LM Studio) via your own keys.
  • MCP support — connect Model Context Protocol servers to extend the agent with custom tools and data sources.
  • Diff-based edits — changes are shown as diffs in the editor so you can inspect them before accepting.
  • Beyond VS Code — also available as a JetBrains plugin and a terminal CLI for headless/scripted runs.

In an AI-assisted workflow

Install it from the VS Code Marketplace and add a provider key, then open the Cline panel and state a task:

Add a /health endpoint to the Express server in src/ that returns
{ status: "ok" } and write a test for it.

Cline proposes edits and commands; you approve each before it runs.

NOTE

Cline doesn't tie you to its own inference: pay your chosen provider directly for token usage, or buy model inference through Cline at cost or with the optional ClinePass subscription.

Good to know

Cline is free and open source (Apache-2.0), though its JetBrains plugin is not open-sourced. Usage costs depend on the API, local hardware, or Cline-provided inference you use.

Frequently asked questions

What is Cline?
Cline is an open-source autonomous coding agent that runs as a Visual Studio Code extension. It adds a chat-driven agent to your editor that reads your codebase, writes and edits files, and executes terminal commands to complete multi-step tasks — with every file change and command shown for review and approval before it runs.
Is Cline free?
Yes, Cline is free and open source under Apache-2.0. Model usage is separate: you supply your own API key (Anthropic, OpenAI, OpenRouter, Google, AWS Bedrock, and others), point it at a local model via Ollama or LM Studio, or buy inference through Cline itself, at cost or with the optional ClinePass subscription. Costs depend on the route you choose.
How do I install Cline?
Install it from the VS Code Marketplace and add a provider key, then open the Cline panel and state a task. Cline proposes edits and commands, and you approve each before it executes. It's also available as a JetBrains plugin and a terminal CLI for headless or scripted runs.

Filed under

vscode · open-source

Related