Cloudflare gives websites a search box for AI agents

Cloudflare has launched Search for Agents. A site owner flips one switch in the Cloudflare dashboard, and Cloudflare indexes the site and puts a search API on the site’s own domain, one that AI agents can find without being told. Agents no longer have to click through page after page; they can ask the site directly. The catch is who pays: the searches are billed to the site owner, not to the agent. Cloudflare announced the feature on its blog.
It continues Cloudflare’s push to make websites readable for machines. In February the company introduced Markdown for Agents, which serves agents a stripped-down text version of any page in place of the full HTML. Cloudflare’s VP of engineering Celso Martinho says the company’s data shows agents now outnumber humans on the Internet. The New Stack points out the irony: Cloudflare has spent 18 months building ways for sites to charge AI for their content, and now sites pay to make that content easier for agents to reach.
How it works
Behind the switch is AI Search, Cloudflare’s existing service that crawls and indexes content and answers queries in plain language. Search for Agents creates an AI Search instance for the site and adds a few hidden lines to every page. They tell a visiting agent where the search address is and how to use it. The agent sends its question to that address and gets back the relevant passages from the site in Markdown. It does not get a written answer. Cloudflare’s reasoning is that the agent already has its own AI model and only needs the facts.
The feature is open to all customers, including the Free plan with limits. Cloudflare’s documentation calls it a beta. Whatever bot management and firewall rules a site already has also apply to the search.
Who pays
Usage is billed at AI Search rates once the included allowance runs out: indexing the content, storing the index and answering queries. Cloudflare is working on a way for sites to charge agents for searches, but has given no timeline. Microsoft’s Web IQ, which opened to Azure customers last week, works the other way round: the agent’s developer pays.
Our analysis
What we checked
On November 27 we fetched Cloudflare’s own sites, where the feature is live, and put 10 questions to the search on its developer documentation. The hidden lines are there exactly as announced. Search found the answer to every question. It was the top result 7 times and in the top five every time.
The responses are heavy, though. Each one held 50 results and ran to a median of 12,653 tokens. In 7 of 10 cases that was more than an agent would read by following the site’s llms.txt files (the map files many sites keep for agents) to the right page, which took a median of 9,124 tokens. Search did save trips: one request instead of three. Martinho has said a search API “is more efficient for agents than crawling”. On token volume, our one run doesn’t show that for Cloudflare’s own setup. The 50 results are Cloudflare’s own setting. The documented default is 10, and we found no way for an agent to ask for fewer.
Cost needs watching. The toggle picks hybrid search, the more expensive rate at $0.75 per 1,000 queries, against $0.10 for plain keyword search. Billing begins December 1, 2026. Nothing slowed our anonymous scripts on Cloudflare’s sites: 30 queries in about three seconds, all answered. We assume every request counts as a billed query. On that basis, 100,000 agent queries a month would cost a site up to $74.25. On the Free plan, Cloudflare crawls at most 500 pages a day.
Up next
Claude is getting its own Google Drive file browser
A Google Drive file browser is in the works for Claude, Testing Catalog reports: your Docs, Sheets and Slides, searchable and filterable without switching apps. Have you ever pasted a whole Google Doc into a chat by hand?
Related stories
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

