Cloudflare Search for Agents: Features, Setup and Use Cases

Cloudflare Search for Agents Explained for Website Owners
Your best documentation page is useless to an AI agent that never finds it.
That is the problem Cloudflare Search for Agents takes on. An agent arrives with a question, searches your website, and gets relevant passages it can use. For a documentation site with hundreds of pages, that could be more useful than another chatbot widget on the homepage.
Cloudflare introduced the feature on November 25, 2026. It builds on AI Search, adds a search endpoint to your domain, and tells visiting agents where to find it.
The appeal is easy to understand. The details decide whether it works for your site: what gets indexed, how fresh the results are, what it costs, and whether agents actually use it.
This guide examines the published features and practical setup, without claiming a hands-on deployment. Updated November 30, 2026. Official sources are listed in References.
Quick Answer
Cloudflare Search for Agents lets AI agents search your website through an endpoint on your own domain. It returns relevant Markdown passages and source references. The agent uses its own model to produce the answer.
It is in beta on all plans, including Free, with AI Search pricing and limits. The best starting use cases are public documentation, help centers, and large content libraries.
My take: Worth a pilot if finding the right page is a real problem. Start with a small query set and check the returned evidence before expanding.
1. What Is Cloudflare Search for Agents?
Search for Agents gives your website a search interface designed for AI agents. Enabling it creates an AI Search instance, starts indexing, and exposes the path /.well-known/search on your domain.
An agent can ask a focused question instead of navigating your menus and guessing which page to open. That is especially useful when users describe a problem differently from the wording in your documentation.
Our RAG and vector databases collection explains the retrieval concepts underneath this feature. Cloudflare packages that work into a more direct setup for website owners.
2. Why a Good Website Can Still Be Hard for Agents
A website can look clear to a person and still be awkward for an agent to explore. The answer might be three navigation levels down, use an unexpected title, or live in a guide that the homepage never mentions.
The page exists, but the route is poor
Imagine asking about webhook signatures and getting a general API overview. The agent has found the right topic but the wrong evidence.
Search gives it another route. However, the page must first enter the index. A search endpoint cannot return a guide that the crawler never reached.
3. How Search for Agents Works
The process has three useful stages: collect the content, retrieve relevant passages, and let the visiting agent use them.
Crawl and index
Cloudflare's Discover crawler finds pages through sitemaps and links. It converts fetched content into Markdown, splits it into chunks, and indexes those chunks.
Search for evidence
The agent submits keywords or a natural-language question. Search returns matching material with source references and relevance information.
Build the answer
The agent decides whether the evidence is sufficient. It can answer, open a source for context, or search again. The endpoint itself does not generate the final response.
4. The Features That Matter First
The biggest benefit is having indexing, a domain endpoint, and discovery work together. The useful question is what that removes from your implementation work.

These features shorten setup. They do not remove the need to check coverage and relevance.
A successful response with an irrelevant passage is still a failed search for the reader who needed a precise answer.
5. How Agents Discover Your Search Endpoint
Cloudflare advertises the search endpoint in page metadata. A compatible agent visiting a page can learn that site search is available and how to call it.
When Markdown for Agents is also enabled, search discovery information can appear in Markdown front matter.
This is useful because a search API hidden in developer documentation is easy to miss. Putting discovery information on the pages gives visiting software a better opportunity to find it.
The catch: Discovery is an opportunity, not a guarantee. Different agents may interpret or use the metadata differently. Test with the agents your audience is likely to use.
6. Hybrid Search: Questions and Exact Error Codes
Hybrid search combines two approaches that solve different retrieval problems.
Vector search understands related meaning
A question about shipping an application might match a deployment guide even when the words differ.
Keyword search preserves specifics
An exact error code, product identifier, or configuration key may need literal term matching.
Cloudflare combines the rankings, with Reciprocal Rank Fusion as the default. That makes sense for technical content, where a query often contains both a broad description and one important identifier.
Test both kinds of question. A system that handles natural-language summaries but misses exact error strings may still frustrate developers.
7. A Realistic Example: Fixing a Webhook Error
Consider a developer whose payment webhook keeps failing verification. The site's agent search is useful only if it helps locate the actual requirements.
The agent searches for signature verification, receives a passage from the authentication guide, and checks the linked source. It can then compare the documented requirements with the developer's implementation.
What a useful result contains
- The relevant verification procedure.
- Any version or platform qualification.
- A source the agent can inspect before recommending a change.
If the result only says that webhooks support signatures, the job is unfinished.
Our context engineering guide explains why selecting the right evidence matters. Better retrieval should change what the agent can support, not merely add more text to its context.
8. How to Enable Search for Agents
Start with a domain onboarded to Cloudflare and content you intend to make publicly searchable.
Enable the feature
Open the domain's Overview page, find Quick Actions, and turn on Search for Agents. Review the suggested settings and pricing notice before confirming.
Let indexing finish
Cloudflare creates the AI Search instance and starts the crawl. Search is only as useful as the content already indexed.
Inspect the source coverage
Check that important pages appear. Pay particular attention to documentation hosted on another subdomain, excluded paths, and pages blocked by your access configuration.
Do not use a successful toggle as your launch check. Verify what the agent can actually retrieve.
9. What an Agent Sends and Receives
The endpoint accepts GET requests using a q query parameter. A simplified request looks like GET /.well-known/search?q=webhook-signature.
It also supports HTTP QUERY with the documented plain-text or JSON body formats. Check client and intermediary support before relying on a less familiar method.
The response contains relevant Markdown content, source references, and relevance information. It is retrieval output, so the agent may need more context before answering.
A useful test: Ask a question whose answer you know, then inspect the passage returned. Does the answer appear there, or does the agent have to fill in a missing step?
10. Search for Agents vs Markdown for Agents
Use Search for Agents to find evidence. Use Markdown for Agents to read a known page in a different format.

