Cloudflare Launches Programmable Wallets for AI Agent Commerce
New infrastructure uses the x402 protocol and stablecoin micropayments to let AI agents autonomously purchase APIs and digital tools.
Cloudflare has announced "Cloudflare Wallets," a programmable infrastructure designed to allow AI agents to autonomously purchase APIs, content, and Model Context Protocol (MCP) tools. The system aims to remove the human bottlenecks that currently prevent AI agents from independently navigating and paying for digital services.
The framework utilizes a two-tier wallet structure to balance autonomy with security. Human owners manage "Account Wallets" to oversee funds, while AI agents operate via "Virtual Wallets." These agent-operated wallets are managed through API keys and include programmable spending guardrails, such as specific allowance caps, allow lists, and maximum transaction limits. To provide these agents with a stable identity, Cloudflare introduced cloudflare.pay handles, which serve as human-readable labels linked to a Cloudflare account and its associated cryptographic keypairs.
The x402 Standard
At the core of the system is the x402 protocol, which repurposes the HTTP 402 status code to attach payments directly to HTTP requests. This allows for seamless micropayments integrated into the fabric of web communication. The x402 Foundation, which Cloudflare co-founded alongside Coinbase, is hosted by the Linux Foundation. The foundation's premier membership includes a roster of industry players, including Visa, Mastercard, Google, Amazon Web Services, and Circle.
Completing the Commerce Loop
This launch is the second half of a strategic push toward an "agentic AI economy." On July 1, Cloudflare introduced the Monetization Gateway, which provided the "sell side" for merchants to charge AI agents. By adding Wallets, Cloudflare has now established the "buy side," completing the loop for machine-to-machine commerce.
Cloudflare CEO Matthew Prince noted that the system allows the company to "give agents a face — a link to the human or organization that owns them — so that trust, accountability, and real commerce can follow." This shift addresses a primary friction point in AI deployment: the fact that agents currently lack native payment methods and stable identifiers, often requiring humans to manually set up accounts or handle billing.
What's Next
Cloudflare Chief Strategy Officer Stephanie Cohen emphasized that the internet requires a different business model and payment system to support this evolution. While handle reservations via cloudflare.pay are currently live, the full funding and spending capabilities of the wallets are expected to roll out in the coming months. The industry is watching to see if this standardized approach to stablecoin micropayments can successfully scale a headless marketplace where agents discover and pay for resources in real-time.