Agentic payments2 Jul 20263 min read

Cloudflare just turned on the meter

Cloudflare is making it possible to charge agents for a page, API, dataset, or MCP tool using x402. This is why that matters to me after working on the same problem at Polygon.

I spent a lot of my time at Polygon working on a simple idea: an agent should be able to find a useful service, pay a small amount, and get a result without creating an account or managing an API key. Cloudflare's Monetization Gateway takes that same idea to a very large part of the internet.

What changed

A developer can put a price in front of a web page, dataset, API, or MCP tool. When an agent requests it, the server responds with 402 Payment Required, the agent pays in stablecoins, and the request continues. Cloudflare handles the payment check at the edge.

That flow sounds obvious once you see it working. Until now, most paid services still expected a human to create an account, choose a subscription, and enter card details. None of that fits an autonomous agent making one small request.

The part I worked on at Polygon

My role was to help make the other side of this flow usable for developers. I worked across the Polygon Agent CLI, Agentic Services, AgentConnect, documentation, demos, and service integrations.

The Agent CLI gives an agent a wallet, identity, swaps, bridging, and x402 payments. Agentic Services gives developers a place to expose pay-per-use services that agents can discover. The facilitator verifies and settles the payment. I also co-authored PIP-82, proposing up to $1M in base-fee rebates for eligible agentic-commerce transactions.

A large part of DevRel here was not just explaining x402. It was working directly with service providers, helping them integrate, making the documentation clearer, recording demos, and getting useful services into developers' hands. Polygon has now processed more than 24 million x402 transactions across the network.

What comes next

Cloudflare makes the seller side dramatically easier. The next step is connecting those sellers with agents that already have wallets and can discover, evaluate, and pay for services safely.

That is the part of agentic payments I find most interesting: not another demo where an agent recommends something, but infrastructure that lets it complete the transaction. Cloudflare's launch makes that future feel much closer.

Building an API, dataset, or MCP tool agents should pay for?

I helped build Polygon's Agentic Services and the surrounding developer experience. If you're working on x402 or agentic payments, my inbox is open.

Akshat Gada ← All writing