Skip to main content
← Coding

Cline

Cline Bot
Coding Terminal Local Open source 8 axes checked Active Checked 2026-10-23

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

A coding tool with CLI, desktop and editor entry points — CLI, desktop app and VS…

How you use it

Local / self-hosted · In editor

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • Tool calling / structured output quality alignment after switching providers (the official gives no comparison)
  • Stability expectations for the Desktop form at 0.0.x
  • Actual retrieval quality on large repos under the "no full index + ripgrep search" route > The original five items — "provider roster / tool list / context window / cross-session memory / CLI headless approval" — have since been verified against the official docs.cline.bot (Model Selection Guide, Tools reference, Auto Compact, Memory Bank, CLI Overview / Reference); see the axes above.

A coding tool with CLI, desktop and editor entry points — CLI, desktop app and VS Code extension share one open-source core, and the model is selectable.

When to use it, when not to

Users who need one tool across editor, terminal and desktop. People who need model choice (not locked to one vendor). People who need CI/CD integration (CLI headless). People who need reviewable, revertible changes — every edit appears as a diff plus a checkpoint to undo wholesale. People who need periodic automation (cron scheduling that survives restarts).

Not a fit for requiring approval to behave identically across all forms — the extension form confirms human-in-the-loop, but behaviour under CLI headless was not verified.

China availability domestic / direct access / CAC filing · snapshot 2026-10-23

Origin
foreign-made foreign entity (no matching filing entity in the CAC registry).
Direct access
direct OK Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
CAC filing
not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

8 questions, one table

8 questions, each comparable item by item with its peers.

Model & openness

You pick the provider. The official lists 30+, primarily BYOK (bring your own API key).

The official Model Selection Guide's provider table lists:

  • Cline — no API key needed, just log in
  • OpenRouter / Anthropic / OpenAI
  • OpenAI Codex — use your ChatGPT subscription directly, no API key
  • Google Gemini / DeepSeek / Alibaba Qwen / Moonshot / Cerebras
  • AWS Bedrock
  • Ollama — local models

The official also has an "all 30+ supported providers" page, additionally covering xAI Grok, Mistral, Groq, Together, Hugging Face, Baseten, SambaNova, Nebius etc.

Two hookup paths:

  • CLI command — cline auth --provider anthropic --apikey sk-... --modelid ...
  • the official SDK supports OpenAI-compatible endpoints — providerId: "openai-compatible" + baseUrl + apiKey

⚠ After switching providers, the quality of tool calling and structured output: the official gives no comparison.

Where it runs

This is the only subject on this site covering all three forms.

FormHow it runs
CLInpm i -g cline; interactive and fully headless modes, headless for CI/CD and scripts; --workspace /path/to/repo sets the directory
Desktop Appnative macOS and Windows apps; run agent sessions in any folder; scheduled tasks supported
VS Code extensionplus a JetBrains plugin

.clinerules is read jointly by the CLI / VS Code extension / JetBrains plugin. The three forms share the same open-source core.

Local files

Two features: coordinated changes across the project, and rollbackable checkpoints.

The README's "Edits Code Across Your Project" means: read the project structure, understand relationships between files, then make coordinated changes across the codebase.

While editing it watches linter and compiler errors, proactively fixing missing imports, type mismatches and syntax errors — the things that "go wrong without the user ever seeing them".

  • In VS Code and JetBrains, every edit is presented as a diff — reviewable, modifiable, rollbackable
  • all changes carry checkpoint records and can be undone wholesale
  • the official Checkpoints page explains it tracks changes with a shadow Git repository, not interfering with your main Git workflow, creating a checkpoint after each tool call

Read scope has two tiers: by default "Read project files" (inside the workspace); "Read all files" (outside the workspace) only takes effect after enabling a base toggle first. Project-level ignores are controlled by .clineignore (the official also shows a hook-enforced approach).

⚠ It has no "full semantic index" stage. The built-in search tool is a "Ripgrep-powered codebase search"; the official advice for large repos is "use search instead of reading many files", and to break tasks down smaller. (checked the Tools page and the Context Window Guide.)

The official large-repo advice: Use search instead of reading many files

Tasks after shutdown

Long-running processes and scheduled tasks are both supported.

Commands execute directly in the terminal with output visible in real time — installing packages, running builds, running tests, deploying, managing databases. For long-running processes like dev servers, Cline keeps working in the background and reacts to new output: compile errors, test failures and service crashes are caught as they happen.

The Desktop App form additionally has scheduled tasks (schedule routines):

  • cron scheduling for periodic automation
  • examples: daily PR summaries, weekly dependency checks, codebase health reports
  • schedules persist across restarts and run independently of any terminal session

The CLI's headless mode targets CI/CD.

Tools & extensions

