# Aider vs Cline

_Both are free, Apache 2.0 agents for almost any model. Aider is a terminal pair programmer that commits every change to git. Cline lives in your editor and checkpoints every step._

Aider and Cline are open source [coding agents](/learn/concepts/ai-engineering/coding-agents) that you pay nothing for. You bring your own model provider. Aider is a Python program for the terminal that edits files in your repository and commits each change. Cline started as a VS Code extension and now also runs in JetBrains IDEs, the terminal, a desktop app and the cloud. Facts on this page were checked against each tool's own docs, package index and repository as of December 4, 2026.

## Decision Table

| | Aider | Cline |
| --- | --- | --- |
| License | Apache 2.0 | Apache 2.0 |
| Price | Free. You pay your model provider | Free. You pay your model provider, or $9.99 per month for ClinePass |
| Where it runs | Terminal. You can also trigger it with comments in your editor | VS Code, Cursor, Windsurf, JetBrains IDEs and Zed, plus a CLI and a desktop app |
| Undo | A git commit per change, and `/undo` | Checkpoints in a shadow git repository after each tool use |
| Latest release | 0.86.2, February 12, 2026 | Active project with a CLI, SDK and Kanban board |
| Best for | Terminal users who want each edit as a commit | Editor users who want to approve each step |

## At a Glance

| | Aider | Cline |
| --- | --- | --- |
| Models | Cloud and local models, almost any provider | Anthropic, OpenAI, Google, OpenRouter, Bedrock, Vertex and others, local models through Ollama or LM Studio |
| Subscriptions | None of its own | ClinePass, pay-as-you-go credits, or a Claude or ChatGPT plan through its Claude Code and OpenAI Codex providers |
| Modes | `code`, `ask`, `architect`, `help` | Plan and Act |
| Approvals | Asks for confirmation. `--yes` says yes to every prompt | Asks before each edit and command until you turn on Auto Approve. YOLO mode approves everything |
| Repository context | A map of the whole repository | Not documented |
| After each edit | Lints and runs tests, then fixes problems | Saves a checkpoint |
| MCP | Not documented | Yes |
| Install | `pip install aider-install`, then `aider-install`. Python 3.10 to 3.12 | Editor marketplace, or `npm i -g cline` |
| Headless and CI | `aider --message` | `cline --json`, piped input |

## Git Commits vs Checkpoints

Both tools make each step undoable with git, in different places. Aider commits each edit to your real repository with a descriptive message. If a file already has uncommitted changes, Aider commits those first, so your work stays separate from its edits. `/undo` discards the last change, and `--no-auto-commits` turns commits off.

Cline keeps your history clean. After each tool use, it saves a snapshot to a shadow git repository that is separate from your project's history. You can restore the files, the conversation, or both to any step. You commit when you are ready.

If you want an audit trail of every agent edit in `git log`, pick Aider. If you want to squash agent work into your own commits, Cline's checkpoints stay out of the way.

## Modes and Approvals

Aider's `architect` mode splits work between two models. An architect model proposes the change, and an editor model turns it into file edits. `ask` mode discusses code without changing it. Cline's Plan mode reads and discusses without editing, and Act mode carries out the plan.

The Cline extension asks before each file edit and terminal command until you turn on Auto Approve. Its CLI defaults `--auto-approve` to `true`. Aider asks for confirmation as it works, and `--yes` answers yes to every prompt for scripts.

## Project Activity

Aider's most recent release on PyPI is 0.86.2, from February 12, 2026. Cline has added a CLI, an SDK, a desktop app and a Kanban board for parallel agents. Check each project's release history before you standardize a team on it.

## When to Pick Which

- **Pick Aider** if you live in the terminal, want every agent edit as a git commit, or want architect mode with two models.
- **Pick Cline** if you want the agent in your editor, approval before each step, MCP servers, or checkpoints that keep your history clean.
- **Pick both** if you work in a terminal and an editor. Both run on your own keys, so one provider account serves both.

## Alternatives

- **OpenCode:** an MIT-licensed terminal agent for almost any model. See [OpenCode vs Cline](./opencode-vs-cline.mdx).
- **Claude Code:** Anthropic's agent for Claude models. See [Claude Code vs Cline](./claude-code-vs-cline.mdx).
- **Codex:** OpenAI's Apache 2.0 agent with a sandbox on by default. See [Codex vs Cline](./codex-vs-cline.mdx).

## Running Several Agents at Once

Aider works on one checkout at a time, so give each session its own [git worktree](/learn/concepts/git/git-worktrees). Cline's Kanban board creates a worktree per card. Treq runs either agent in an isolated [workspace](/docs/concepts/workspaces) and stacks dependent changes for review.

## Sources

Checked December 4, 2026:

- [Aider repository](https://github.com/Aider-AI/aider), [aider-chat on PyPI](https://pypi.org/project/aider-chat/), [Git integration](https://aider.chat/docs/git.html), [Chat modes](https://aider.chat/docs/usage/modes.html), [Scripting](https://aider.chat/docs/scripting.html)
- [Cline repository](https://github.com/cline/cline), [Cline overview](https://docs.cline.bot/cline-overview), [ClinePass](https://docs.cline.bot/getting-started/clinepass), [Auto Approve](https://docs.cline.bot/features/auto-approve), [Checkpoints](https://docs.cline.bot/core-workflows/checkpoints), [CLI overview](https://docs.cline.bot/usage/cli-overview), [Claude Code provider](https://docs.cline.bot/provider-config/anthropic), [OpenAI Codex provider](https://docs.cline.bot/provider-config/openai)

## Next Steps

- [Best Coding Agent CLIs](./best-coding-agent-clis.mdx): every current terminal agent in one table
- [Aider pricing](/learn/guides/aider-pricing): what the model behind Aider costs, from paid APIs to local models
- [OpenCode Alternatives](./opencode-alternatives.mdx): Aider and other any-model agents compared
- [Review AI-Generated PRs](/learn/how-to/review-ai-generated-prs): check agent output before it merges
