Documentation Index
Fetch the complete documentation index at: https://agentclientprotocol.com/llms.txt Use this file to discover all available pages before exploring further.
TypeScript
TypeScript library for the Agent Client Protocol
The @agentclientprotocol/sdk 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:
npm install @agentclientprotocol/sdk
Depending on what kind of tool you’re building, you’ll start with either the
agent()
or
client()
function to register typed handlers for the ACP methods you support and connect
to your counterpart. The
examples directory
contains runnable implementations of both sides that can be driven 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.
Deprecated classes
Earlier versions of the library were built around the
AgentSideConnection
and
ClientSideConnection
classes. These classes are now deprecated in favor of the fluent agent() and
client() APIs. They remain available for backwards compatibility, but new
integrations should use the fluent API as shown in the
examples.
Users
For a complete, production-ready implementation of an ACP agent, check out Gemini CLI.
Last updated Oct 08, 2026