The built-in tool list has been verified (official Tools reference, ClineCore runtime):

  • bash — execute commands
  • editor — view/edit files
  • read_files — batch reads
  • apply_patch — unified-diff patching
  • search — ripgrep code search
  • fetch_web — HTTP + HTML-to-markdown
  • ask_question — ask the user

MCP is its core extension surface. The official has an MCP Marketplace; the config file is .cline/mcp.json:

  • tools are called via use_mcp_tool, resources accessed via access_mcp_resource
  • transports support stdio and HTTP
  • "MCP Rules" in .clinerules can group dispatch by trigger words

Other extension mechanisms: Hooks (PreToolUse / PostToolUse) · Skills · Workflows · plugins (custom tools registerable, currently limited to SDK / CLI / Kanban).

The official statement about the MCP Marketplace: one-click installation experience for hundreds of MCP servers

Context & memory

The project-level rules file is .clinerules.

It defines project-specific rules: coding standards, architecture conventions, deployment flows, testing requirements. Rules are read automatically by the CLI, VS Code extension and JetBrains plugin. Skills can additionally let the model load specific rules on demand.

The Desktop form mentions "run agent sessions in any folder", i.e. cross-folder session management.

The context mechanism has been verified: near the limit, Auto Compact summarizes automatically. Window size is decided by the chosen model — the official lists Claude Sonnet 4.5 at 1M, GPT-5 at 400K, Gemini 2.5 Pro at 1M+.

Cross-session memory runs on the Memory Bank: a set of structured markdown files (projectbrief.md / productContext.md / activeContext.md / progress.md etc.) kept in the repo, with reads/writes driven by .clinerules instructions.

The official also has Focus Chain (todo injection) and /newtask, /smol for context handoff.

The official wording on Auto Compact: Creates a comprehensive summary... Replaces the conversation history with the summary

Permissions & limits

A two-level approval design — the finest on this site.

Level one is the Plan / Act dual mode. In Plan mode Cline explores the codebase, asks clarifying questions, and lays out a strategy; once aligned, switch to Act mode to execute the plan.

Level two is "every file edit and terminal command needs approval", switchable to auto-approve for autonomous running. The VS Code extension form's wording is "human-in-the-loop approval".

⚠ But the CLI / headless default is the opposite. This must be known (verified against the official CLI Overview and CLI Reference):

  • --auto-approve <boolean> defaults to true — i.e. tools are allowed by default
  • with --auto-approve false, every tool call needs approval first
  • --yolo skips all approvals
  • ACP (editor-integration) mode defaults to the opposite, false

Also: the CLI has no shell-command allow/deny list. The official suggests intercepting with a PreToolUse hook.

CLI prompt original wording: Default to start in act mode with auto-approve enabled VS Code extension wording: use tools with human-in-the-loop approval

Best for

Fits four kinds of people:

  • those needing one tool to cover editor, terminal and desktop work forms
  • those needing model choice (not bound to a single vendor)
  • those needing CI/CD integration (CLI headless)
  • those needing a "changes are reviewable and rollbackable" guarantee — diff presentation + wholesale checkpoint undo

Top misconception

  • Assuming it is a single-form VS Code extension — it actually has CLI, Desktop and extension
  • Overlooking headless mode — the CLI form supports CI/CD integration in its own right
  • Assuming approval behaves identically across forms: the extension explicitly has human-in-the-loop, but behaviour under CLI headless was not verified
  • Assuming auto-commit is by design — by default every edit needs approval, and auto-approve enables unattended runs

Evidence sources

Checked 2026-10-23,Content updated 2026-10-08。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repoCline · repository README (three-form description)https://github.com/cline/cline
changelogCline · Releases (v4.1.21 / desktop-v0.0.37)https://github.com/cline/cline/releases
docsCline · official docshttps://docs.cline.bot
docsCline · CLI subproject READMEhttps://github.com/cline/cline/blob/main/apps/cli/README.md
docsCline · Model Selection Guide (30+ provider roster, BYOK / Ollama local models)https://docs.cline.bot/core-features/model-selection-guide
docsCline · Auto Approve & YOLO (category approvals, inside/outside workspace, command safe / needs approval)https://docs.cline.bot/features/auto-approve
docsCline · Checkpoints (shadow Git repository, per-step snapshots, three restore classes)https://docs.cline.bot/core-workflows/checkpoints
docsCline · Auto Compact (auto summary near the limit, replacing the old truncation)https://docs.cline.bot/features/auto-compact
docsCline · Memory Bank (cross-session structured markdown memory files)https://docs.cline.bot/best-practices/memory-bank
docsCline · Tools reference (built-in tool list and tool names)https://docs.cline.bot/tools-reference/all-cline-tools
docsCline · MCP Marketplace (one-click install for hundreds of MCP servers)https://docs.cline.bot/mcp/mcp-marketplace
docsCline · CLI Overview (headless triggering, --auto-approve defaults to true)https://docs.cline.bot/usage/cli-overview
docsCline · CLI Reference (--auto-approve defaults to true, ACP mode defaults to false)https://docs.cline.bot/cli/cli-reference

