Search for Agents is a Cloudflare feature, announced on November 25, 2026, that gives your website a search endpoint for AI agents at /.well-known/search. Cloudflare also adds tags to your pages that tell agents where the endpoint is. An agent sends a question to the endpoint and receives matching passages from your pages in Markdown, each with a relevance score. Cloudflare crawls your public pages and builds the search index for you.
Momentic turned it on for momenticmarketing.com the week Cloudflare announced it, as part of our agent experience optimization (AXO) work. On our zone, the API setting turned on the tags but did not create the search index, and turning the dashboard switch off and on again created it.
Last checked: November 27, 2026. Our endpoint first returned search results at 00:01 UTC that day, and the responses quoted below come from it.
Terms used on this page
An AI agent is software that browses websites and completes tasks for a person, such as comparing prices or requesting a call.
AXO is agent experience optimization: we make your website easy for AI agents to read and use.
AI Search is Cloudflare's service that crawls content, stores it in a search index and answers search requests against that index. An AI Search instance is one index in your Cloudflare account, with its own data source and settings.
A chunk is a section of a page that AI Search stores and returns as one search result. For Search for Agents, AI Search splits pages into chunks of 1,024 tokens by default.
Hybrid search runs two searches for each request. One matches by meaning (vector search) and one matches exact words (keyword search), and AI Search merges the two result lists into one ranking.
Reranking is an optional second step. A separate model reorders the retrieved results by how relevant each one is to the query.
A zone is a domain and its subdomains as Cloudflare manages them, with one set of settings.
What Search for Agents does
Cloudflare's documentation says that turning the feature on creates an AI Search instance named search-for-agents-<ZONE_ID> in the default namespace of your account. The instance crawls https://<YOUR_DOMAIN> with the Discover parse type. Discover finds pages through your sitemaps and through the links on your pages, so the feature does not require a sitemap. Cloudflare then answers search requests at https://<YOUR_DOMAIN>/.well-known/search.
Cloudflare adds four meta tags to the head of HTML responses and writes the instructions text, which matches the example in Cloudflare's documentation word for word. These are the tags on the momenticmarketing.com homepage on November 26, 2026:
<meta name="agent:instructions" content="Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://momenticmarketing.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">Markdown for Agents is a separate Cloudflare feature that converts an HTML page to Markdown when a client asks for text/markdown. Cloudflare offers it on the Pro, Business and Enterprise plans. When both features are on, Cloudflare adds the same four values as YAML front matter under an agent: key:
---
agent:
instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
endpoint: "https://momenticmarketing.com/.well-known/search?q={query}"
method: "GET"
documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---An agent can send a GET request with the search text in the q parameter of the URL. The endpoint also accepts the HTTP QUERY method, which sends the search text in the request body. The IETF published QUERY as RFC 10008 in June 2026. A QUERY request body can be plain text or a JSON object with a q field:
curl --get "https://example.com/.well-known/search" \
--data-urlencode "q=How do I verify webhook signatures?"
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: text/plain" \
--data "How do I verify webhook signatures?"
curl -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: application/json" \
--data '{"q":"How do I verify webhook signatures?"}'Cloudflare's documentation says the response contains "retrieved content in Markdown, including source references and relevance scores." The endpoint returns passages only, and the agent writes the answer for the person with its own model.
Our endpoint returned this response to "technical seo audit" on November 27, 2026. We cut it to two results and replaced the removed passage text with ... lines:
# Search results for: "technical seo audit"
## https://momenticmarketing.com/services/technical-seo (score: 1.000)
## Advanced technical SEO experience
Momentic offers advanced technical SEO capabilities to help your website get efficiently crawled, rendered, indexed, and ranked.
...
---
## https://momenticmarketing.com/capabilities/seo (score: 0.912)
---
description: Organic search. Research, audits, technical SEO, content strategy, migrations, information architecture. The full discipline.
title: Premium & effective SEO services from Momentic
---
...The response had the content type text/markdown; charset=utf-8 and was 27,794 bytes long. The body starts with a # Search results for: line that repeats the query. Each result is a ## heading with the full page URL and a score to three decimals, followed by the Markdown of one chunk, and a --- line separates one result from the next. Our response had 10 results, the default maximum, with scores from 1.000 down to 0.492. The same URL can appear more than once, because each result is one chunk: /services/technical-seo appeared three times. A chunk can start with the page's description and title as front matter, as the second result does. The response also included an Accept-Query: text/plain, application/json header, which lists the body types the endpoint accepts for QUERY requests.
Why an agent would use the endpoint
An agent that needs one fact from your website, such as a price or a return policy, can fetch your pages one at a time and read each one. The agent:instructions tag asks agents to use the search endpoint "instead of crawling individual pages." With the endpoint, the agent sends one request and receives up to 10 matching passages from your pages, which is the default maximum.
Cloudflare says it turned the feature on for its own developer documentation before the announcement and found that agents "do a good job of discovering the search API and using it during their tasks." We do not yet have data on how often agents use the endpoint on ours. We also have no evidence that the feature changes rankings, AI answers or visits.
How to turn on Search for Agents
Your domain must be onboarded to your Cloudflare account. Cloudflare's documentation also says: "Only index content that you intend to make publicly searchable." Before you turn it on, decide which pages to exclude, check any staging subdomains on the zone and add a firewall exception for the crawler, as described under "What to decide before you turn it on."
We recommend the dashboard, because the dashboard switch is the route that created our index:
- In the Cloudflare dashboard, select your domain and open Overview.
- Under Quick Actions, turn on Search for Agents.
- Review the default settings and the pricing notice, then confirm.
- Open AI > AI Search and check that the
defaultnamespace lists an instance namedsearch-for-agents-<ZONE_ID>. - Wait for the crawl and indexing to finish before you test searches.
Cloudflare's announcement says the feature can also be turned on through the API. The Search for Agents documentation page does not show the call. We read and changed the zone setting search_for_agents with these two calls, using an API token that could edit zone settings and had no AI Search permission:
curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/settings/search_for_agents" \
--header "Authorization: Bearer {api_token}"
# before: {"id":"search_for_agents","value":"off","editable":true}
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/{zone_id}/settings/search_for_agents" \
--header "Authorization: Bearer {api_token}" \
--header "Content-Type: application/json" \
--data '{"value":"on"}'What happened when we used the API alone
We sent the PATCH request on November 26, 2026, at 14:08 UTC. Within 20 seconds, the HTML pages we checked had the four meta tags. A request for /about with Accept: text/markdown returned the same four values as front matter.
GET and QUERY requests to /.well-known/search returned HTTP 503 with the plain text "Search is being configured. Please try again later." The same 503 came back on each check until we used the dashboard switch, and during that time AI > AI Search showed no instances in the default namespace.
We fixed it in the dashboard at 23:42 UTC. On the zone's Overview page, under Quick Actions, we turned the Search for Agents switch off and then on again. Within seconds, the default namespace listed search-for-agents-<ZONE_ID> with the status "Indexing" and the data source https://momenticmarketing.com. Its job log showed "Initiating Browser Run crawl job", "Initialized keyword search index" and "Starting indexing data source." The endpoint's 503 text changed to "Search index is being built. Please try again later.", and the response included a Retry-After: 3600 header.
After we saved our path filters, AI Search ran a second crawl. The instance's dashboard reported that it took 13 minutes 16 seconds and saw 1,144 URLs, indexed 234, skipped 1 and recorded 13 errors, with 1,703 vectors in the index. All 13 errors were "http 4xx" responses from internal links to pages that no longer exist, so the Items tab lists those broken internal links. The endpoint returned the "being built" 503 until the job finished, and it returned HTTP 200 about two minutes after the job ended.
We do not know whether the token's missing AI Search permission caused the API route to leave the instance uncreated. If you turn the feature on through the API, check two things afterward: the text of the 503 response, and whether AI > AI Search lists the instance. "Search is being configured" together with an empty namespace means Cloudflare has not created an index.
How to check the tags, the front matter and the endpoint
To check the meta tags, request a page on your domain in place of example.com and look for four lines of output:
curl -s https://example.com/ | grep -o '<meta name="agent:[^>]*>'To check the Markdown front matter, request a page as Markdown. The output starts with an agent: block when Markdown for Agents is on:
curl -s -H "Accept: text/markdown" https://example.com/about | head -8To check the endpoint with GET and with QUERY:
curl -s -i --get "https://example.com/.well-known/search" \
--data-urlencode "q=technical seo audit"
curl -s -i -X QUERY "https://example.com/.well-known/search" \
--header "Content-Type: text/plain" \
--data "technical seo audit"An HTTP 200 response with Markdown results means search works. A request without a q parameter returns HTTP 400 with the text "Missing query parameter: ?q=". A 503 with "Search is being configured" means no index exists yet. On our zone, turning the dashboard switch off and on again created the index. A 503 with "Search index is being built" means the index exists and the crawl is still running.
To follow the crawl, open your instance in AI > AI Search. The Jobs tab shows the status and history of each sync job. The Items tab lists the pages AI Search parsed from your website. When a path filter excludes a page, the job log records it as Skipped by rule: {pattern}.
Settings we kept and changed
The defaults in our instance's Settings tab matched Cloudflare's documentation. Cloudflare fixes the embedding model and the data source when it creates the instance. Its documentation lists path filtering, chunking, reranking, query rewriting and similarity caching as settings you can change later.
| Setting | Default | What we set | Why |
|---|---|---|---|
| Path exclude rules | None | **/rare-squishies*, **/eggs/**, **/thank-you*, **/momentic-seo-input-brief*, then **/*.js, **/research-lab/**, **/.well-known/** and **/not-live/** after the first searches | To keep a game page and its files, form confirmation pages and a client intake form out of search results. The second group removes script files, test pages, JSON files and archived pages that the first index returned |
| Reranking | Off | On, with the default model @cf/baai/bge-reranker-base | To order the passages by relevance to the query before the endpoint returns them |
| Content selectors | None, so AI Search parses the whole page | None | Some of our templates have no main element, and a main-only selector could drop those pages |
| Parsing mode | "Static site" | "Static site" | Our Webflow pages include their text in the HTML response |
| Include subdomains | Off | Off | Only the main domain should be searchable |
| Query rewriting | Off | Off | Cloudflare documents it for follow-up messages in a conversation, and each request to the endpoint sends one query |
| Embedding model | @cf/qwen/qwen3-embedding-0.6b, 1,024 dimensions | Default | Cloudflare fixes it at creation |
We kept these other defaults until we have more than one day of results to compare: page limit 100,000, crawl depth 5, crawl source All, maximum cache age 1 day, parse type Discover, hybrid search with keyword match mode AND, the Standard tokenizer with Porter stemming, Reciprocal Rank Fusion to merge the two result lists, chunks of 1,024 tokens with 10% overlap, a match threshold of 0.4, a maximum of 10 results, similarity caching on with Strong strictness and a 48-hour duration, and a sync interval of 24 hours.
Each of our patterns starts with ** because path patterns match the full URL, including the scheme and hostname. In Cloudflare's example, /blog/** does not match https://www.example.com/blog/post, and **/blog/** does. Matching is case-sensitive, and an exclude rule takes precedence over an include rule. Cloudflare allows up to 10 include patterns and 10 exclude patterns. The dashboard warned us that changing path filters triggers a full re-index.
What to decide before you turn it on
Pages that should not be searchable
List the pages you do not want returned, such as form confirmation pages, intake forms, gated content and test pages, and add exclude rules for them. Then run a few searches after the first crawl. The crawler also indexed files it found linked from our pages that are not pages, such as /webmcp.js, JSON files under /.well-known/ and the test pages of a crawler study under /research-lab/. Those files appeared in results for unrelated queries: a search for "How much does an AXO project cost?" returned /webmcp.js and four /research-lab/ test pages among its 10 results. We added exclude rules for them the same day: **/*.js, **/research-lab/**, **/.well-known/** and **/not-live/**. The endpoint kept answering from the existing index while AI Search re-indexed. A Disallow rule in robots.txt also keeps a page out of the index: the AI Search crawler identifies itself as Cloudflare-AI-Search and records disallowed pages with the error code blocked_by_robots_txt.
Staging and other subdomains
The setting applies to the whole zone. On our zone, Cloudflare added the meta tags to a staging subdomain as well, and those tags gave the staging subdomain's own /.well-known/search as the endpoint. The index includes only the main domain, because the default leaves subdomains out. Once our index was built, the staging subdomain's /.well-known/search also returned HTTP 200, and its results were pages on the main domain.
On November 26, 2026, the Configuration Rules editor for our zone offered "Markdown for Agents - BETA" as a setting that a rule can limit to a hostname or path. The same list offered no Search for Agents setting, and we found no way there to turn the tags off for one subdomain while leaving them on for the main domain. If you have a staging subdomain on the same zone, check this in your own Configuration Rules list before you turn the feature on.
Bot and firewall rules
Cloudflare applies your Bot Management, WAF (web application firewall) and Turnstile rules to the AI Search crawler. If those rules block bots, add an exception for the crawler. Cloudflare's documentation gives the steps: create a custom rule in Security rules where the field Bot Detection ID equals 122933950, set the action to Skip, and place the rule first.
Content Signals is a robots.txt line that states which uses of your content you allow. Cloudflare's crawler declares the search and ai-input crawl purposes, so a Content Signals line that sets either purpose to no rejects the crawl. Our robots.txt sets search=yes, ai-input=yes, ai-train=yes.
Requests that agents send to the endpoint also go through your zone's WAF and AI Crawl Control settings. A rule that blocks an AI agent's requests to your pages may block its search requests too.
Cost and plan limits
Cloudflare's documentation says Search for Agents is in beta on all plans and that its usage follows AI Search pricing and plan limits. AI Search billing begins on December 1, 2026. Each account receives 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries each month. Beyond those amounts, Cloudflare lists these rates:
- Base ingestion: $0.75 per million tokens
- Storage: $2.00 per GB-month
- Semantic, vector and hybrid queries: $0.75 per 1,000 queries
- Full-text queries: $0.10 per 1,000 queries
AI Search limits follow your account's Workers plan, Workers Free or Workers Paid. On Workers Free, AI Search crawls at most 500 pages per day and stores at most 100,000 files per instance. On Workers Paid, the daily crawl has no limit, and an instance that uses hybrid search stores at most 500,000 files. Cloudflare suggests narrower path filters to reduce storage.
Workers on the same zone
Cloudflare also added the meta tags to HTML that our own Workers serve on the zone, such as the /agent-tools page. A Worker route for /* on our zone did not intercept /.well-known/search, and Cloudflare answered that path itself. We also found the tags on one of our noindex pages, so a noindex tag does not remove them. Cloudflare's documentation does not say whether AI Search skips noindex pages, so we use path exclude rules for pages we do not want returned.
Content selectors and pages without a main element
A content selector limits indexing to the part of a page that a CSS selector matches, such as the main element. If the selector matches nothing on a page, AI Search produces empty Markdown and marks the page as errored. Check that each of your templates contains the element before you add a selector for it. Without selectors, our chunks included navigation links, image Markdown and footer text along with the page text, and an agent reads those tokens with each result. On templates that put the navigation and footer outside a main element, a selector for main leaves that text out of the chunks.
What to expect for AXO
On the day you turn it on
On our zone, the meta tags and the Markdown front matter appeared within 20 seconds of turning the feature on. The endpoint returns HTTP 503 until AI Search finishes the crawl and indexing. After the dashboard switch created our instance at 23:42 UTC, our endpoint still returned the 503 at 23:50 UTC and returned search results at 00:01 UTC.
What our first searches returned
On the first day, specific topic queries returned the matching page first. "technical seo audit" returned our technical SEO service page with a score of 1.000. "AI chatbot market share" returned our monthly AI chatbot market share report first. "How much does an AXO project cost?" returned our AXO page first.
Two questions about Momentic itself did not return the page that answers them first. "how do I contact Momentic" returned three blog posts as its top results, not the contact page. "how much does Momentic cost" returned our website development service page first and no pricing answer. In our reading, the answer text on the contact and pricing pages is short, and AI Search ranked longer pages above them. These results come from one day of searches against 234 indexed items, with the default ranking settings and reranking turned on.
What you can measure
You can see the crawl in the Jobs and Items tabs: which pages AI Search indexed, which pages a rule skipped and which pages failed. We plan to count requests to /.well-known/search in our zone's traffic analytics, apart from requests to other pages.
Cloudflare's Search for Agents documentation does not describe a report of the queries that agents send or of the pages the endpoint returns for each query. Cloudflare's announcement shows a chart of Search for Agents requests to its own documentation, without saying which report it came from. We will report which Cloudflare view shows query text and returned pages when we update this guide.
What it does not do
Search for Agents is in beta, and it does not make any agent use the endpoint. An agent has to read the meta tags or the front matter and choose to send a search, and that depends on how each agent is built.
AI Search pauses the scheduled sync jobs of an instance that receives no search request for 31 days, and after that it does not update the index when your pages change. The instance controls include a Resume indexing action for jobs paused this way.
Where it fits with other agent files
- llms.txt is a Markdown file at the root of a website that summarizes the website and links its main pages for language models.
- Markdown for Agents returns one page as Markdown when a client asks for
text/markdown. - Search for Agents returns the passages from across the website that match one query.
- An MCP server offers tools that an AI client connects to and calls, such as the page audit tool on our server.
- WebMCP tools are functions that a web page registers in the browser, so an agent that is using the page can call them, such as our
request_intro_calltool for requesting a call.
Our website had llms.txt and the MCP server live by May 28, 2026, Content Signals in robots.txt and an auth.md file by July 29, 2026, and WebMCP tools in October 2026. From November 13 to 25, 2026 (13 days), our MCP server answered 13,804 requests, and our agent files received 24,151 requests, including 4,684 for /llms.txt. Of those 24,151 requests, 1,285 came from crawlers and agents that identify as Anthropic, Google, Meta, OpenAI, Perplexity or Microsoft. These are request counts, not visitor counts, and they include our own team's requests.
What we will report back
We will update this guide with the number of search requests, the queries agents sent and the pages the endpoint returned, after the endpoint's first 30 days of answering.
Questions about Search for Agents
Does Search for Agents work on the Cloudflare Free plan?
Yes. Cloudflare offers it in beta on all plans. On the Workers Free plan, AI Search crawls at most 500 pages per day, and the Markdown front matter needs Markdown for Agents, which requires a Pro, Business or Enterprise plan.
Does Search for Agents need a sitemap?
No. The Discover parse type starts at your domain and follows the links on your pages. By default, it also reads the sitemaps you publish.
Can I keep pages out of the search results?
Yes. Add path exclude rules in the instance's Settings tab, starting each pattern with ** because patterns match the full URL. A robots.txt Disallow rule also keeps a page out of the index.
Does Search for Agents change what Google or ChatGPT show?
Cloudflare's documentation makes no such claim, and we have no data that shows a change in what Google or ChatGPT show about Momentic.
How do I turn Search for Agents off?
Turn off the Search for Agents switch under Quick Actions on your zone's Overview page. We have not checked whether turning it off deletes the AI Search instance, so look in AI > AI Search afterward.
Does it work with Webflow or another host behind Cloudflare?
Cloudflare's documentation requires the domain to be onboarded to your Cloudflare account. Our Webflow website is proxied through Cloudflare, and the tags appeared on our Webflow pages without any change in Webflow.
Sources
- Cloudflare blog, "Introducing Search for Agents," November 25, 2026: https://blog.cloudflare.com/search-for-agents/ (opens in a new tab)
- Cloudflare docs, Search for Agents: https://developers.cloudflare.com/ai-search/how-to/search-for-agents/ (opens in a new tab)
- Cloudflare docs, Website data source: https://developers.cloudflare.com/ai-search/configuration/data-source/website/ (opens in a new tab)
- Cloudflare docs, Parse types: https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/ (opens in a new tab)
- Cloudflare docs, AI Search configuration: https://developers.cloudflare.com/ai-search/configuration/ (opens in a new tab)
- Cloudflare docs, Path filtering: https://developers.cloudflare.com/ai-search/configuration/indexing/path-filtering/ (opens in a new tab)
- Cloudflare docs, Content selectors: https://developers.cloudflare.com/ai-search/configuration/data-source/website/content-selectors/ (opens in a new tab)
- Cloudflare docs, Reranking: https://developers.cloudflare.com/ai-search/configuration/retrieval/reranking/ (opens in a new tab)
- Cloudflare docs, Query rewriting: https://developers.cloudflare.com/ai-search/configuration/retrieval/query-rewriting/ (opens in a new tab)
- Cloudflare docs, Similarity cache: https://developers.cloudflare.com/ai-search/configuration/retrieval/cache/ (opens in a new tab)
- Cloudflare docs, Syncing: https://developers.cloudflare.com/ai-search/configuration/indexing/syncing/ (opens in a new tab)
- Cloudflare docs, AI Search limits and pricing: https://developers.cloudflare.com/ai-search/platform/limits-pricing/ (opens in a new tab)
- Cloudflare docs, Markdown for Agents: https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/ (opens in a new tab)
Momentic can set up Search for Agents and the other agent files on this page for your website: AXO.





.png)

