Cloudflare Gives AI Agents a Site Search API
Cloudflare launched Search for Agents on Nov. 25, a beta on all plans that indexes a site with one toggle and publishes a /.well-known/search endpoint agents discover through page metadata. It returns Markdown excerpts, supports the new HTTP QUERY method (RFC 10008), and follows AI Search pricing, with billing from Dec. 1, 2026.
Cloudflare on Wednesday, Nov. 25, launched Search for Agents, a beta feature that lets any site on its network become searchable by AI agents with one dashboard toggle. Turning it on creates an index of the site and exposes a search endpoint at /.well-known/search on the site's own domain, which agents can find automatically.

Key takeaways
- One toggle provisions a Cloudflare AI Search instance, crawls the site and publishes a discoverable search API under the site's domain. It is available on every plan, including Free.
- The endpoint returns matching page content in Markdown, not a generated answer, and accepts both GET and the new HTTP QUERY method defined in RFC 10008.
- Usage follows AI Search pricing, and AI Search billing begins Dec. 1, 2026, with monthly included allowances per account.
How Cloudflare Search for Agents works
Site owners enable the feature under Quick Actions on a zone's dashboard page, or through the API. Cloudflare then creates an AI Search instance, named after the zone, and starts crawling and indexing the site, according to the launch post by Celso Martinho, Gabriel Massadas and Nelson Duarte.
The company's documentation lists the defaults. The crawler finds pages through sitemaps and links, goes up to five link hops deep, caps a crawl at 100,000 pages and re-syncs every 24 hours. Search is hybrid, combining vector and keyword matching, with the @cf/qwen/qwen3-embedding-0.6b embedding model. Each query returns up to 10 chunks, and reranking and query rewriting start switched off.
How AI agents discover the search endpoint
Cloudflare advertises the endpoint on every page. HTML responses get agent:instructions, agent:endpoint, agent:method and agent:documentation meta tags in the page head. If the site also uses Cloudflare's earlier Markdown for Agents feature, an agent that requests text/markdown receives the same details as YAML front matter.
Cloudflare said it turned the feature on for its own developer documentation before launch. In a demo with the OpenCode coding agent, the agent found the endpoint on the homepage and queried it to answer a question about product limits.
The search runs subject to each site's existing bot management, AI Crawl Control and firewall rules, so owners keep control over which agents get through. The docs advise indexing only content meant to be publicly searchable.
What the HTTP QUERY method adds
Besides ordinary GET requests, the endpoint accepts QUERY with a plain-text or JSON body. QUERY is defined in RFC 10008, a Standards Track specification published in June 2026 by Julian Reschke of greenbytes, James Snell of Cloudflare and Mike Bishop of Akamai. It carries query input in the request body like POST but is safe and idempotent like GET, so it can be cached and retried. Cloudflare said curl and Node.js's undici client have adopted it and browser vendors are discussing it.
Context: retrieval without a second model
Cloudflare deliberately returns sources rather than answers. "The agent already has an AI model and a conversation with the user," the company wrote; it needs "the relevant information from your site, not another AI model's attempt to answer on its behalf."
The launch is the latest in Cloudflare's push to rebuild the web for agents, after Markdown for Agents converted pages for machine readers. Search for Agents goes a step further, letting agents ask a site for relevant passages instead of crawling page by page.
What's next: billing starts Dec. 1
AI Search's pricing page says billing begins Dec. 1, 2026. Each account gets 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries a month. Beyond that, semantic and hybrid queries cost $0.75 per 1,000, full-text queries $0.10 per 1,000, ingestion $0.75 per million tokens and storage $2.00 per GB-month. Workers Free accounts can crawl at most 500 pages a day.
FAQ
Is Cloudflare Search for Agents free?
It is available on the Free plan, but usage counts against AI Search's monthly allowances. Queries beyond 1,000 semantic or 1,000 full-text a month are billed from Dec. 1.
Does the endpoint answer questions with AI?
No. It returns relevant excerpts from the site in Markdown, with source references and scores. The calling agent's own model writes the answer.
Can site owners block certain agents?
Yes. Requests to the endpoint still pass through the site's bot management, AI Crawl Control and WAF settings.
References
- Introducing Search for Agents — Cloudflare Blog (Nov. 25, 2026)
- Search for Agents · Cloudflare AI Search docs — Cloudflare Docs
- Limits & pricing · Cloudflare AI Search docs — Cloudflare Docs
- RFC 10008: The HTTP QUERY Method — IETF / RFC Editor (June 2026)
Editor responsible for AI Newsway. Writes about AI, developer tools, cloud and productivity technology.
Comments 0
Comments are currently disabled.