Cline
Added Updated
Published Last verified Released
Our verdict
A strong pick if you want an agent inside your editor, your own choice of model and an approval step for each action. Plan mode can't touch files, and checkpoints roll back code without losing the conversation, so you can loosen approvals with less risk. Cline is free and Apache-2.0; you pay your model provider, Cline's usage billing or a $9.99 monthly ClinePass, and long tasks can use a lot of tokens.
- Who it's for
- Editor users who want an open-source agent with their own model
- Leverage
- Agentic edits and commands with human approval
- Effort
- Low
- Date added
What Cline does
Cline is a coding agent that reads and writes files, runs terminal commands, uses a browser and calls MCP tools, asking for your approval before each action unless you auto-approve it. It ships as a VS Code extension (it also runs in Cursor, Windsurf and Antigravity), a JetBrains plugin, a CLI with a headless mode for scripts and CI, a desktop app for macOS and Windows, and an SDK for building your own agents. Plan mode reads and discusses without changing anything; Act mode carries the same conversation into edits. Models come from your own API keys, local runtimes, Cline's usage billing or ClinePass.
How builders use Cline
- Start each feature in Plan mode so Cline reads the code and agrees an approach, then switch to Act; the conversation carries over.
- Turn on Read project files in Auto Approve first, and keep edits, commands, browser and MCP on manual until you trust the setup.
- Lean on checkpoints: Restore Files reverts the code but keeps the conversation, so a failed attempt costs little.
- Put team standards in .clinerules/ files; Cline also reads .cursorrules, .windsurfrules and AGENTS.md, so existing rules carry over.
- Use the CLI in scripts: git diff | cline "review these changes", or cline --json for output a script can parse.
Undoing a bad change
From Cline's checkpoints docs, checked 13 Nov 2026. Checkpoints are on by default and are saved after each tool use in a shadow Git repository, so your own Git history stays untouched.
| Restore option | What it does |
|---|---|
| Restore Files | Reverts your files to that checkpoint and keeps the conversation |
| Restore Task Only | Deletes later messages and leaves your files as they are |
| Restore Files & Task | Reverts files and deletes later messages, back to a known good state |
How Auto Approve decides
- Approval is checked per tool call, by category: reading files, editing files, running commands, the browser and MCP tools.
- There's no fixed command allowlist. The model flags each command as safe or needing approval, so npm test usually runs and rm -rf or npm install usually asks, with no guarantee.
- Read all files and Edit all files extend access outside your workspace, and only work when their base toggle is on.
- YOLO mode approves everything, including destructive commands and the switch from Plan to Act; Cline's docs call it dangerous.
Cline: limits and gotchas
- Checkpoints can use a lot of storage and slow Cline down on very large repositories; the docs suggest turning them off if that happens.
- Command safety rests on the model's judgement, not a rule list, so Execute all commands is risky on a machine with real credentials.
- The CLI's --auto-approve true runs fully unattended, which belongs in a sandbox or CI runner rather than your laptop.
- Plan mode can't edit files or run commands, so anything that needs a quick test run means switching to Act.
- You can start straight in Act mode, but Cline's docs warn it may then lack the context to make the right decisions.
Cline compared with other tools here
- Continue: another open-source assistant for VS Code and JetBrains that works with any model, including local ones.
- Claude Code: Anthropic's terminal-first agent on Claude models; Cline lets you switch providers from the editor.
- Aider: a terminal pair programmer that commits each change to your git history, where Cline snapshots to a shadow repo.
- OpenCode: an open-source terminal agent for many model providers, if you prefer the terminal to an editor panel.
When to pick Cline
- Pick Cline if you want an open-source agent in VS Code or JetBrains that asks before each step and uses your own model keys.
- Pick Aider if you live in the terminal and want every change as a git commit.
- Pick Claude Code if you're happy on Claude models and want a terminal-first agent.
- Use the Cline CLI if you want the same agent reviewing diffs or fixing tests in CI.
Cline questions
Is Cline free?
Cline is open source under Apache-2.0. You pay for model usage: bring your own API key, run a local model, use Cline's usage billing (which includes free model options) or the flat $9.99 a month ClinePass.
What's the difference between Plan and Act mode?
In Plan mode Cline can read your code, search and discuss, but can't change files or run commands. Act mode keeps the same conversation and carries out the plan.
Can I undo what Cline did?
Yes. Each file edit or command creates a checkpoint. Restore Files reverts the code and keeps the chat; Restore Files & Task resets both.
Does Cline read my Cursor rules or AGENTS.md?
Yes. Alongside .clinerules/, it detects .cursorrules, .windsurfrules and AGENTS.md, and you can toggle each in the Rules panel.
Related discoveries
See the newest picks →- ToolCoding & Shipping Agents
opencode
An open-source coding agent for the terminal that works with many model providers.
Effort: Low#Local / BYO model#Open source
- ToolCoding & Shipping Agents
Aider
Open-source A.I. pair programming in your terminal, with git commits built in.
Effort: Low#Local / BYO model#Open source
Get the best new A.I. picks in your inbox
The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.