The agent-client-protocol Rust crate provides implementations of both sides of the Agent Client Protocol that you can use to build your own agent server or client. To get started, add the crate as a dependency to your project’s Cargo.toml:
cargo add agent-client-protocol
Depending on what kind of tool you’re building, you’ll need to implement either the Agent trait or the Client trait to define the interaction with the ACP counterpart. The agent and client example binaries provide runnable examples of how to do this, which you can use as a starting point. You can read the full documentation for the agent-client-protocol crate on docs.rs.

Users

The agent-client-protocol crate powers the integration with external agents in the Zed editor.