Cloudflare has announced a new feature that makes it easier for AI agents to find and retrieve relevant information from websites, helping site owners make their content directly searchable by agents at the flick of a switch.
However, doing so could come at a cost to website owners, who are responsible for the associated search infrastructure charges.
Search for Agents, as it’s called, builds on other initiatives from Cloudflare designed to make the web more accessible to AI systems. Last month, the company officially launched AI Search, a managed service that enables developers to index their own data and integrate search functionality into applications and agents. And this serves as the underlying search infrastructure for Search for Agents.
Back in February, Cloudflare also launched Markdown for Agents, which automatically converts HTML pages into a lightweight, text-based format that AI agents can consume more efficiently — part of a broader evolution of the web to accommodate both human and machine visitors.
Search for Agents takes this further by giving websites their own agent-discoverable search API, allowing agents to query a site’s content directly without having to navigate individual pages to find the information they need.
The agent retrieval problem
Back in September, developer documentation platform Mintlify highlighted a problem with llms.txt, a file that serves AI agents with a map of a website’s content. Larger documentation sites were hitting Mintlify’s 100,000-character limit for these files, resulting in some pages being omitted. The company addressed this by introducing a hierarchy of smaller index files, allowing agents to discover all available pages without having to load the entire index.
The issue was particularly pertinent for Mintlify, which reported in April that AI coding agents accounted for 45.3% of requests across documentation sites powered by its platform, almost on a par with traditional browser traffic.
Cloudflare, for its part, also reported last year that AI crawling triggered by users’ queries had increased more than twentyfold through 2025.
Even with improvements such as those introduced by Mintlify, agents still have to navigate a website’s content index to find the information they need. Search for Agents seeks to bypass that process by allowing agents to query the website directly.
In a blog post published on Wednesday, the company detailed how website operators can enable the feature, currently in beta, via the Quick Actions section of their domain’s Cloudflare dashboard or programmatically through an API.

Once activated, Cloudflare provisions a dedicated AI Search instance and begins crawling and indexing the website’s content. Website operators can subsequently manage that instance from their AI Search dashboard, adjusting settings such as caching and enabling reranking to improve the relevance of search results.

Cloudflare also inserts instructions into the metadata of each page, telling visiting agents where the search API resides and how to use it. For websites that have enabled Markdown for Agents, these instructions are also included in the Markdown document’s YAML front matter.
Agents can then send keywords or natural-language questions to the website’s /.well-known/search endpoint, receiving relevant excerpts from the site’s content in Markdown. The agent can use this to formulate its own response to the user’s question.
Who pays for agent search?
Search for Agents is available across all Cloudflare plans, including its free tier. However, with AI Search billing set to begin on December 1, there are cost considerations for website owners looking to make their content more accessible to AI agents.
Each account receives a monthly allowance of 5 million ingestion tokens, 10 GB-months of storage, and 1,000 queries each for semantic and full-text search. Beyond those allowances, Cloudflare charges $0.75 per million ingestion tokens, $2 per GB-month of storage, $0.75 per 1,000 semantic, vector or hybrid queries, and $0.10 per 1,000 full-text queries.
Moreover, there are limits on how much content Cloudflare can crawl to populate the search index. Customers on the Workers Free plan are limited to 500 pages per day, while paying customers face no daily crawl limit. Both are subject to a 100,000-page limit per discovery crawl.
This raises an interesting question in the context of Cloudflare’s broader efforts to help website owners monetize AI traffic. Last July, the company introduced pay-per-crawl, enabling website owners to charge AI companies for fetching individual pages. The company expanded on that initiative this July with a push toward pay-per-use, whereby publishers would be compensated when their content appears in AI-generated answers. It’s part of a broader effort, as The New Stack reported at the time, to build the economic layer of the AI web.
Then in September, Cloudflare launched its Monetization Gateway in closed beta, enabling domain owners to charge AI agents for accessing websites, APIs, MCP tools and datasets using the x402 payment protocol.
Against that backdrop, the economics of Search for Agents are particularly striking. Having spent much of the past 18 months developing ways for website owners to generate revenue from AI traffic, Cloudflare is now asking those same website owners to shoulder the cost of making their content more readily accessible to AI agents.
“Our data shows that agents have now surpassed humans using the Internet and are an important audience for any website owner.”
So what incentive do website owners have to absorb these costs? According to Celso Martinho, VP of engineering at Cloudflare, it comes down to the growing importance of AI agents as an audience in their own right.
“Our data shows that agents have now surpassed humans using the Internet and are an important audience for any website owner,” Martinho tells The New Stack.
For context, Cloudflare reported back in June that bots, which include AI agents, accounted for 57% of HTML page requests across its network. Martinho also points to existing tools such as Cloudflare’s AI Crawl Control and the x402 payment protocol, which website operators can use to manage and monetize access to their content.
Moreover, plans are afoot to extend Cloudflare’s Monetization Gateway to cover the new search endpoints, which would enable website owners to charge agents directly for search queries.
“We are working on adding first-class support for Search for Agents and other agentic content APIs to Monetization Gateway,” Martinho says, though no timeline was provided.
For now, those search costs fall to website owners.
A common language for agent search?
While companies can, of course, build and expose their own search APIs, Search for Agents essentially gives Cloudflare customers an off-the-shelf solution. According to Martinho, existing agents with web browsing capabilities should be able to discover and use these endpoints without developers having to build dedicated integrations.
Cloudflare has tested the approach extensively across its own blog and developer documentation sites, Martinho says, “demonstrating that using a search API is more efficient for agents than crawling individual pages to find answers.”
“Using a search API is more efficient for agents than crawling individual pages to find answers.”
There have been broader efforts across the industry to standardize how AI agents interact with the world around them. Last December, the Linux Foundation announced the formation of the Agentic AI Foundation (AAIF), of which Cloudflare is a founding member, bringing projects such as the Model Context Protocol (MCP), AGENTS.md and Goose under a common umbrella.
For now, though, Cloudflare is pursuing its own approach to search endpoint discovery.
“Agents do a pretty good job at adjusting to different instructions and web protocols,” Martinho says, adding that Cloudflare’s research into agent behavior through initiatives such as Radar’s AI Insights and its Agent Readiness project informed its choice of technologies for Search for Agents.
Cloudflare’s approach draws on established web conventions such as well-known URIs and HTTP GET, alongside the newer HTTP QUERY method, an Internet Engineering Task Force (IETF) proposed standard co-authored by Cloudflare engineer James Snell.
However, Martinho acknowledges the merits of a broader industry effort in this area.
“Interoperability absolutely matters,” Martinho says. “A common approach to discovering search endpoints across providers would also make sense.”
The post Cloudflare now lets websites add search for AI agents with a single toggle. But the cost falls on site owners. appeared first on The New Stack.