The Agent Client Protocol (ACP) is a standardized communication protocol designed to decouple code editors/IDEs from AI coding agents.
It addresses issues like integration overhead, limited compatibility, and developer lock-in by providing a universal interface similar to the Language Server Protocol (LSP).
ACP supports both local (JSON-RPC over stdio) and remote (HTTP/WebSocket) agent scenarios.
The protocol re-uses JSON representations from MCP where possible and includes custom types for agentic UX elements like diffs.
Default format for user-readable text is Markdown.