Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A fullstack Next.js template for building AI apps with x402 accountless payments, MCP paid tools, and Coinbase CDP server wallets.

Next.js Commerce fork with Builder.io visual editing and Vercel Edge Middleware for cookie-driven personalization and A/B testing.

A minimal Angular 13 starter app from Vercel's examples repo, generated with Angular CLI 13.1.3 and deployable to Vercel with zero configuration.

A Next.js example using the Vercel AI SDK's streamText function to automatically handle multiple tool call roundtrips in one chat turn.

Next.js onchain commerce template powered by OnchainKit and Coinbase Commerce, with multi-product checkout and Vercel deployment.
x402 AI Starter Kit is a fullstack Next.js template from Vercel Labs that wires the x402 HTTP payment protocol into an AI chat app, an AI agent that pays for tools, a remote MCP server, and Coinbase CDP server-managed wallets.
The x402 AI Starter Kit is an open-source Next.js template that shows how to use x402, a protocol built on top of HTTP for making accountless payments, inside a modern AI stack. It takes Coinbase Developer Platform credentials (CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET) plus either a Vercel OIDC token or an AI Gateway API key as input, and produces a running app with an AI chat interface, an API playground, an agent that can pay for tools, a remote MCP server exposing paid tools, paywalled API routes, and paywalled pages served to bots. Vercel Labs publishes the source at github.com/vercel-labs/x402-ai-starter with a hosted demo.
x402 is a payment protocol built on top of HTTP that enables accountless payments that are fast, cheap, and secure. The starter kit uses it to charge for AI tool calls, API routes, and page content without requiring users to create accounts or manage API keys.
By default it runs on base-sepolia, a testnet using fake money, and automatically tops up from a faucet when the balance is low. To go to production, set the NETWORK environment variable to base and make sure the purchaser account holds enough USDC.
No. AI Gateway is used by default, with credentials supplied either through a Vercel OIDC token or an API key, but the template works with any AI SDK model provider and its associated credentials instead.
It requires three Coinbase Developer Platform values, CDP_API_KEY_ID, CDP_API_KEY_SECRET, and CDP_WALLET_SECRET, which let the app create and fund server-side wallets used to pay for tools.
