# Cline

> Open-source AI coding agent that edits code across an IDE, a terminal, and a desktop app.

- Website: https://cline.bot
- Category: Coding & Development
- Source page: https://opendirs.com/en/tools/cline
- Pricing: Open source
- Starting price: $0
- Public API: No
- Open source: Yes
- Chinese language: No
- Accessible from mainland China: Unknown
- Platforms: macOS · Windows · Linux
- Country: Unknown
- Last verified: Nov 28, 2026

## Overview

Cline is an open-source AI coding agent that works in VS Code, Cursor, Windsurf and JetBrains, in a terminal CLI and as a desktop app. A Plan mode aligns on strategy before Act mode executes multi-file edits with diffs, checkpoints and one-click undo, runs shell commands and reacts to terminal output. You bring your own model, from Claude, GPT and Gemini to local models via Ollama or LM Studio, and extend it with MCP servers and .clinerules.

**Best for:** Developers who want an open-source coding agent that works with their own model provider or local models.

## Key features

- Plan mode to align on a strategy, then Act mode to execute
- Multi-file edits with diffs, checkpoints, and one-click undo
- Runs bash commands and reacts to terminal output
- Supports MCP servers and custom rules via .clinerules
- Works with Claude, GPT, Gemini, Ollama, LM Studio, and OpenAI-compatible endpoints

## Use cases

- Refactoring and making coordinated changes across a codebase
- Running tests, dev servers, and deploy commands from the editor
- Running the agent headlessly in CI pipelines such as GitHub Actions
- Embedding the agent runtime in custom applications via the SDK

## Pros

- Open source, with the option to bring your own model keys or local models
- Available as an IDE extension, a CLI, a desktop app, and an SDK

## Cons

- Costs depend on the model provider and API keys you connect
- Autonomous edits require careful review and approvals
- Large tasks can consume many tokens quickly

## Alternatives

- [Qoder](https://opendirs.com/en/tools/qoder.md)
- [Zencoder](https://opendirs.com/en/tools/zencoder.md)
- [Google Antigravity](https://opendirs.com/en/tools/google-antigravity.md)
- [Devin Desktop](https://opendirs.com/en/tools/devin-desktop.md)
- [Opcode](https://opendirs.com/en/tools/opcode.md)

## FAQ

### What is Cline?

Cline is an open-source AI coding agent that works in VS Code, Cursor, Windsurf and JetBrains, in a terminal CLI and as a desktop app. A Plan mode aligns on strategy before Act mode executes multi-file edits with diffs, checkpoints and one-click undo, runs shell commands and reacts to terminal output. You bring your own model, from Claude, GPT and Gemini to local models via Ollama or LM Studio, and extend it with MCP servers and .clinerules.

### Is Cline free?

Cline uses a Open source pricing model (verified Nov 28, 2026).

### Does Cline have an API?

As of Nov 28, 2026, Cline does not offer a public developer API.

### Does Cline support Chinese, and is it available in China?

Cline does not support Chinese, and it has unverified availability in mainland China.

### What are the best alternatives to Cline?

Popular alternatives to Cline include Qoder, Zencoder, Google Antigravity, Devin Desktop.

_Last verified: Nov 28, 2026_