What is the Agent Client Protocol (ACP)?
mainACP is an open protocol from Zed used for editor-to-agent communication via stdin/stdout JSON-RPC.
In the roborev ecosystem:
- roborev acts as the ACP client.
- The agent process acts as the ACP server.
roborev uses ACP to integrate agents that do not have built-in adapters. It handles launching the agent as a subprocess, negotiating session modes and models, sending prompts, and enforcing file access boundaries (read-only vs read-write) at the operation level.