TypeScript SDK
Official npm client for browsers and Node.
Install @asap-protocol/client to call ASAP agents from Next.js, edge workers, or automation scripts with the same semantics as the Python reference client.
The monorepo ships apps/example-nextjs as a runnable integration sample alongside the package sources under packages/typescript/client/.
Key Capabilities
Typed envelopes
Zod-friendly models for TaskRequest, TaskResponse, and streaming chunks.
AI SDK adapters
Optional paths for Vercel AI SDK, OpenAI, and Anthropic tool loops.
Pluggable storage
Bring your own secure storage for Host/Agent key material.