The Agent Client Protocol (ACP) is a protocol that standardizes communication between *code editors* (interactive programs for viewing and editing source code) and *coding agents* (programs that use generative AI to autonomously modify code).
npm install @agentclientprotocol/sdkThe official TypeScript implementation of the Agent Client Protocol (ACP) — a standardized communication protocol between code editors and AI-powered coding agents.
Learn more at https://agentclientprotocol.com
``bash``
npm install @agentclientprotocol/sdk
Start by reading the official ACP documentation to understand the core concepts and protocol specification.
The examples directory contains simple implementations of both Agents and Clients in TypeScript. These examples 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.
If you're building an Agent, start with AgentSideConnection.
If you're building a Client, start with ClientSideConnection.
For a complete, production-ready implementation, check out the Gemini CLI Agent.
- Library docs
- Examples
- Protocol Documentation
- GitHub Repository
- NPM Package
See the main repository for contribution guidelines.
By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.