Agent Client Protocol
The Agent Client Protocol (ACP) is an open protocol that standardizes how code editors and IDEs communicate with AI coding agents (Agent Client Protocol, n.d.e). The editor, called the client, drives the agent through interactive sessions: it sends the user’s requests and shows what the agent does (Agent Client Protocol, n.d.b). Zed announced it in August 2025 with Gemini CLI as the first reference implementation, and Zed and JetBrains now govern it jointly (Sobo, 2025; Agent Client Protocol, n.d.c). In practice, an editor and an agent that both use ACP may still support different features, and permission requests are advisory, enforced only by the agent (Morris, n.d.; Agent Client Protocol, n.d.j). It is unrelated to IBM’s Agent Communication Protocol and to the Agent Control Protocol research proposal, which share its initials (IBM Research, n.d.; Fernandez, 2026).
How a session works
A local ACP connection is a child process that talks to the editor through its standard input and output. The client launches the agent as a subprocess, and the two exchange newline-delimited messages over those streams (Agent Client Protocol, n.d.m). The messages follow JSON-RPC 2.0, a format with two kinds of message: requests, which expect a response, and notifications, which do not (Agent Client Protocol, n.d.g).
Each connection opens with an initialization step that settles what the two sides can do. They negotiate the protocol version and exchange their capabilities and authentication methods (Agent Client Protocol, n.d.d). A capability declares that one side supports an optional feature. An agent that advertises loadSession, for example, lets the client resume a previous conversation by replaying its history (Agent Client Protocol, n.d.k). The protocol defines no on-disk format for saved sessions, a scope limit the OpenCheckpoint white paper points out (Goldsborough, 2026).
Once a prompt is sent, the agent reports its work as it goes. It streams content, tool activity and changes to the session’s state through session/update notifications, which the editor can display (Agent Client Protocol, n.d.h). Tool calls are actions the language model asks for; the agent carries them out on the model’s behalf (Agent Client Protocol, n.d.l).
In version 1 the agent can also borrow the editor’s files and terminals. Optional client methods let it read and write text files, and create terminals, manage them and read their output and exit status. Each group is available only when the client has advertised the matching capability (Agent Client Protocol, n.d.g).
Versions and transports
The protocol is changing: its second version is a draft, and its network transports are proposals.
The version 2 draft
The project released its first draft of version 2 on July 20, 2026 (Agent Client Protocol, 2026a). The Rust software development kit (SDK) has labelled v2 a preview since schema 1.20 (Agent Client Protocol, n.d.i).
Version 2 changes how the editor learns that a turn has ended. A v2 prompt response only acknowledges that the agent accepted the prompt; progress and the end of foreground work arrive afterwards as state_update notifications. Version 2 also removes all of v1’s client-provided file and terminal methods (Agent Client Protocol, n.d.f).
The two versions are kept apart on the wire. The Rust SDK maintains separate v1 and v2 interfaces and does not convert traffic between them. A native v2 connection rejects ordinary protocol traffic until the initialization response has completed (Agent Client Protocol, n.d.i).
Remote transports
A design proposal adds network transports to ACP: a Streamable HTTP profile, with a WebSocket upgrade on the same endpoint as an alternative. Both keep the JSON-RPC messages and the lifecycle of the standard-input transport (alexhancock & jh-block, n.d.).
Support is early. The Python SDK marks its remote web transports as experimental and optional (Agent Client Protocol Python SDK, n.d.). The Java SDK’s release 0.18.0, dated September 25, 2026, announced an implementation of both transports (Agent Client Protocol Java SDK, 2026).
Implementations and governance
Agents reach ACP either natively or through an adapter that translates another interface into ACP messages. Gemini CLI was the initial reference implementation at the August 2025 launch (Sobo, 2025). In September 2025, Zed described its Claude Code integration as an adapter that wraps Claude Code’s SDK and translates its interactions into ACP’s JSON-RPC format (Krey, 2025). The Codex adapter starts the Codex App Server, translates ACP requests into Codex operations and maps Codex events back to the client (Agent Client Protocol, n.d.a).
Clients can implement a subset of the protocol. The Neovim plugin CodeCompanion implements ACP version 1 but not its client terminal methods, and it does not show an agent’s plan updates in its chat buffer (Morris, n.d.).
ACP is run by two editor makers, with a foundation as a stated goal. In January 2026, JetBrains and Zed launched a beta registry of AI coding agents, integrated into JetBrains IDEs and Zed (Wortmann, 2026). The project’s governance model says the two companies govern ACP jointly and are working toward moving it to an independent foundation (Agent Client Protocol, n.d.c).
Compatibility in practice
A shared version number does not guarantee a shared feature: support also depends on each implementation’s flags, opt-ins and private contracts. Subagents, child sessions that an agent starts for part of a task, illustrate this. The project’s November 19 implementation snapshot found that Zed advertised subagent support on v1 only behind its acp-beta feature flag (Agent Client Protocol, 2026b). The Codex adapter offers subagents to v1 clients that opt in during initialization, to v2 clients without negotiation, and to Air v1 clients through an older private contract (Agent Client Protocol, n.d.a).
Users have reported session failures, one of them from such a mismatch. In an April 2026 report, session loading and resumption failed in Zed because the Hermes Agent adapter implemented those methods but did not declare them in its initialization response (W0921, 2026). A September 2026 report documents session updates failing after resuming a Kimi Code CLI 0.43.1 thread in Zed 1.20.2 (rassamaha2008-blip, 2026).
The project publishes a compatibility test kit, which it describes as experimental and without full test coverage (Agent Client Protocol, n.d.n).
Permissions and security
ACP lets an agent ask the user before acting, but the protocol neither enforces the answer nor isolates the agent. In v1, the agent can request the user’s authorization before executing a tool call through the session/request_permission method (Agent Client Protocol, n.d.l). The protocol’s trust model calls these requests advisory and makes the agent responsible for honouring the user’s decision (Agent Client Protocol, n.d.j).
The operating-system permissions given to the agent remain the real boundary. The agent runs with whatever permissions its process is given, and ACP does not sandbox it (Agent Client Protocol, n.d.j). Zed’s built-in agent sandbox, for example, does not cover external agents (Zed Industries, n.d.b). Wider questions of how agents are granted and limited permissions are covered in authorization for AI agents.
Tests of permission designs Weak evidence: few or small studies support this
One preprint gives a concrete failure, in one client design. Comparing thirteen permission designs, it reported that a Goose ACP client policy failed to preserve a user’s earlier denial in its tests (Fei et al., 2026). The result concerns that tested policy, not ACP clients in general.
Relation to LSP, MCP and A2A
ACP covers one link, between an editor and a coding agent, and neighbouring protocols cover others.
| Protocol | What it connects |
|---|---|
| Agent Client Protocol (ACP) | An editor or other client driving a coding agent through interactive sessions (Agent Client Protocol, n.d.b) |
| Language Server Protocol (LSP) | An editor or IDE and a language server providing features such as completion and navigation (Microsoft, n.d.g) |
| Model Context Protocol (MCP) | Language-model applications and external data sources and tools (Model Context Protocol, 2026c) |
| Agent2Agent (A2A) | Independent agents that discover each other and collaborate on tasks (A2A Protocol, n.d.) |
The protocols meet at session start. An ACP client can pass the user’s configured MCP servers to the agent when it starts a session (Agent Client Protocol, n.d.b). How agents use MCP tools is covered in tools for AI agents.
A draft binding carries MCP inside ACP itself. The MCP-over-ACP proposal lets a client or proxy supply tools to an agent over the ACP connection it already has. Results, notifications and cancellations then travel without a second process or network endpoint (nikomatsakis, n.d.). The Rust SDK provides the binding as an unstable opt-in feature (Agent Client Protocol Rust SDK, n.d.). The Codex adapter accepts client-provided MCP servers over the ACP connection as well as over separate standard-input and HTTP transports (Agent Client Protocol, n.d.a).
Bridges also translate between protocols. The a2a-serve gateway accepts callers over A2A and talks to an ACP-capable coding agent over ACP (A2A Serve, n.d.). The a2a-to-mcp bridge exposes A2A agents as tools to MCP clients (AmirK-S, n.d.). How agents exchange messages with one another is the subject of coordination between AI agents.
Two other protocols share the initials ACP. IBM’s Agent Communication Protocol was designed to let AI agents communicate across frameworks, languages and runtime environments, and it is now part of A2A under the Linux Foundation (IBM Research, n.d.). Fernandez’s Agent Control Protocol is a research proposal for temporal admission control over agent actions: deciding whether an agent’s action may proceed (Fernandez, 2026).
Evidence on adoption and use Weak evidence: few or small studies support this
One public measure of agent use comes from one editor’s own users. Zed publishes anonymized, aggregate telemetry from its users who interact with AI agents, excluding staff accounts and Nightly builds (Zed Industries, n.d.a). These figures describe use inside one product, not across editors and agents.
Further reading
- Agent Client Protocol (n.d.e): the project’s own introduction, the starting point for the specification.
- Agent Client Protocol (n.d.f): what changes between version 1 and the version 2 draft, method by method.
- Agent Client Protocol (n.d.j): the v1 trust model, including why permission requests are advisory.
- Agent Client Protocol (n.d.b): the project’s account of how ACP relates to MCP and other protocols.
- Sobo (2025): Zed’s launch announcement, with Gemini CLI as the first agent.
- Fei et al. (2026): a preprint comparing permission designs in coding agents, including an ACP client.
First published .
Known gaps
What this article cannot tell you yet.
- No controlled study has measured how using ACP changes developer time or productivity.
- There are no adoption figures for the whole ecosystem, only one editor’s own telemetry.
- No systematic record shows which features each editor and agent pairing supports; the compatibility evidence is one project snapshot, adapter documentation and individual bug reports.
- The proposed remote transports have not been tested between independent implementations.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 38 references
- A2A Serve (n.d.). Architecture. A2A Serve. https://a2aproject.github.io/a2a-serve/advanced/architecture/ Solid source Documentation, read in large part.
- A2A Protocol (n.d.). Agent2Agent (A2A) protocol specification. A2A Protocol. https://a2a-protocol.org/latest/specification/ Solid source Documentation, read in large part.
- AmirK-S (n.d.). a2a-to-mcp. GitHub. https://github.com/AmirK-S/a2a-to-mcp Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.c). Governance. Agent Client Protocol. https://agentclientprotocol.com/community/governance Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.d). Initialization. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/initialization.md Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.e). Introduction. Agent Client Protocol. https://agentclientprotocol.com/get-started/introduction.md Solid source Documentation, read in large part.
- Agent Client Protocol Java SDK (2026). Changelog: 0.18.0. GitHub. https://github.com/agentclientprotocol/java-sdk/blob/main/CHANGELOG.md Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.f). Migrating from v1. GitHub. https://github.com/agentclientprotocol/agent-client-protocol/blob/main/docs/protocol/v2/migration.mdx Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.g). Overview. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/overview.md Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.h). Prompt turn. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/prompt-turn.md Solid source Documentation, read in large part.
- Agent Client Protocol Python SDK (n.d.). Web transport (Streamable HTTP and WebSocket). Agent Client Protocol Python SDK. https://agentclientprotocol.github.io/python-sdk/web-transport/ Solid source Documentation, read in large part.
- Agent Client Protocol Rust SDK (n.d.). Native MCP-over-ACP. Agent Client Protocol Rust SDK. https://agentclientprotocol.github.io/rust-sdk/mcp-over-acp.html Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.i). Protocol v2. GitHub. https://github.com/agentclientprotocol/rust-sdk/blob/main/md/protocol-v2.md Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.j). Security considerations. GitHub. https://github.com/agentclientprotocol/agent-client-protocol/blob/main/docs/protocol/v1/security.mdx Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.k). Session setup. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/session-setup.md Solid source Documentation, read in large part.
- Agent Client Protocol (2026b). Subagent sessions. GitHub. https://github.com/agentclientprotocol/agent-client-protocol/blob/main/docs/rfds/subagents.mdx Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.n). acp-tck. GitHub. https://github.com/agentclientprotocol/acp-tck Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.l). Tool calls. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/tool-calls.md Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.m). Transports. Agent Client Protocol. https://agentclientprotocol.com/protocol/v1/transports.md Solid source Documentation, read in large part.
- Agent Client Protocol (2026a). ACP v2 is available in draft. GitHub. https://github.com/agentclientprotocol/agent-client-protocol/blob/main/docs/announcements/acp-v2-draft.mdx Solid source Documentation, read in large part.
- Agent Client Protocol (n.d.a). ACP adapter for Codex CLI. GitHub. https://github.com/agentclientprotocol/codex-acp/blob/main/README.md Solid source Documentation, read in large part.
- Fei, Z., Fei, H., Chen, J., Wang, X., Gope, P., Sikdar, B., et al. (2026). When answering is administering: Permission replies that rewrite coding-agent policy. arXiv. https://arxiv.org/html/2611.32195v1 Medium trust Preprint, read in large part.
- Fernandez, M. (2026). Agent Control Protocol: Admission control for agent actions. arXiv. https://arxiv.org/abs/2603.18829 Medium trust Preprint, abstract only.
- Goldsborough, M. (2026). Carrying work between AI agents: Portable working state and what it prevents. OpenCheckpoint. https://opencheckpoint.org/opencheckpoint-whitepaper.pdf Medium trust Read in large part.
- alexhancock, & jh-block (n.d.). Streamable HTTP and WebSocket transport. Agent Client Protocol. https://agentclientprotocol.com/rfds/streamable-http-websocket-transport.md Solid source Documentation, read in large part.
- W0921 (2026). Bug: ACP session load/resume capabilities not declared in initialize response. GitHub, NousResearch/hermes-agent issue 6633. https://github.com/NousResearch/hermes-agent/issues/6633 Medium trust Read in large part.
- IBM Research (n.d.). Agent Communication Protocol (ACP). IBM Research. https://research.ibm.com/projects/agent-communication-protocol Solid source Documentation, read in large part.
- Krey, M. (2025). Claude Code: Now in beta in Zed. Zed. https://zed.dev/blog/claude-code-via-acp Solid source Vendor page, read in large part.
- Microsoft (n.d.g). Official page for Language Server Protocol. Language Server Protocol. https://microsoft.github.io/language-server-protocol/ Solid source Documentation, read in large part.
- nikomatsakis (n.d.). MCP-over-ACP: Stateless MCP requests over ACP. Agent Client Protocol. https://agentclientprotocol.com/rfds/mcp-over-acp Solid source Documentation, read in large part.
- Model Context Protocol (2026c). Specification. Model Context Protocol. https://modelcontextprotocol.io/specification/2026-07-28 Solid source Documentation, read in large part.
- Morris, O. (n.d.). Agent Client Protocol (ACP). CodeCompanion.nvim. https://codecompanion.olimorris.dev/agent-client-protocol Solid source Documentation, read in large part.
- Sobo, N. (2025). Bring your own agent to Zed: Featuring Gemini CLI. Zed. https://zed.dev/blog/bring-your-own-agent-to-zed Not checked Vendor page, read in large part.
- Wortmann, J. (2026). ACP agent registry is live: Find and connect AI coding agents in your JetBrains IDE. The JetBrains Blog. https://blog.jetbrains.com/ai/2026/01/acp-agent-registry/ Solid source Vendor page, read in large part.
- rassamaha2008-blip (2026). Session updates dropped with Terminal with id not found after resuming a thread (external agent: kimi-code). GitHub, zed-industries/zed issue 64538. https://github.com/zed-industries/zed/issues/64538 Medium trust Read in large part.
- Zed Industries (n.d.a). Agent metrics. Zed. https://zed.dev/agent-metrics Medium trust Vendor page, read in large part.
- Zed Industries (n.d.b). Sandboxing. GitHub. https://github.com/zed-industries/zed/blob/main/docs/src/ai/sandboxing.md Solid source Documentation, read in large part.