The ACP agent protocol, short for the Agent Client Protocol, is an open standard that defines how code editors communicate with AI coding agents, and the question it answers is one every developer has felt: why does each editor need a separate, bespoke integration for each coding agent? The short answer is that it should not, and ACP removes the need. With ACP, any compliant agent can run inside any compliant editor, because the two sides speak one shared protocol instead of a custom plugin for every combination.
The analogy people reach for is the Language Server Protocol, and it is a useful one. Before LSP, every editor needed a custom integration for every programming language; after LSP, one protocol let any editor benefit from language servers written by anyone. ACP does the same for agents: one standard replaces the old pattern of one editor plugin per agent vendor. Zed Industries introduced ACP in August 2025, releasing it under the Apache 2.0 licence, and it is now maintained as an open standard with contributions from other editor and agent vendors.
Key takeaways
- The ACP agent protocol is the Agent Client Protocol, an open JSON-RPC standard connecting code editors to AI coding agents.
- Zed introduced it in August 2025 under the Apache 2.0 licence; Gemini CLI was the first reference implementation.
- The editor runs the agent as a subprocess and the two exchange JSON-RPC 2.0 messages over standard input and output.
- ACP is often described as the LSP for AI coding agents: one protocol replaces a bespoke integration for every editor-agent pair.
- ACP complements MCP and A2A: ACP connects the editor to the agent, MCP connects the agent to tools, and A2A connects agents to each other.
What the ACP Agent Protocol Is
ACP standardises communication between code editors, the interactive programs developers use to view and edit source code, and coding agents, programs that use generative AI to modify code autonomously. The editor is the client: it renders the chat, the diffs and the permission prompts. The agent is the process that runs the inference loop, calls tools and edits files. ACP is the protocol they speak across the boundary between them.
The protocol was created by Zed and announced in August 2025, with Google’s Gemini CLI as the first reference implementation. JetBrains joined shortly after, and the protocol’s own directory lists agents including OpenClaw, Hermes, Goose and Gemini CLI, while Block’s Buzz workspace uses ACP to seat agents in team channels. Anthropic’s Claude Code and OpenAI’s Codex plug in through adapters. The framing is deliberately LSP-shaped: before LSP, every editor needed a custom integration for every language, and before ACP, every editor needed a custom integration for every agent. One standard replaces many bespoke pairings. If you want the background on what coding agents do in the first place, our explainer on what AI agents are and how autonomous software gets work done covers the concept.
Best for: teams that want to switch coding agents without switching editors, or editors that want to support many agents without building each integration.
How ACP Works: Sessions, Prompts and Updates
ACP is a JSON-RPC 2.0 protocol, and its transport is deliberately simple: the editor launches the agent as a subprocess and the two exchange line-delimited JSON messages over the subprocess’s standard input and output. There is no daemon to operate, no port to expose and no broker in the middle. The client is always the side that launches and drives the connection, and either side can send requests and notifications once a session is established.
A session follows three phases. First the client sends an initialize request to negotiate the protocol version and exchange capability declarations: the client declares what it supports, such as filesystem and terminal access, and the agent declares its capabilities, such as model selection and session loading. The current stable wire protocol is version 1, negotiated through a protocolVersion field during initialisation. Then the client creates a session with session/new or resumes one with session/load. From there, each turn begins with session/prompt, during which the agent streams session/update notifications for message chunks, tool calls and plan changes.
Content is markdown-first rich text, with support for images, audio and resource references. Tool calls are reported to the client through session/update notifications so the editor can render real-time progress, and tool calls are categorised by kind: read, edit, delete, move, search, execute, think and fetch. The client can also expose primitives the agent calls into, including filesystem access for reading and writing text files, and terminal control for creating terminals, streaming output, waiting for commands to finish and killing processes. Permission requests have standard shapes too, so the editor can ask the user before the agent takes a consequential action, which is the mechanism that makes an autonomous coding agent safe to run inside a developer’s working environment.
ACP, MCP and A2A: Three Protocols, Three Layers
ACP is frequently discussed alongside the Model Context Protocol and the Agent2Agent protocol, and the three are sometimes presented as competitors. They are not. They connect different things, at different layers of the same stack, and a serious agent system will usually speak all three.
ACP connects the agent to the human’s front-end: it is how an editing environment drives the agent and renders what the agent is doing. MCP connects the agent to tools and data: it is how an agent reaches a database, a ticketing system or an internal API. A2A connects agents to each other: it is how one agent delegates work to another agent that has its own memory, tools and policies. Our comparison of MCP and agent-to-agent protocols explains the last two layers, and ACP adds the layer in front of them: the surface where a human meets the agent.
The layering is what makes the combination powerful. A developer types a request in an editor, ACP carries the prompt and streams the agent’s progress back, the agent reaches tools and data through MCP, and when the task needs a specialist agent, A2A carries the delegation. Each protocol owns one boundary, and no boundary needs a bespoke integration. Tool calling, the mechanism at the centre of the agent’s work, is explained in our guide to how tool calling turns models from talking into doing.
Which ACP? Clearing Up the Name Collision
Three different protocols have used the ACP acronym, and search results still mix them together, so it is worth stating plainly which one this article covers. The Agent Client Protocol, the subject here, connects code editors to coding agents. The Agent Communication Protocol, associated with IBM Research and the BeeAI project, is a REST-based agent-to-agent interoperability standard; its own site now says it is part of A2A under the Linux Foundation, so new work in that area happens under the Agent2Agent effort. The Agentic Commerce Protocol, from OpenAI and Stripe, is a commerce protocol for AI-driven checkout flows and has nothing to do with editors or agents talking to each other.
| Protocol | Full name | Connects | Origin | Status |
|---|---|---|---|---|
| ACP | Agent Client Protocol | Editor to coding agent | Zed, August 2025 | Active open standard; stable version 1 |
| ACP | Agent Communication Protocol | Agent to agent | IBM, BeeAI | Merged into the A2A effort |
| ACP | Agentic Commerce Protocol | Agent to checkout | OpenAI, Stripe | Separate commerce standard |
| MCP | Model Context Protocol | Agent to tools and data | Anthropic | Active; complementary to ACP |
| A2A | Agent2Agent | Agent to agent | Google, April 2025 | Active; Linux Foundation governed |
Who Supports ACP and Where It Is Going
On the client side, Zed supports ACP natively, and JetBrains ships official ACP support. On the agent side, the protocol’s directory lists agents including OpenClaw, Hermes, Goose and Gemini CLI, with Claude Code and Codex available through adapters. SDKs exist for TypeScript, Python, Rust, Kotlin and Java, which means both editors and agents can implement the protocol in the language they already use.
The ecosystem took a practical step forward with the ACP Registry, which went live on 28 January 2026. The registry lets an agent be registered once and become available across compatible clients, so users get current versions without waiting on individual editor review cycles. JetBrains pushed forward the registry specification, and the announcement names Claude Code, Codex CLI, GitHub Copilot CLI, OpenCode and Gemini among the agents in the registry. A registry matters because discovery is the hard part of any protocol ecosystem: a standard that nobody can find implementations for is a standard in name only.