My pick: Use both when you need discovery and page reading. Check their eligibility separately; Search for Agents beta availability on all plans does not establish identical availability for Markdown conversion.
Neither feature makes the other redundant. A readable page is not necessarily easy to find, and a useful search passage may still need its surrounding page for context.
11. Search for Agents vs Ordinary Crawling
Search can reduce repeated navigation. Direct page access remains useful when an agent needs fuller context or wants to inspect the source.

Suppose your return policy changed yesterday. A search result and the current page may temporarily disagree. Test that case rather than assuming every layer updates together.
My recommendation is to keep source pages accessible and useful. Search should create a better route to the evidence, with page access available when the agent needs to check it.
12. Search for Agents vs MCP and Custom RAG
Search for Agents solves public website retrieval. MCP connects agents to capabilities, while custom RAG lets you design the wider retrieval-and-answer workflow.

The underlying AI Search instance can also expose separately enabled interfaces, including MCP. You do not need those additional endpoints simply to use the domain search interface.
Our Model Context Protocol guide explains that integration layer. The choice becomes important when a support agent needs both public guidance and private account information.
13. Cloudflare Search for Agents Pricing
Search for Agents follows AI Search pricing. The current pricing page schedules billing to begin December 1, 2026, so recheck the date if publishing this guide later.

The buying point: Budget for indexed content and traffic, not only the existence of an endpoint. If the consuming application generates answers, include its model costs separately.
A small help center and a high-traffic publisher may use the same feature very differently.
14. Free Plan: The Limit Easy to Miss
Available on Free does not mean unlimited crawling. Workers Free accounts have a 500-page daily crawl limit.
That matters if a settings screen mentions a 100,000-page crawl limit. Multiple limits apply together; a large crawl configuration does not mean a free account immediately indexes that many pages.
Start with the important pages
Before evaluating a large archive, check whether the sources behind your test questions have actually been indexed. Otherwise, you may blame relevance for a coverage problem.
Included usage is account-wide, so consider other AI Search instances when planning a trial.
15. Freshness: Can Agents See Yesterday's Update?
The documented defaults include a 24-hour sync interval and a similarity cache with a 48-hour duration. Those settings deserve attention on sites where prices, policies, or product behavior change frequently.
They should not be added together into a guaranteed freshness delay. Instead, test what happens when you edit a known page and repeat the relevant queries.
Keep one change-sensitive test
Choose a page whose current wording is easy to verify. Compare the retrieved passage with the source after an edit.
This is particularly useful during a domain migration, where redirects, canonical URLs, and cached results may reflect different stages of the move.
16. Use Case: Developer Documentation
Developer documentation is a strong first use case because the questions often have checkable answers.
Start with installation, authentication, migration, and troubleshooting questions. Include both the exact error code and a plain-language description of the same problem.
The goal is to retrieve the procedure that solves the problem, including the version where it applies. An older migration page can be topically relevant and still recommend the wrong step for the current SDK.
Our guide to building agents that complete tasks explains what happens after retrieval: use the evidence, handle errors, and verify the final result.
17. Use Case: Publishers and Blog Archives
A publisher's archive often contains several good answers to yesterday's question. The agent needs to find the answer that fits today's request.
For an AI-tools blog, that could mean distinguishing a current pricing comparison from a review written before the plans changed. Precise titles, visible update dates, and clean source references help the agent assess what it retrieves.
Try a question that crosses articles
Ask which guide explains a feature and which review covers its limitations. Inspect whether the results supply both sources.
That is a more useful evaluation than checking whether the search can repeat the title of your newest post.
18. Use Case: Help Centers and Product Guides
For a help center, focused retrieval can connect a customer's question with the published rule that answers it. Product guides add another useful test: exact compatibility requirements.

