{"repo":"vercel/acp-handler","free":true,"listed":false,"github":"https://github.com/vercel/acp-handler","clone":"git clone https://github.com/vercel/acp-handler.git","description":"Integrate the Agentic Commerce Protocol (ACP) into your servers","language":"TypeScript","stars":24,"topics":["acp","agentic","commerce","express","hono","nextjs","protocol"],"license":"MIT","category":"ai-agents","readme_excerpt":"acp-handler A TypeScript handler for implementing the Agentic Commerce Protocol (ACP) in your web application. Handle ACP checkout requests with built-in idempotency, signature verification, and OpenTelemetry tracing. What is ACP? An open standard for programmatic commerce flows between buyers, AI agents, and businesses. This package handles the protocol implementation so you can focus on your business logic. Key Features: - ✅ Full ACP spec compliance - ✅ Type-safe TypeScript API - ✅ Built-in idempotency (prevents double-charging) - ✅ OpenTelemetry tracing support - ✅ Web Standard APIs (works with Next.js, Hono, Express, Cloudflare Workers, Deno, Bun, Remix) - ✅ Production-ready patterns - ✅ Comprehensive test suite Installation Peer Dependencies The handler requires a key-value store for session storage. Redis is recommended: Optional dependencies: Quick Start 1. Define Your ACP Handler Create your ACP handler in a central location (e.g., lib/acp.ts ) so you can reuse it throughout your app: 2. Mount Route Handlers Next.js (App Router) Hono Hono natively supports Web Standard APIs, so no adapter needed: Express / Node.js The core handlers use Web Standard Request / Response objects. For Node.js frameworks like Express, use @whatwg-node/server : Note: This approach works with Express, Fastify, Koa, and any Node.js HTTP framework. Other Frameworks The handlers use Web Standard APIs and work natively with: - Cloudflare Workers - Deno Deploy - Bun - Vercel Edge Functions - Remix","default_branch":null,"files":null,"tree":[],"storefront":"/r/vercel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vercel/acp-handler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}