Building Agents? Stop Treating messages[] Like a Database
Stop using messages as your agent's memory. Learn how structured state makes AI agents more reliable, efficient, and production-ready.

If you own a content-heavy digital product, you've probably watched two charts move in opposite directions. Page views and search referrals are flat or falling, while requests in the server logs keep climbing. A growing share of those requests come from AI crawlers reading your pages so another product can answer the question your page was written for.
Advertising assumes a person sees the ad, and a subscription assumes a person logs in. An agent does neither, so nothing on the page knows how to charge it.
Cloudflare and Stripe now offer ways to monetize content for AI that a product team can switch on or build. They come down to three things you can sell: the use of your content, access to it, or answers built from it. Only the first is a product you can switch on today. The other two are ready for pilots.
AI products moved the value off the page. Your review does its work inside a shopping agent's recommendation, and your research gets condensed into an answer engine's reply. The person never reaches your page, so none of the machinery you built to earn money runs.
Cloudflare, which sells several of the tools below, reports that 52% of crawler requests were for AI training as of June 2026, up from 22% in spring 2025, and that some heavily crawled categories have seen human traffic fall as much as 40% in less than a year. Blocking that traffic takes your content out of the answers your buyers now read. The three models below let you get paid for it instead.
Cloudflare Pay Per Use entered beta on September 30. An AI company defines the use it will pay for and sets a price. The launch examples are a search service that pays when it shows an excerpt from your page, and a shopping agent that pays when your review shapes a recommendation. You accept or decline offers in your dashboard. The buyer reports each use, and Cloudflare bills the buyer and pays you monthly.
The case for charging per use instead of per crawl holds up: AI products fetch far more than they use, and many won't pay before they know what they need. The weak point is that buyers report their own usage, and Cloudflare hasn't described how it would catch uses they leave out. Treat early earnings as a signal of which content AI products value. I'd argue that signal is worth more to a product owner than the money.
A paywall returns "401 Unauthorized" to an agent, and the agent goes elsewhere. Cloudflare's Monetization Gateway, now on a waitlist, can return "402 Payment Required" with a price instead. Subscribers sign in as before, and anyone else's agent can pay per article with no account or checkout, using the open x402 payment protocol.
Stripe's x402 support, available on request to US businesses and by application in more than 30 other countries, also lets your own server return the 402, accept USDC (a dollar-backed stablecoin) and record each payment as a standard Stripe payment.
Two questions need answers before launch. Finance has to agree to hold or convert stablecoins and to own the tax treatment of many small anonymous purchases, which these tools don't handle for you today. Then there's price. Set it too high and agents go to a free source; set it too low and you undercut your own subscription.
The first two models sell text, which an AI product can paraphrase once it has read it. The third sells something that doesn't exist until the agent asks for it.
Expose a proprietary dataset or body of research as an MCP tool (Model Context Protocol, the standard way agents call outside tools) and charge per call. A retailer could use its returns data to tell an agent which sizes run small in a category. You can build this on Stripe's x402 support now. “What interests me most here isn't the payment model, it's the shift in thinking. For decades we've built systems whose job was to help users find documents. Increasingly, users don't want documents, they want answers. If your organisation has unique data, trusted expertise or content that can't easily be replicated, then "selling answers" starts to look much more attractive than "selling access". The tricky bit, as always, is getting the content, metadata and governance foundations right first.” - Phil Lewis, CTO Pureinsights
It's the least proven model and the hardest to do well. The answer is only as good as the data behind it, so most of the work is getting that data clean and safe for an agent to query. We've written about why every agent needs the same answers about your business. Done well, it's the most defensible revenue of the three, because nobody else can sell the same answer.
Decide one content set at a time, such as your reviews or your archive.
I expect most brands with serious content to run at least two of these within a year.
Orium designs and builds the agents and MCP tools that turn proprietary data and research into answers other agents will pay for. If you hold data nobody else has, speak to our team about building your first paid tool.
Stop using messages as your agent's memory. Learn how structured state makes AI agents more reliable, efficient, and production-ready.
Traditional approaches to change management weren’t working before. AI just makes the gaps impossible to ignore.
How smart companies are evolving with agent-powered delivery models, and what it takes to lead in the new era of intelligent services.