Keep customer-specific records separate. A public cancellation page may belong in the index; an individual's billing history needs an authorized account-data path.
Treat these as example workflows to test, not promises that search alone can complete the customer's request.
19. Five Queries to Test Before Launch
Build a small test set before changing retrieval settings. You need questions that reveal different failure modes.
Start with these
- One question with a known answer.
- One exact identifier or error string.
- One paraphrased version of a familiar question.
- One question about recently changed content.
- One question the site cannot answer.
Check the source passage before judging the generated response. If retrieval misses the evidence, a fluent answer can hide the failure.
Our Ragas evaluation walkthrough introduces that distinction. Check current library instructions before reusing its older code examples.
20. Common Mistakes and Security Checks
The first mistake is tuning search before checking coverage. The second is treating retrieved text as instructions rather than evidence.
Check coverage first
Cloudflare's Discover crawler follows sitemaps and links within the configured scope. Subdomains are off by default, crawl depth is limited, and robots or access rules can prevent indexing.
Keep the agent's authority separate
A passage returned from search should not grant permission to run commands or disclose unrelated data. Our AI coding agent security guide explains that boundary.
Only index content you intend to make publicly searchable. Test excluded paths and inspect indexing errors before expanding the rollout.
21. Will Search for Agents Improve SEO or AI Citations?
It can make your content easier for a compatible agent to retrieve. Cloudflare's launch documentation does not establish a Google ranking boost, a higher click-through rate, or guaranteed AI citations.
For a publisher, the useful question is whether agents find the right source and use it accurately. Track that behavior where your analytics and test setup allow it.
In a larger research system, retrieval and source-checking can be separate steps. Our LangGraph multi-agent guide explains how to structure those responsibilities when the complexity is justified.
Better access is valuable. It still needs good content and a reason for readers to visit the original page.
22. Is Cloudflare Search for Agents Worth Enabling?
Yes, worth evaluating if you have a substantial public knowledge collection and already use Cloudflare. Documentation, help centers, and archives are the clearest starting points.
For a tiny website or private account-data application, the case is less obvious. Choose the feature because it solves a retrieval problem you can demonstrate.
My recommended first move
Pick one content collection and the five queries above. Confirm indexing, inspect the passages, test freshness, and monitor usage. Keep the feature when those checks show useful evidence reaching the agent at an acceptable cost.
That gives you a concrete result to improve: the right source found, read, and used correctly.
Frequently Asked Questions
What is Cloudflare Search for Agents?
It is a feature that exposes indexed website search through a discoverable endpoint on your own domain. Agents can retrieve relevant Markdown content and use it with their own models.
Does Search for Agents generate AI answers?
No. The domain search endpoint returns retrieved content rather than a generated answer. Other AI Search interfaces can have different capabilities, but they should not be confused with this endpoint.
Is Search for Agents free?
It is available in beta on all plans, including Free, but usage follows AI Search pricing and limits. Included allowances and crawl restrictions apply; it is not unlimited free retrieval.
How is it different from Markdown for Agents?
Search for Agents finds relevant indexed passages across a site. Markdown for Agents converts a requested HTML page into Markdown. They can work together for discovery and reading.
Do I need a sitemap?
Discover can find pages through links as well as sitemaps, so a sitemap is not required. Coverage still depends on crawl scope, depth, limits, access rules, and successful indexing.
Does it require an MCP server?
The domain search endpoint does not require you to enable a separate public MCP endpoint. The underlying AI Search instance can support other integrations when you choose to configure them.
Will it improve Google rankings or AI citations?
No ranking or citation improvement is guaranteed. It supplies a retrieval interface that agents can discover and use. Evaluate actual source retrieval and visibility outcomes rather than assuming an SEO benefit.
Can I use it for private customer information?
The documented setup is for content you intend to make publicly searchable. Private or user-specific knowledge requires an appropriately designed authentication and authorization architecture; do not expose it through public indexing by assumption.
Recommended Blogs
- How to Build an AI Agent That Actually Completes Tasks
- Forward Deployed Engineer Skills You Need in 2026
- How to Use LangGraph for Multi-Agent Systems
- What Is Context Engineering: The Complete Guide
- AI Coding Agent Security: The Risk of Too Much Access
- What Is Model Context Protocol: The Complete Guide
- Ragas: Evaluation Framework for RAG Systems
Resources & Community
Join our community of 70,000+ AI enthusiasts and learn to build powerful AI applications. Build Fast with AI helps developers, creators and teams understand and implement practical AI.
Agentic AI Launchpad 2026
A structured six-week cohort program focused on building and deploying real-world agentic AI systems, with live sessions, mentorship, project reviews and a builder community.
Explore the program: Agentic AI Launchpad 2026
Free AI Resources
Access free learning resources, workshops and practical AI material.
References
- Cloudflare: Introducing Search for Agents
- Cloudflare: Search for Agents setup and defaults
- Cloudflare: November 25 launch changelog
- Cloudflare AI Search: Website data sources
- Cloudflare AI Search: Discover and parse types
- Cloudflare AI Search: Search modes
- Cloudflare AI Search: Hybrid retrieval
- Cloudflare: Markdown for Agents
- Cloudflare AI Search: Configuration options