When to Adopt ACP
Adopt ACP if you build or choose editors, or if you build coding agents. For editor vendors, ACP is the difference between maintaining one protocol implementation and maintaining a bespoke integration for every agent on the market. For agent vendors, it is the difference between reaching every ACP editor at once and negotiating a separate integration with each one. For development teams, it is the freedom to switch agents without switching editors, and to evaluate a new coding agent in the editor your team already uses.
The decision is also shaped by your architecture. If your agents run inside one editor and one organisation, a single bespoke integration may be simpler than adopting a protocol. If your agents need to work across editors, or your editor needs to support many agents, ACP is the standard answer. Our guide to what AI agent frameworks do and how to choose one covers the agent side of that decision, and the multi-agent question is covered in our comparison of multi-agent versus single-agent architecture.
Decision checklist
- Editor-agent pairs: how many combinations do you need to support? More than two makes ACP worth adopting.
- Switching cost: do developers need to try new agents without changing editors? ACP makes that cheap.
- Agent quality: is the agent you want actually good? The protocol does not fix a weak agent.
- MCP coverage: does the agent reach tools through MCP? ACP and MCP together cover the editor-to-tool path.
- Version support: does your implementation support version 1, and is version 2 on the roadmap? Both matter during the transition.
- Permissions: does the editor render permission requests clearly? That is where agent safety is decided in practice.
Frequently Asked Questions
What is the ACP agent protocol?
The ACP agent protocol is the Agent Client Protocol, an open JSON-RPC standard that standardises communication between code editors and AI coding agents. The editor launches the agent as a subprocess and the two exchange messages over standard input and output.
Who created ACP?
Zed Industries created ACP and introduced it in August 2025, releasing it under the Apache 2.0 licence. Google’s Gemini CLI was the first reference implementation, and JetBrains joined shortly after.
How is ACP different from MCP?
ACP and MCP connect different things. ACP connects an editor to a coding agent, while MCP connects an agent to tools and data. They are complementary: a session can declare the MCP servers the agent should connect to, so both wire up in a single handshake.
How is ACP different from A2A?
A2A connects agents to each other for task delegation and collaboration, while ACP connects an editor to the agent it drives. ACP is the human-facing layer; A2A is the agent-to-agent layer.
Does my editor support ACP?
Zed supports ACP natively and JetBrains ships official support. Check your editor’s documentation, and check the ACP Registry, which lists compatible clients and agents.







