Cloudflare Hands Websites a /.well-known/search Endpoint So Agents Can Ask Instead of Crawling Every Page
Cloudflare launched Search for Agents in beta on November 25, 2026. One dashboard toggle indexes a site with AI Search, exposes a search endpoint at /.well-known/search that returns Markdown passages rather than generated answers, and advertises it to agents through page metadata. AI Search billing starts December 1.
When an AI agent needs one fact from a website, it usually has to fetch pages and follow links until it finds the answer. Cloudflare wants sites to answer the question directly. On November 25, 2026, the company launched Search for Agents, a beta feature that indexes a site and serves results from a fixed address on the site’s own domain: /.well-known/search.
Search for Agents runs on AI Search, Cloudflare’s managed retrieval service. AI Search could already crawl a website and index it. But the blog post announcing the feature notes that site owners had to create and configure an instance by hand, then do the integration work to expose search on their domain and tell agents where to find it. The new feature puts that setup behind one toggle under Quick Actions on a zone’s overview page, or behind an API call. Cloudflare says it is available on all plans, including Free, subject to limits.
What switching it on creates
Turning the feature on creates an AI Search instance named search-for-agents-<ZONE_ID> that uses the site as its data source. According to Cloudflare’s documentation, the default crawler finds pages through both sitemaps and links, so a sitemap is not required. It goes up to five link hops from the root, caps a crawl at 100,000 pages and re-syncs every 24 hours. Search is hybrid, combining vector and keyword matching. Pages are split into 1,024-token chunks with 10% overlap and embedded with @cf/qwen/qwen3-embedding-0.6b. Owners can change most settings later, but the embedding model and data source are fixed when the instance is created.
Cloudflare’s documentation tells owners to index only content they intend to make publicly searchable. Requests to the endpoint still pass through the zone’s bot management, AI Crawl Control and web application firewall rules, so a site that blocks a given agent can keep blocking it.
Discovery happens on every page
Cloudflare’s answer to how agents find the endpoint is to announce it on every page. For HTML responses, it injects four meta tags into the page head: agent:instructions, agent:endpoint, agent:method and agent:documentation. The instruction tells agents to “use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages.” If the zone also runs Markdown for Agents, which converts HTML pages to Markdown when an agent asks for text/markdown, the same fields appear as YAML front matter at the top of the converted page.
Cloudflare turned the feature on for its own developer documentation ahead of launch. In the blog’s example, an OpenCode session asked for the maximum push size for Cloudflare Artifacts. The agent found the endpoint on the docs homepage, queried it and returned the correct answer a few seconds later. Cloudflare says agents tend to reuse the endpoint for the rest of a session once they have found it.
Passages, not answers
The endpoint takes a q parameter over GET, with keywords or a natural-language question. It returns Markdown passages with source paths and relevance scores, not a written answer. Cloudflare explains the choice in its post: “The agent already has an AI model and a conversation with the user; all it needs is the relevant information from your site, not another AI model’s attempt to answer on its behalf.”
The endpoint also accepts the new HTTP QUERY method, with a plain-text or JSON body. Cloudflare says QUERY was published as RFC 10008, an IETF Proposed Standard, in June 2026, and that Cloudflare engineer James Snell co-authored it. QUERY lets a client put search criteria in a request body while keeping the request safe and idempotent. Cloudflare says curl and undici have adopted it and browser vendors are discussing it.
The meter starts December 1
Search for Agents is billed under AI Search pricing, and Cloudflare’s pricing page says AI Search billing begins on December 1, 2026. Every 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, ingestion costs $0.75 per million tokens, storage $2.00 per GB-month, and semantic, vector or hybrid queries $0.75 per 1,000. Full-text queries cost $0.10 per 1,000.
Free-plan sites face a tighter limit than the 100,000-page crawl cap suggests. The documentation says Workers Free accounts can crawl at most 500 pages a day, and that this daily cap is “the binding one”. At that rate, reaching the 100,000-page cap would take 200 days.
Because the instance is an ordinary AI Search instance, owners can also expose it through public REST or MCP endpoints, call it from Workers, or embed a search box for human visitors. None of these is needed for agents to use /.well-known/search.
- #Cloudflare
- #AI Agents
- #AI Search
- #Web Standards
- #Retrieval
Author
Raj M
Contributor
AI Systems Architect is a seasoned technology leader with over 15 years of experience in the IT industry working with Fortune 500 companies. With a solid foundation in multi-agent systems, open-source LLM infrastructure, and enterprise deployment, he excels at building scalable production-grade AI platforms.