Test notes

This site has not completed measured runs. The test protocol is at protocols/coding/_protocol.md.

Suggested measurement: the measured focus for this tool should be cross-form consistency — whether the same task behaves the same across the three forms, and whether approval behavior is consistent.

Three forms (explicitly listed in the README)

FormKey capabilities
CLInpm i -g cline; interactive chat or fully headless, for CI/CD and scripts
Desktop Appnative macOS and Windows apps; run agent sessions in any folder; scheduled tasks; manage models / plugins / MCP servers
VS Code extensioncreate files, execute commands, browse the web, use tools, human-in-the-loop approval

This three-form coverage is unique in this category — other subjects are either IDE + extension (Copilot) or a single editor form (Zed). Aider is CLI-led.

What it means for users: usable in the editor, runnable in the terminal, schedulable on the desktop, one and the same core, one and the same configuration habits.

Change log: two release lines

VersionDate
desktop-v0.0.372026-09-26
desktop-v0.0.362026-09-25
v4.1.212026-09-24

Note the version numbers are two separate lines:

  • v4.x is the main line (extension and CLI)
  • desktop-v0.0.x is the desktop app, still at 0.0.x

That means the desktop app is still early-stage; stability expectations should be kept separate from the main line.

Permission design: explicit human approval

VS Code extension form, README original wording:

use tools with human-in-the-loop approval

This is a rare explicit statement in this category — most tools do not state on the README's first screen that tool execution needs human approval.

The CLI / headless approval stance has been verified (official CLI Overview and CLI Reference): the prompt says "Default to start in act mode with auto-approve enabled", --auto-approve <boolean> defaults to true — headless runs allow tools by default, --auto-approve false switches to approval before every tool call. --yolo skips all approvals. ACP (editor-integration) mode defaults to the opposite, false. Also: the CLI has no shell-command allow/deny list. The official suggests intercepting with a PreToolUse hook.

So "approvals are consistent across the three forms" does not hold: the extension form requires human approval by default, the CLI defaults to autonomous allowance — when crossing forms you must align explicitly via --auto-approve.

Two designs worth recording separately

① Plan / Act dual mode

In Plan mode it only explores the codebase, asks questions and lays out a strategy — it does not execute; it only acts after switching to Act once aligned. This is the mechanized implementation of "think it through before changing".

② Monitoring linter and compiler errors

README original wording:

It monitors linter and compiler errors as it works, fixing issues like missing imports, type mismatches, and syntax errors before you even see them.

It proactively fixes "type mismatches" and "missing imports" — which happens to be the hardest part to judge in this repository's measured task set, and is worth verifying on its own.

Permission-grading note

confidence: partial:

  • ✅ Verified (repository and product surface): repository, license (Apache-2.0), stars (70,745 · rolling re-check 2026-10-23)
  • ✅ Verified (capability surface): the three forms' capabilities and their runtime characteristics, the two release lines and dates, the Plan/Act dual mode
  • ✅ Verified (permissions and tools surface): per-edit approval + auto-approve, diff presentation and checkpoint rollback (shadow Git), linter/compiler error monitoring, .clinerules project rules, Desktop cron scheduling (persists across restarts), MCP management and the MCP Marketplace, the 30+ provider roster with BYOK / local models, the built-in tool list, Auto Compact and the Memory Bank, CLI / headless approval defaults
  • ❌ Not verified: tool calling / structured output quality alignment after switching providers; stability expectations for Desktop 0.0.x

Related entries

  • ZedThe other end of this category: editor performance and multi-agent orchestration-led
  • Aider (Watch mode)Also open source, with Git integration as its core design
  • Kilo CodeSame source-code lineage: Roo Code's official shutdown notice names Cline as the alternative; the community kinship between Kilo and Cline is not officially declared — worth contrasting on BYOK and the model surface
  • Filesystem MCP ServerOther layer · MCP tools

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
Baidu Comate (Wenxin Kuaima)Local / self-hostedNot checked8 questions checked
Active
Baidu Comate (Wenxin Kuaima) is Baidu's AI coding family: Comate AI IDE
Claude Code (IDE extension)Local / self-hostedNot checked8 questions checked
Active
One process, three entry points — terminal, IDE and GitHub @claude menti
CodeBuddyLocal / self-hostedNot checked8 questions checked
Active
CodeBuddy is Tencent Cloud's three-surface coding assistant (plugin / AI

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.