When you ask ChatGPT, Claude, or Grok about a service's API limits or pricing plans, a clumsy scramble happens behind the scenes. The agent either pulls an outdated quote from someone else's summary or visits the site and clicks around blindly. It downloads the homepage, fights through navigation menus, scripts, cookie banners, and pop-ups, and burns thousands of tokens just to find one line in a pricing table it might never even reach.
On November 25, 2026, Cloudflare opened the public beta of Search for Agents, available on every plan including Free. Inside your domain dashboard, go to Overview → Quick Actions and flip one toggle. The network indexes your site automatically and opens a direct search endpoint at /.well-known/search that returns clean Markdown snippets.
Cloudflare Search for Agents release banner (Source: blog.cloudflare.com)
What Happens Under the Hood After You Flip the Toggle
The feature runs on Cloudflare AI Search (formerly AutoRAG), a hybrid search service for websites and documents. Previously, you had to configure it by hand, wire an endpoint to your domain, and figure out how to tell bots where to find it. Now, one toggle triggers three steps automatically.
First, Cloudflare creates an AI Search instance named search-for-agents-<ZONE_ID> in the default namespace and starts a crawler in Discover mode. It finds pages via sitemap.xml and by following links up to 5 hops deep (refreshing and caching every 24 hours, with subdomains off by default). Text is split into 1,024-token chunks with 10% overlap so key sentences don't break at boundaries, then embedded with @cf/qwen/qwen3-embedding-0.6b. Incoming queries run hybrid search (vector plus full-text) merged with Reciprocal Rank Fusion (RRF), returning up to 10 chunks above a 0.4 score threshold and caching similar queries for 48 hours.
Second, Cloudflare publishes the https://<your-domain>/.well-known/search endpoint. Like robots.txt, it sits at a standard service path on your domain. An agent sends a question there and receives Content-Type: text/markdown; charset=utf-8 containing exact excerpts from your pages with links and relevance score values. No third-party model rewrites your text along the way, so prices, limits, and terms reach users in your exact words.
Third, Cloudflare injects hints into your page HTML so bots spot the new search endpoint immediately, adding four meta tags inside <head>:
<!-- Hint for agents: search here instead of crawling every page -->
<meta
name="agent:instructions"
content="Use this search API to find relevant content
across this site..."
/>
<!-- Search endpoint URL and base HTTP method -->
<meta
name="agent:endpoint"
content="https://example.com/.well-known/search?q={query}"
/>
<meta name="agent:method" content="GET" />
<!-- Fourth tag agent:documentation links to Cloudflare docs -->
If you also enable Markdown for Agents, those same fields appear in the YAML front matter at the top of Markdown responses. An agent reads this signpost on its first visit and stops wasting steps on blind menu crawling.
The endpoint accepts GET ?q=... as well as the new HTTP QUERY method defined in IETF RFC 10008, ratified in June 2026 (co-authored by Cloudflare's James Snell). QUERY combines the strengths of GET and POST: complex queries travel in the request body without cluttering URLs, yet stay safe, repeatable, and cacheable. The endpoint advertises accept-query: text/plain, application/json and returns HTTP 405 Method Not Allowed for regular POST requests. You can test all three from your terminal:
# Universal search via GET
curl --get "https://example.com/.well-known/search" \
--data-urlencode "q=How do I verify webhook signatures?"
# Native HTTP QUERY (RFC 10008) with plain text
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: text/plain" \
--data "How do I verify webhook signatures?"
# Same HTTP QUERY with a JSON body
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: application/json" \
--data '{"q":"How do I verify webhook signatures?"}'
The QUERY method already works in curl and undici v8.6.0, with WHATWG Fetch support in progress. If a client doesn't support QUERY yet, standard GET returns the exact same chunks.
Six Checks to See If Your Site Is Ready for AI Agents
The toggle solves search, but agents often hit roadblocks in nearby settings. You can run a quick check with Cloudflare's isitagentready.com tool, and verify six items manually.
Checklist: Is Your Site Ready for AI Agent Visits?
- The
/.well-known/searchendpoint returns200 OKwithtext/markdown; charset=utf-8and accurate snippets for real customer questions. -
agent:*meta tags appear in<head>, otherwise agents won't know fast search exists. - Markdown for Agents is enabled: on paid plans (
Pro,Business,Enterprise),Accept: text/markdownstrips HTML layout and scripts on the fly, saving around 80% of tokens. Paired with search, an agent finds the right section first and then reads the full page cleanly. - No accidental blocks in
robots.txt: older templates often block all bots indiscriminately. - A
llms.txtfile is present: a short plain-text index of key pages at your site root for language models. - Your domain runs on Cloudflare: Search for Agents only works for zones connected to the platform.
The most common trap hides inside robots.txt. If you want AI search agents to index and cite your public sections, check permissions for major crawlers:
# Allow major AI crawlers to access public sections
User-agent: GPTBot
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
After updating robots.txt, run a couple of curl commands with real customer questions. Confirm that your homepage outputs agent:* tags and that search returns live snippets with high score values instead of an empty response.
Live Tests: Cloudflare Docs and a 229-Page Domain
On developers.cloudflare.com, the feature is already live in production. When asked for the maximum push size for Cloudflare Artifacts, an agent finishes in three steps: it loads the homepage, reads the agent:* tags, queries /.well-known/search, and gets docs/artifacts/platform/limits/index.limits-cloudflare-artifacts-docs.md (score: 1.000) stating the 64 MiB per push limit. Cloudflare notes that once an agent discovers this endpoint, it keeps using it for the rest of the session.
AI Search interface and Search for Agents instance controls in the Cloudflare Dashboard (Source: blog.cloudflare.com)
A second test ran on a live domain, juliangoldie.com. Before enabling the feature, the site was already on Cloudflare, yet it appeared 0 out of 10 times in buyer queries on ChatGPT and Gemini and scored 20 out of 100 on a custom 6-point checklist (a third-party AEO score, not an official Cloudflare metric).
After flipping the toggle in Quick Actions, meta tags appeared in about a minute and the crawler indexed 229 pages. The checklist score jumped from 20 to 75 out of 100, with the remaining points tied to unenabled Markdown for Agents and llms.txt. Next, a Grok agent read the homepage tags in four steps, queried /.well-known/search, and answered a buyer question directly from the site index with a source link.
Access Control, Plan Limits, and Real Boundaries
The /.well-known/search endpoint is open without authentication, yet every request passes through your regular Cloudflare security stack: WAF, Bot Management, and AI Crawl Control (the dashboard where you track AI crawler visits and allow or block specific bots). Still, only index public pages—private sections and admin panels don't belong in open search. Another detail from the AI Search docs: the embedding model and data source are locked when the instance is created and can't be swapped on the fly.
The toggle itself is available on any plan, while AI Search billing begins on December 1, 2026. Every account gets a free monthly quota, with usage-based pricing above it (see the limits and pricing docs):
| Parameter | Workers Free | Workers Paid | Over Quota (from Dec 1, 2026) |
|---|---|---|---|
| Crawler scope | Up to 500 pages/day | No daily limit | — |
| Max files per instance | Up to 100,000 | Up to 1,000,000 (500,000 hybrid) | — |
| Monthly indexing | 5M tokens | 5M tokens | $0.75 / 1M (+$0.50 for OCR) |
| Index storage | 10 GB-month | 10 GB-month | $2.00 / GB-month |
| Semantic & hybrid queries | 1,000 / month | 1,000 / month | $0.75 / 1,000 queries |
| Full-text queries | 1,000 / month | 1,000 / month | $0.10 / 1,000 queries |
For a small blog, landing page, or knowledge base, the included quota covers startup usage at no extra cost. Large catalogs with frequent recrawls should estimate token and query volume ahead of December's billing start.
Keep one simple boundary in mind: search only returns what is actually written on your pages. If your site hides prices, timelines, and terms behind marketing fluff, unindexed widgets, or robots.txt blocks, an agent will hit /.well-known/search, get empty noise, and cite your competitor instead.


