TL;DR
The Agent Client Protocol (ACP) is LSP for AI coding agents: one JSON-RPC 2.0 standard that lets any compliant agent run inside any compliant editor. The official registry lists 42 agents as of October 2026 (Claude Agent, Codex, Gemini CLI, Copilot, Cursor, goose and more), and JetBrains IDEs and Zed install them in a few clicks. Neovim, Emacs, Sublime Text and VS Code get there through community plugins, because VS Code still has no native support. Below: setup in JetBrains and Zed, custom agent JSON for both, a Python agent skeleton checked against the current SDK, ACP vs MCP, and the gaps that remain.
Registry counts, editor support, SDK versions and spec status last verified: October 20, 2026.
Why One Protocol Beats a Plugin per Editor
Plenty of developers split the day across editors: JetBrains for Go and Python, Zed for quick edits, Neovim over SSH. Before ACP that meant a separate AI setup in each one, with Copilot in JetBrains, Zed’s built-in assistant, and often nothing at all in Neovim.
With ACP, the agent is the constant and the editor is the variable. Configure Claude Agent, Gemini CLI and Codex once per editor and all three show up in every one of them, speaking the same protocol, so picking an agent per task becomes a dropdown choice. A plausible split: Claude for architecture reasoning (especially with subagents and dynamic workflow scripts), Gemini for quick multi-file edits, Codex for throwaway scripts. The config files below are nearly identical from one editor to the next, so adding an editor to the toolchain costs one small JSON block.
What Is the Agent Client Protocol?
Every AI coding tool used to require its own editor plugin. Cursor baked its agent into a VS Code fork. GitHub Copilot needed the Copilot extension. Claude Code ran only in the terminal. If you wanted to use three agents, you needed three separate integrations. And if your editor of choice didn’t have a plugin for your preferred agent, you were out of luck.
ACP fixes this with a simple idea borrowed from LSP: define a standard wire protocol between editors and agents, so any agent can plug into any editor.
The protocol works like this:
- The editor (client) spawns the agent as a subprocess
- The agent communicates back over JSON-RPC 2.0 on stdin/stdout, the only transport in the stable spec (Streamable HTTP and WebSocket transports for remote agents are being specified)
- Work organizes into sessions (a conversation with shared context) and turns (individual prompt-response cycles)
- The agent can request file access, terminal execution, and tool calls, all through the protocol
Zed Industries created ACP in August 2025. JetBrains joined shortly after. By January 2026, they co-launched the ACP Registry, a directory of compatible agents built into both editors. As of October 2026, the registry lists 42 agents, and the protocol’s clients page lists 19 editors and IDEs plus more than 100 other clients (desktop apps, terminal UIs, notebooks, chat bots). Zed and JetBrains have native support; Neovim, Emacs, Sublime Text, Qt Creator, Visual Studio and VS Code are covered by plugins. Devin Desktop (the Windsurf rebrand) shipped ACP support on June 2, letting you run Claude Agent, Codex, or OpenCode inside its Agent Command Center.
ACP vs MCP
If you’ve worked with the Model Context Protocol (MCP), a second agent protocol can look redundant. Both involve AI agents and JSON-RPC, so the overlap is easy to assume. But they sit on different sides of the agent.
| Aspect | ACP | MCP |
|---|---|---|
| Direction | Editor ↔ Agent | Agent ↔ Tools |
| Client | Code editor (JetBrains, Zed, Neovim) | AI application (Claude, GPT) |
| Server | AI coding agent | Tool/data provider |
| Purpose | How an editor drives an agent | How an agent calls external tools |
| Transport | JSON-RPC over stdio (HTTP/WebSocket in an active RFD) | JSON-RPC over stdio or Streamable HTTP |
| Created by | Zed Industries (Aug 2025) | Anthropic (Nov 2024) |
MCP gives agents access to tools: databases, APIs, file systems, browser automation. ACP gives agents access to editors: file trees, terminals, diff views, user prompts.
The two protocols stack. A typical setup looks like this: Zed (ACP client) launches Claude Code (ACP agent), which then connects to an MCP server for database access. ACP handles the editor-to-agent communication; MCP handles the agent-to-tool communication. The AI agent protocols guide maps where A2A and WebMCP fit into the same stack.
If you’ve already built MCP servers for your workflow, those still work under ACP. The agent sits in the middle and bridges both protocols.
The ACP Registry
The ACP Registry is a curated directory that editors query directly. When you open JetBrains or Zed and browse available agents, you’re reading from this registry. It auto-updates hourly from npm, PyPI, and GitHub Releases, so version numbers move constantly. The table below focuses on what each agent does; check the live registry for the current version of any agent.
Here are some agents worth knowing about:
| Agent | What It Does |
|---|---|
| Claude Agent | Anthropic’s Claude, wrapped for ACP |
| Gemini CLI | Google’s official Gemini terminal agent |
| Codex | OpenAI’s coding assistant |
| GitHub Copilot | GitHub’s agent; copilot --acp also runs the CLI as an ACP server |
| Cursor | Cursor’s integrated agent |
| Goose | Open source, extensible, local-first |
| Cline | Open source autonomous coding agent |
| Junie | JetBrains’ own AI agent |
| OpenCode | Open source terminal agent |
| Grok Build | xAI’s coding agent |
| Mistral Vibe | Mistral’s open source assistant |
| Qwen Code | Alibaba’s Qwen coding agent |
The full registry lists 42 entries as of October 2026. Two notable arrivals since this guide first ran in June are Devin (added mid-June) and Google Antigravity (August), joining earlier 2026 entries like Amp, Kimi CLI and Kilo. Most are installable in one click from JetBrains or Zed. GitHub’s Copilot CLI is worth a note: since January 2026 copilot --acp speaks ACP over stdio, and adding --port 8080 serves it over TCP instead, so Copilot is one of the few agents you can already reach without spawning a subprocess. Custom agents that aren’t in the registry can be added manually through config files (covered below).
Setting Up Claude Code via ACP in JetBrains
JetBrains ships native ACP support across all their IDEs: IntelliJ IDEA, PyCharm, WebStorm, GoLand, the lot. No subscription required for ACP itself (the agents may need their own API keys).
Step 1: Open the agent panel
Open the AI Chat tool window (usually on the right sidebar). Click the chat mode selector at the top, which shows your current agent/model.
Step 2: Install from registry
Choose “Install From ACP Registry” from the selector. Scroll to Claude Agent and select it.
The IDE downloads the agent and creates a config entry automatically. Per JetBrains’ docs, a registry agent may ask for an API key the first time you use it, so have your Anthropic key ready.
Step 3: Verify
Back in the AI Chat panel, select “Claude Agent” from the chat mode selector. Type a message. If you see Claude responding with code awareness (file context, project structure), the agent is connected and reading your workspace through ACP.
Step 4: Configure MCP servers (optional)
If you already use MCP servers (a Chrome DevTools MCP server or a FastMCP server, for example), you can wire them into the ACP agent. Edit ~/.jetbrains/acp.json:
{
"default_mcp_settings": {
"use_custom_mcp": true,
"use_idea_mcp": false
},
"agent_servers": {
"Claude Agent": {
"command": "/absolute/path/to/claude-agent-binary",
"args": [],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}
The use_custom_mcp: true flag tells the agent to use your MCP config instead of the IDE’s built-in tool servers. The command path is a placeholder: a registry install writes the real entry for you, so only edit the default_mcp_settings block unless you’re wiring up a binary by hand. Restart the IDE after editing.
Setting Up Gemini CLI via ACP in Zed
Zed was the first editor to support ACP (they created the protocol, launching it with Gemini CLI as the first agent), so its integration is the reference one.
Step 1: Open the registry
Run zed: acp registry from the command palette. The longer route is Agent Settings (agent: open settings) > External Agents > Add Agent > Install from Registry. Since Zed made the registry the install path, extension-provided agents are deprecated and get migrated to their registry equivalents automatically.
Step 2: Add Gemini CLI
Select Gemini CLI from the registry list. Once installed, it appears in the new-thread menu of the agent panel (Cmd+? on macOS, Ctrl+? on Linux/Windows).
Gemini CLI owns its own authentication: a Google login, Vertex AI, or an API key. If GEMINI_API_KEY or GOOGLE_AI_API_KEY is set, it uses that; otherwise Zed can pass along the key from its Google AI provider settings. Claude Agent works the same way: run /login in a Claude Agent thread and choose an API key or your Claude Code login.
Step 3: Use it
Gemini CLI can now read files, run terminal commands and propose diffs in your project, all through ACP and within the capabilities Zed grants it. If you haven’t used Gemini CLI before, our Gemini CLI tutorial covers the initial setup and a real Python project walkthrough. You can keep multiple agents active simultaneously: select a different agent from the panel’s dropdown to switch, or open a second agent panel for side-by-side comparisons.
Custom agent config in Zed
To add an agent that isn’t in the registry, edit ~/.config/zed/settings.json:
{
"agent_servers": {
"my-agent": {
"type": "custom",
"command": "node",
"args": ["~/projects/agent/index.js", "--acp"],
"env": {
"MY_API_KEY": "..."
}
}
}
}
Custom agents use "type": "custom" with a command, args and an optional environment. Registry-installed agents take per-agent settings under agent_servers.<agent-id> in the same file. Either way the agent talks to Zed over stdio using the same ACP JSON-RPC protocol.
Custom Agent Configuration
Both JetBrains and Zed support custom agents that aren’t in the registry. The config format is nearly identical.
JetBrains: ~/.jetbrains/acp.json
{
"agent_servers": {
"OpenCode": {
"command": "/usr/local/bin/opencode",
"args": ["acp"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}
Zed: ~/.config/zed/settings.json
{
"agent_servers": {
"OpenCode": {
"type": "custom",
"command": "/usr/local/bin/opencode",
"args": ["acp"]
}
}
}
The command and args follow OpenCode’s own ACP docs (the env block is optional, for passing a provider key). In JetBrains, use the absolute path to the binary; in Zed, plain opencode works if it’s on your PATH.
Neovim, Emacs and the rest: community plugins
Neovim support comes through community plugins like CodeCompanion.nvim, avante.nvim and agentic.nvim. Emacs has agent-shell, and the clients page also lists plugins for Sublime Text, Qt Creator, Visual Studio and Obsidian. The config follows the same pattern: a command path, args, and environment variables. The editor spawns the agent as a subprocess and pipes JSON-RPC over stdio, same as JetBrains and Zed.
The pattern is the same everywhere: you specify a command (often with an acp argument), the editor spawns it, and the two talk JSON-RPC.
Building Your Own ACP Agent
If you’re building a custom coding tool and want it to work in every ACP editor, official SDKs exist in five languages:
| Language | Package | Status |
|---|---|---|
| Rust | agent-client-protocol (crates.io) | 1.0 since June 25, 2026 |
| TypeScript | @agentclientprotocol/sdk (npm) | 1.0 since June 25, 2026 |
| Python | agent-client-protocol (PyPI) | 0.12.1 stable; 1.0.0rc3 pre-release out |
| Java | java-sdk | Official, examples in repo |
| Kotlin | acp-kotlin | Official, JVM target (others in progress) |
The minimal contract: implement the initialize handshake, handle session/new and session/prompt methods, and send back content updates. The SDKs ship with example agents you can fork. The SDK only handles the wire protocol, and the reasoning loop is yours to write. To see one built end to end, the Go AI agent tutorial on this site walks through the LLM loop that sits behind a wrapper like this. How you feed that loop counts as much as which model you pick: trimming context down to what the task actually needs is where a lot of an agent’s answer quality comes from.
Here’s the skeleton in Python using the official SDK. It’s trimmed down from the SDK’s own echo_agent.py at the 0.12.1 tag, and the imports and method signatures were checked against that release’s source. It wasn’t executed for this article, since the build sandbox can’t install packages.
import asyncio
from typing import Any
from uuid import uuid4
from acp import (
Agent,
InitializeResponse,
NewSessionResponse,
PromptResponse,
run_agent,
text_block,
update_agent_message,
)
from acp.interfaces import Client
class MyAgent(Agent):
def on_connect(self, conn: Client) -> None:
self._conn = conn # handle for streaming updates back to the editor
async def initialize(self, protocol_version: int, **kwargs: Any) -> InitializeResponse:
return InitializeResponse(protocol_version=protocol_version)
async def new_session(self, cwd: str, **kwargs: Any) -> NewSessionResponse:
return NewSessionResponse(session_id=uuid4().hex)
async def prompt(self, session_id: str, prompt: list, **kwargs: Any) -> PromptResponse:
# `prompt` is a list of content blocks for this turn. Call your LLM here,
# then stream its output back as session updates.
reply = update_agent_message(text_block("Hello from my ACP agent"))
await self._conn.session_update(session_id=session_id, update=reply)
return PromptResponse(stop_reason="end_turn")
if __name__ == "__main__":
asyncio.run(run_agent(MyAgent()))
run_agent is a coroutine, so it needs asyncio.run. Keep the initialize and new_session handlers even in a toy agent: the editor calls both before the first prompt. Point your editor at the script with a custom-agent entry (in Zed, "command": "python" plus the script’s absolute path in args, or "command": "uv" with ["run", "/abs/path/my_agent.py"]). The SDK handles JSON-RPC framing, capability negotiation, and session lifecycle. With 1.0.0rc3 already on PyPI, expect the helper names to shift slightly when Python 1.0 lands.
The ACP specification covers file system access, terminal execution, slash commands, tool calls, and authentication. You don’t need to implement all of them. Agents declare their capabilities during the initialize handshake, and editors adapt their UI accordingly.
The spec has moved fast since launch, according to the project’s updates log. Request cancellation became stable on June 29, 2026. Elicitation, which lets an agent ask the user for structured form input or send them through a URL flow, followed on July 22, and tool call names on September 17. ACP v2 was published as a draft on July 20, but the negotiated protocolVersion that editors and agents agree on is still 1, so anything you build against v1 today keeps working.
When ACP Falls Short
ACP works well for what it covers, but it has gaps.
Remote transport still isn’t stable. The spec’s only official transport is stdio, so nearly every ACP agent runs as a local subprocess (Copilot CLI’s TCP mode is the exception, outside the spec). That’s fine for Claude Code or Gemini CLI, which run local binaries that call cloud APIs. It doesn’t work for Devin-style cloud agents that need long-running sandboxed environments. A Transports Working Group formed in April 2026, and its Streamable HTTP and WebSocket RFD moved to Active on July 2, with a reference implementation in progress in Goose. Until that ships in the SDKs, don’t plan an architecture around remote ACP agents.
VS Code still has no native ACP support. The tracking issue (#265496) is open, marked under discussion and locked to collaborators. The only maintainer reply, from September 2025, reads “I don’t plan to implement it right away,” and duplicate requests keep getting folded into it (most recently in October 2026). The world’s most popular editor therefore depends on community extensions such as ACP Client and ACP Pro Extension for ACP. Those exist but don’t match the polish of native support in JetBrains or Zed.
JetBrains doesn’t support ACP agents under WSL, a real problem if your dev environment lives there. You’ll need to run agents in Windows-native mode or find workarounds. Zed on Windows handles ACP agents more cleanly, but Zed itself is newer on that platform.
The registry is curated: every listed agent must support user authentication. Experimental or internal agents need the manual config path. And the registry doesn’t show usage stats, reviews, or compatibility notes, only names and versions.
Agent quality also varies. ACP standardizes the wire protocol, not what the agent does with it, so a registry agent is only as good as its own reasoning loop. Start with the well-maintained ones (Claude Agent, Gemini CLI, Goose) and test smaller registry agents on your own project before trusting them. Read their diffs, too: the usual way unreviewed agent code breaks in production doesn’t change with the editor it arrived through.
FAQ
What is the Agent Client Protocol (ACP)?
ACP is an open JSON-RPC 2.0 standard that lets AI coding agents communicate with code editors through a single protocol. Created by Zed Industries in August 2025 and co-maintained with JetBrains, it applies the same concept as LSP to AI coding agents. One agent implementation works across Zed, JetBrains, Neovim, and Emacs without separate plugins for each.
How does ACP compare to MCP?
They complement each other. ACP connects editors to agents (how an editor drives an AI assistant). MCP connects agents to tools (how an agent calls databases, APIs, or browser automation). In a typical stack, the editor uses ACP to talk to the agent, and the agent uses MCP to talk to external tools. You run both together: the editor speaks ACP to the agent, and the agent speaks MCP to its tools.
Which editors support ACP?
As of October 2026, the official clients page lists 19 editors and IDEs. Zed (which created the protocol) and JetBrains IDEs (IntelliJ, PyCharm, GoLand, WebStorm and the rest) support it natively. Neovim, Emacs, Sublime Text, Qt Creator, Visual Studio, Obsidian and VS Code get it through plugins.
Does VS Code support the Agent Client Protocol?
Not natively. Microsoft’s tracking issue for ACP in VS Code is still open and under discussion, so VS Code users rely on community extensions such as ACP Client or ACP Pro Extension. They work, but they’re less polished than the built-in support in Zed and JetBrains.
Which AI coding agents support ACP?
The ACP Registry lists 42 agents, including Claude Agent, Codex, Gemini CLI, GitHub Copilot, Cursor, goose, Cline, Junie, OpenCode, Grok Build, Mistral Vibe, Qwen Code, Devin and Google Antigravity. The registry checks npm, PyPI and GitHub releases hourly for new versions. Any agent not in the registry can be added manually through config files.
How do I set up an ACP agent in my editor?
In JetBrains: open AI Chat > chat mode selector > Install From ACP Registry > pick your agent, then add an API key if asked. In Zed: run zed: acp registry from the command palette, install the agent, and start a thread from the agent panel. For custom agents, edit ~/.jetbrains/acp.json (JetBrains) or ~/.config/zed/settings.json (Zed) with the agent’s command path and args.
For orchestrating agents above the protocol layer, LangGraph vs CrewAI covers the framework choice.
Sources
- Agent Client Protocol specification — official protocol documentation and getting started guide
- ACP GitHub repository — specification source, SDKs, and governance (4.5k stars, Apache 2.0)
- ACP Registry — the ACP agent registry with auto-updated versions
- ACP clients page — editors, IDEs and other clients that implement the protocol
- ACP updates log — SDK 1.0 releases, stabilized features, and the v2 draft
- Streamable HTTP and WebSocket transport RFD — status of remote transport
- Python SDK echo_agent.py (0.12.1) — the example the Python skeleton is based on
- GitHub changelog: ACP support in Copilot CLI —
copilot --acpand the TCP--portmode - VS Code issue #265496 — the open request for native ACP support
- OpenCode ACP docs — OpenCode config for Zed and JetBrains
- JetBrains ACP documentation — setup guide for JetBrains IDEs
- Zed external agents documentation — ACP setup in Zed
- Marc Nuri: ACP introduction — technical overview of ACP architecture and ACP vs MCP comparison
Bottom Line
I think ACP is the most useful thing to happen to multi-editor AI coding since MCP. The N×M problem (N editors times M agents, each needing a bespoke integration) was real, and for the editors that speak ACP it’s gone: Claude Agent in JetBrains, Gemini CLI in Zed, and a dropdown to switch between them. A custom agent entry is under a dozen lines of JSON.
The protocol is still maturing. Remote agents need a stable transport, VS Code needs native support, and the registry needs quality signals beyond “exists and authenticates.” Inside its current boundaries, local agents in JetBrains, Zed and the plugin-backed editors, write-once-run-in-many already holds for 42 registry agents.
If you work in more than one editor, or switch between agents the way the terminal agent comparison suggests for different jobs, set ACP up now. A registry install in JetBrains or Zed takes a handful of clicks, and every agent you add afterwards shows up in each editor without another plugin.