Skip to main content
Get Started
Introduction
Get started with the Agent Client Protocol.
The Agent Client Protocol (ACP) standardizes communication between code editors/IDEs and coding agents and is suitable for both local and remote scenarios.
The protocol re-uses the JSON representations used in MCP where possible, but includes custom types for useful agentic coding UX elements, like displaying diffs.
The default format for user-readable text is Markdown, which allows enough flexibility to represent rich formatting without requiring that the code editor is capable of rendering HTML.
Why ACP?
AI coding agents and editors are tightly coupled but interoperability isn’t the default. Each editor must build custom integrations for every agent they want to support, and agents must implement editor-specific APIs to reach users. This creates several problems:- Integration overhead: Every new agent-editor combination requires custom work
- Limited compatibility: Agents work with only a subset of available editors
- Developer lock-in: Choosing an agent often means accepting their available interfaces
Overview
ACP assumes that the user is primarily in their editor, and wants to reach out and use agents to assist them with specific tasks. ACP is suitable for both local and remote scenarios:- Local agents run as sub-processes of the code editor, communicating via JSON-RPC over stdio.
- Remote agents can be hosted in the cloud or on separate infrastructure, communicating over HTTP or WebSocket
Full support for remote agents is a work in progress. We are actively
collaborating with agentic platforms to ensure the protocol addresses the
specific requirements of cloud-hosted and remote deployment scenarios.
