Package Exports
- @zed-industries/agent-client-protocol
- @zed-industries/agent-client-protocol/dist/acp.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zed-industries/agent-client-protocol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

ACP TypeScript Library
The 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
Installation
npm install @zed-industries/agent-client-protocol
Get Started
Understand the Protocol
Start by reading the official ACP documentation to understand the core concepts and protocol specification.
Try the Examples
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!
Explore the API
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.
Study a Production Implementation
For a complete, production-ready implementation, check out the Gemini CLI Agent.
Resources
Contributing
See the main repository for contribution guidelines.