Install the Package
Install the ACP TypeScript SDK using your preferred package manager:Install Peer Dependencies
The SDK requires Zod for runtime schema validation. Install it alongside the SDK:The SDK supports Zod versions
^3.25.0 or ^4.0.0. Make sure your project uses a compatible version.TypeScript Configuration
The ACP SDK is designed for modern TypeScript projects. Ensure yourtsconfig.json includes these recommended settings:
tsconfig.json
Node.js Version Requirements
The SDK requires Node.js 18+ for modern JavaScript features like:- Native
fetchAPI - Web Streams API
crypto.getRandomValues()
Verify Installation
Create a simple test file to verify the SDK is installed correctly:If you see the output above, the SDK is correctly installed and ready to use!
What’s Next?
Now that you have the SDK installed, follow the quickstart guide to build your first agent or client:Quickstart Guide
Build a working ACP agent or client in just a few minutes