Menu
Cloudflare Blog·August 4, 2026

Cloudflare Wallets: Building Agentic Commerce Infrastructure with Micropayments and Identity

Cloudflare Wallets introduces a programmable wallet system designed for AI agents to facilitate frictionless commerce by providing stable identities and native payment mechanisms. This system, built upon Cloudflare's Monetization Gateway and x402 protocol, enables agents to securely purchase APIs and content through Virtual Wallets with human-defined guardrails. It addresses critical challenges in agent-to-merchant interaction, offering a blueprint for a headless, two-sided agentic marketplace.

Read original on Cloudflare Blog

The article introduces Cloudflare Wallets, a crucial component for the emerging "agentic Internet" where AI agents interact directly with services and APIs. The core problem it solves is the difficulty agents face in onboarding, paying, and establishing identity when using traditional human-centric web services. This system aims to create a machine-native payment and identity layer to unlock agentic commerce.

Architectural Components and Interactions

Cloudflare Wallets are integrated with the Monetization Gateway and leverage the x402 protocol for micropayments. The architecture revolves around two wallet types: Account Wallets (for human owners) and Virtual Wallets (for AI agents). Account Wallets manage funds, set spending policies, and delegate permissions to Virtual Wallets. Virtual Wallets, accessed via API keys, allow agents to make payments within predefined limits and rules set by the human owner. This delegation model balances agent autonomy with human oversight and risk management.

ℹ️

Micropayments with x402 Protocol

The x402 protocol enables payments to be attached directly to HTTP requests, facilitating granular, low-friction transactions (micropayments). This design is critical for agents to experiment with many APIs without significant upfront commitment, thereby fostering exploration and discovery.

Identity and Attribution for Agents

Beyond payments, Cloudflare Wallets also tackle agent identity. Agents can optionally declare their identity through human-readable handles (e.g., `research.example.cloudflare.pay`) linked to their parent Cloudflare account. This allows merchants to attribute agent actions to an organization, enabling features like free trials or tailored services, which are challenging for anonymous agents. This approach provides a flexible identity primitive, building on existing work like Web Bot Auth, to address the evolving standards of agent identity.

  • Account Wallets: Human-controlled, for funding, policy setting, and managing Virtual Wallets.
  • Virtual Wallets: Agent-controlled via API keys, with spending caps and allow lists defined by Account Wallets.
  • Monetization Gateway: Facilitates headless selling of resources (APIs, content) to agents.
  • x402 Protocol: Enables stablecoin micropayments attached to HTTP requests.
  • Agent Identity: Optional, human-readable identifiers linked to Cloudflare accounts for attribution and trust.

This system lays the foundation for a headless marketplace, where agents can autonomously discover, integrate, and pay for services, while humans retain control over budgets and permissions. The design prioritizes flexibility, security, and ease of use to accelerate the adoption of agentic technologies.

AI agentsmicropaymentsdecentralized identityAPI monetizationCloudflarex402 protocolprogrammable walletsagentic commerce

Comments

Loading comments...
Cloudflare Wallets: Building Agentic Commerce Infrastructure with Micropayments and Identity | SysDesAi