The @zed-industries/agent-client-protocol npm
package 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 package as a dependency to your project:
Copy
npm install @zed-industries/agent-client-protocol
Depending on what kind of tool you’re building, you’ll need to use either the
AgentSideConnection
class or the
ClientSideConnection
class to establish communication with the ACP counterpart.You can find example implementations of both sides in the main repository. These can be run from your terminal or from an ACP Client like Zed, making them great starting points for your own integration!Browse the TypeScript library reference for detailed API documentation.For a complete, production-ready implementation of an ACP agent, check out Gemini CLI.