Learning resourcesReviewed · Cline

Cline ACP integration guide

Cline's ACP guide helps developers connect its coding agent to their editor, but it requires an installed Cline CLI and an ACP-capable client. It explains client configuration, authentication, model selection and approval controls for Zed, JetBrains IDEs, Neovim and Emacs.

Researched 24 Nov 2026

In short.

Cline's ACP guide is a setup reference for developers who want its coding agent inside their editor, but available features depend on the client's ACP support. It documents how clients launch Cline CLI, reuse credentials, select models and providers, and handle sessions. File edits and commands require approval by default; optional auto-approval permits unattended changes. The examples provide a practical integration starting point, while costs, supported version ranges and runtime reliability remain unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete documentation page at [https://docs.cline.bot/usage/acp.md], including prerequisites, client examples, ACP features, the auto-approval warning, environment variables, documentation-index pointer and Mintlify hosting attribution. Linked pages and repositories are excluded. The captured source revision is sha256:7b095c0b0c0be952e995cec6a5499e400123eb99a2d28441246669952c79ce8c. No installation, configuration, authentication, session, file edit or command was executed; runtime behavior and compatibility are unverified.

The overview

Identity

This is Cline's documentation for connecting Cline CLI to editors and other applications through the Agent Client Protocol, or ACP. The page describes ACP as an open standard through which a client controls a terminal-based coding agent. The resource is a configuration guide at [https://docs.cline.bot/usage/acp.md].

Assessment

The guide provides useful detail for deciding whether Cline can fit an existing editor setup: launch arguments, client configuration locations, authentication options and permission behavior. Its strongest practical value is bringing the same Cline CLI agent into several development environments without requiring a dedicated Cline extension.

It establishes documented integration options, but installation success, coding quality, speed and reliability are not assessed. Nothing was executed.

Users

The guide suits developers using Zed, JetBrains IDEs, Neovim or Emacs who want to interact with Cline from their existing interface. Beginners receive concrete configuration examples, while experienced developers get launch flags, environment variables and client-specific integration details.

Readers need enough familiarity to install a command-line tool and edit editor settings. Emacs users receive a pointer to agent-shell documentation rather than a complete configuration example.

Capabilities

The documented ACP features include client-driven sign-in, Plan and Act mode selection, model and provider switching, file-edit and command permission prompts, and switching between personal and organization billing for Cline team accounts.

Conversations are persisted, but restoring them requires a client that supports session loading. Image prompts require a vision-capable model. A per-session auto-approval toggle is available through clients that support ACP configuration options.

Using it

Requirements

The stated prerequisites are Cline CLI, installed with npm i -g cline, and a client capable of launching ACP agents. Credentials are optional before setup: most clients can prompt for sign-in when the first session starts, and credentials saved through cline auth are reused.

The page does not specify minimum Cline, Node.js, npm, editor or plugin versions. Operating-system support and hardware requirements are also unspecified.

Mechanism

The client launches cline --acp and communicates with the process through standard input and output, or stdio. Users configure that launch command in the client and then start a conversation through its agent interface; the guide says users do not start the ACP process manually.

Environment variables in the client configuration can preconfigure Cline. CLINE_API_KEY supplies API-key authentication, CLINE_PROVIDER fixes the provider and disables provider switching in the client, and CLINE_MODEL sets the default model for new sessions.

Setup

After installing Cline CLI, configure the client to run cline with the --acp argument. If the client cannot find the executable because it does not inherit the shell's PATH, the guide recommends using the absolute path returned by which cline.

Zed uses an agent_servers entry in settings.json with type set to custom. In JetBrains AI Chat, Add Custom Agent creates ~/.jetbrains/acp.json, where the Cline command and arguments are configured.

Neovim's CodeCompanion includes a cline_cli ACP adapter, selected through strategies.chat.adapter. The page also names avante.nvim and agentic.nvim as options. Emacs users are directed to configure agent-shell to launch cline --acp.

Example

The documented Zed configuration is: {"agent_servers":{"Cline":{"type":"custom","command":"cline","args":["--acp"],"env":{}}}}

With this entry in settings.json, the documented next steps are to open Zed's Agent Panel, start a new thread and select Cline. This configuration retains the default approval behavior for file edits and commands. It is a documentation example; its execution and outcome are unverified.

Assessment & evidence

Limitations

Feature availability depends on the client and model. Session restoration requires session-loading support, the session settings toggle requires ACP configuration support, and image prompts require a vision-capable model. No versioned compatibility table is supplied.

Auto-approval removes prompts before file edits and commands. It can be enabled per session or at launch through --auto-approve true. The page warns that this permits unattended changes. It does not establish sandboxing, rollback guarantees, command restrictions, credential-storage protections or provider data-retention behavior.

Reasoning

The guide is useful when editor integration is the main adoption question: it identifies the required process, explains how several clients launch it, and describes controls that affect everyday use. Shared CLI credentials and configurable providers may reduce repeated setup across interfaces.

These details support a judgment about integration fit. They do not establish that Cline produces suitable code for a particular project or that every ACP client exposes all documented features.

Alternatives

The page identifies terminal use of the same Cline agent as another access option. Within editors, it presents Zed, JetBrains AI Assistant, Neovim integrations and Emacs agent-shell as alternative frontends.

For Neovim, it names CodeCompanion, avante.nvim and agentic.nvim. It provides no comparative measurements or evaluation of other coding agents, so relative quality, speed and cost are not assessed.

Evidence

The source is Cline's ACP documentation at [https://docs.cline.bot/usage/acp.md]. Its configuration examples and explanations support the described setup and intended behavior. It supplies no execution logs, benchmarks or independent compatibility results.

The page links to additional Cline documentation, protocol documentation and client projects. Their contents are outside the available evidence and do not establish additional capabilities or requirements here.

Access & freshness

Costs

The page provides no prices, free allowances, usage limits or billing examples. It names Cline, ClinePass and a ChatGPT subscription as sign-in options, documents API-key authentication, and mentions personal and organization billing.

Those references do not establish the cost or included usage of any option. Any charges for the chosen client, plugin, model provider or subscription are unknown from this page.

Rights

The page describes ACP as an open standard but does not provide licence terms for Cline, the documentation or the listed plugins. Permission to redistribute the page or its examples is not established by this evidence.

Terms governing generated code, provider services and subscription use are also absent. Their permissions and obligations remain unknown.

Freshness

The documentation snapshot was captured on 24 November 2026 at 15:59:19 UTC. The page provides no publication date, last-updated date or release identifiers.

The capture date identifies when this text was retained; it does not establish compatibility with particular installed versions. Subsequent changes and maintenance activity are unknown.

Actions

For an initial setup, identify the chosen client's ACP configuration, install Cline CLI and configure the client to launch cline --acp. Use an absolute executable path if necessary, then start a thread and complete authentication through the available sign-in method.

Keep the default approval prompts while assessing workspace behavior. Confirm the client's support for session loading and configuration controls, the chosen model's image support if needed, and applicable prices and data-handling terms before relying on the integration.

Evidence for this report

selected-page.txtselected · checked 2026-11-24