Cline
NewOpen source coding agent for VS Code, JetBrains IDEs, Cursor, the terminal and a desktop app, with Plan and Act modes, checkpoints, auto-approve controls, MCP servers and many model providers or your own keys.
Cline
Explore features, practical uses and pricing below.
Cline is an open source coding agent that reads your files, edits code across a project, runs terminal commands and uses a browser, asking for approval along the way unless you tell it otherwise. It began as a VS Code extension and now ships as an extension for VS Code, Cursor, Windsurf, VSCodium, Antigravity and JetBrains IDEs, a CLI installed with npm, a desktop app and an SDK for embedding the same agent runtime in your own software. The source is on GitHub under the Apache 2.0 license.
Plan first, then Act
Cline's core workflow separates thinking from doing. In Plan mode, according to the Plan and Act docs, it can read the codebase, search and discuss strategy, but it can't modify files or run commands. Switch to Act mode and the conversation carries over while Cline starts editing and executing. You can move between the two as often as you like, which helps when an implementation runs into something the plan didn't anticipate.
Checkpoints, approvals and rules
- Checkpoints. After every tool use Cline commits a snapshot to a shadow Git repository kept apart from your real history. Compare shows the diff for that step, and Restore rolls files back while keeping the conversation. The docs warn that very large repositories can make this slow and storage-hungry.
- Auto Approve. Permissions are set per category: reading or editing files inside or outside the workspace, running safe or all commands, using the browser and using MCP servers. The model flags each command as safe or approval-required, and there's no fixed allowlist, which is a good reason to leave "Execute all commands" off.
- Rules. Markdown files in .clinerules/ hold coding standards and project context. Cline also detects .cursorrules, .windsurfrules and AGENTS.md, so rules written for other tools carry over.
- MCP. MCP servers add tools for databases, APIs and infrastructure, and an MCP Marketplace helps you find them.
Choosing models and paying for them
Cline doesn't tie you to one provider. The docs cover Anthropic, OpenAI, Google Gemini, AWS Bedrock, OpenRouter, DeepSeek, Qwen and more than 30 others, along with OpenAI-compatible endpoints and local runtimes such as Ollama and LM Studio. The pricing page says the open source extension is free for individual developers. You pay for inference through your own keys or through Cline's usage-billed provider. ClinePass, an optional $9.99 monthly subscription, raises rate limits on a curated set of open models. An Enterprise plan with custom pricing adds SSO, role-based access, provider restrictions and team dashboards.
Who gets the most out of Cline
Cline suits developers who want an agent inside the editor they already use and are comfortable picking and paying for models themselves. Because it runs in VS Code forks and JetBrains IDEs, a mixed team can share one rules folder. People who'd rather have one subscription with everything bundled may find Cursor or GitHub Copilot easier to budget. With your own keys, cost depends entirely on the tokens your tasks consume, and long Act sessions on big repositories can get expensive.
A first task with Cline
Install the extension, choose a provider and add .clinerules/testing.md explaining how to run the tests. Start in Plan mode and ask: "Explain how session expiry works in this app and propose a way to extend sessions on activity." Push back until the plan names the files it will touch. Switch to Act, approve the edits as they come and let it run the test command. If a step goes wrong, restore the checkpoint before it rather than untangling the change by hand.
Before you install Cline
Is Cline really free?
The extension and CLI are free and open source. Model usage isn't, unless you run local models.
Can it run without an editor?
Yes. The CLI supports interactive sessions and headless runs for CI and scripting, and the desktop app runs agent sessions with no editor at all.
Does it work in JetBrains IDEs?
Yes. A free Cline plugin is listed on the JetBrains Marketplace for IntelliJ IDEA, PyCharm, WebStorm and others, though the pricing page still lists the JetBrains extension under Enterprise, so teams should confirm what applies to them.