Autonomous AI coding agent in VS Code — reads files, runs code, edits projects
Code / DevToolsFreeOpen sourceCoding Assistants
Cline (formerly Claude Dev) is an open-source VS Code extension that turns any LLM into an autonomous coding agent. It can read and write files, run terminal commands, browse the web, and make multi-step code changes — all within VS Code. Bring your own API key (Claude, GPT, Gemini, Ollama) with transparent cost tracking.
The most capable autonomous coding agent in VS Code — can autonomously debug, fix, test, and ship code with minimal guidance.
Transparent cost tracking: see every API call, token count, and running cost in real time — no surprise bills.
Model-agnostic with BYOK: use Claude (best for complex reasoning), GPT, Gemini, or local Ollama models.
Always-on human oversight: Cline shows diffs and asks for approval before running commands, preventing unintended changes.
Key capabilities
File read/write: Reads your codebase and edits any file — with diff view showing proposed changes before applying.
Terminal execution: Runs commands (tests, builds, installs) and reads stdout/stderr to iterate on failures.
Web browsing: Can fetch URLs and read documentation to answer questions and solve problems.
Browser automation: Takes screenshots of web app UIs for visual debugging.
Multi-step task completion: Plan and execute complex tasks across multiple files and steps autonomously.
Custom instructions: Configure system prompts with project-specific context, coding standards, and preferences.
Model switching: Switch between Claude, GPT, Gemini, or Ollama models per task or project.
MCP tools: Supports Model Context Protocol (MCP) servers to extend capabilities with custom tools.
Technical notes
License: Apache 2.0 — fully open source at github.com/cline/cline
IDE: VS Code only (as a Marketplace extension)
LLM support: Anthropic Claude, OpenAI, Google Gemini, Groq, Ollama, LM Studio, any OpenAI-compatible API
BYOK: Yes — you provide and pay for your own API keys; Cline is a client, not an API provider
Cost tracking: Real-time token usage and USD cost per session visible in the extension
Context window: Automatically manages context; can use long-context models for large codebases
Previously known as: Claude Dev (renamed to Cline)
Ideal for
VS Code power users who want a truly autonomous coding agent without switching to a new IDE.
Developers who want full model choice and transparent cost control rather than a subscription black box.
Teams building or debugging complex features who want AI that can run tests, check outputs, and iterate.
Not ideal for
Developers who want polished tab completion while writing code — Codeium or GitHub Copilot are better for that.
JetBrains or other IDE users — Cline is VS Code only.
Users uncomfortable with AI executing terminal commands on their machine — requires trust in the approval workflow.
See also
Aider — Terminal-based autonomous coding agent with git integration.
Cursor — AI-native IDE fork of VS Code with integrated tab completion and Composer.
Continue — Open-source VS Code extension with model flexibility but less autonomy than Cline.
FAQ
What is Cline?
Cline is an open-source AI coding agent for VS Code. Unlike simpler AI coding extensions that only suggest completions, Cline is agentic — it can read files, write code, run shell commands, install packages, and iterate autonomously to complete a task you describe. It shows you every action it takes and asks for approval before executing potentially destructive operations.
Is Cline free?
Cline itself is completely free and open source (Apache 2.0). You need your own API keys — Claude (Anthropic), GPT (OpenAI), Gemini (Google), Groq, or any OpenAI-compatible API. Costs depend on usage; Cline shows you real-time token cost estimates. You can also use local models via Ollama for zero API cost.
How does Cline compare to Cursor?
Cursor is a standalone AI-native IDE (fork of VS Code) with AI deeply integrated including tab completion, Composer multi-file editing, and its own paid subscription. Cline is a VS Code extension — you keep your existing VS Code setup and API keys. Cline is more agentic (autonomous multi-step tasks); Cursor is better for interactive tab completion and polish.
What can Cline do autonomously?
Cline can: read and edit any file in your workspace, run shell commands (npm install, git, test runners), create new files and directories, search the web for documentation, view screenshots of browser output, and chain multi-step tasks. It always shows you what it's doing and asks before taking irreversible actions.
SEO, AI search (how ChatGPT, Perplexity and Google describe Cline), UX, CRO and support from one account manager, with a monthly report. Includes a Featured launch on db.fyi. Starts with a free audit.
Founding offer: $299 a month for your first 3 months, plus a free case study.