ACP
How it works
Communication follows a client-agent model using JSON-RPC. The client is the editor/IDE and the agent is a generative-AI coding program. Locally, the editor launches the agent as a sub-process and exchanges JSON-RPC messages over standard input/output (stdio); remotely, HTTP and WebSocket are used. After connecting, the two sides negotiate capabilities and the protocol version, then run prompt 'turns': the editor sends user requests and the agent returns responses, tool calls, and proposed file changes rendered as diffs. Where possible, ACP reuses the same JSON representations as MCP, adding types specific to agentic coding.
Problem solved
Before ACP, every integration of an AI coding agent with an editor was built separately โ agents were tied to specific editors, and editors had to parse ad-hoc outputs (for example ANSI terminal text). This caused duplicated integration work (N editors x M agents) and poor portability. ACP solves this by introducing one shared interface, so an agent written once works across many editors and an editor supports many agents.
Strengths & limitations
Components
The client side of the protocol โ the editor or IDE the user works in.
Official
A generative-AI program, run locally as a sub-process or remotely.
Official
Locally: JSON-RPC over stdio (sub-process). Remotely: HTTP and WebSocket.
Covers tool calls and the rendering of code changes (diffs).
Implementation
Evolution
Zed Industries announces ACP (27 August 2025) with Gemini CLI as the reference implementation built together with Google.
On 3 September 2025 Zed adds beta support for Claude Code via ACP.
Hyperparameters (configurable axes)
Transport mechanism: stdio for local agents (sub-process) or HTTP/WebSocket for remote agents.
Protocol version negotiated during initialization. Current stable: 1.
Hardware requirements
ACP is an application-layer communication protocol (JSON-RPC over stdio/HTTP/WebSocket) and is hardware-independent.