Cloudflare Now Lets Sites Add Search for Agents: Guide
TL;DR – Quick Summary
- Cloudflare now lets website owners expose site content to AI agents through a single zone-level toggle that automatically creates a hosted, indexed search endpoint.
- Enabling the toggle creates a Cloudflare AI Search instance that crawls the site and indexes it without requiring sitemap submission or code changes.
- Once active, the site’s
.well-known/searchendpoint returns relevant passages in Markdown, with source URLs, queryable by any compliant AI agent. - Plan coverage, crawl limits, and pricing are managed through the Cloudflare dashboard and AI Search documentation.
Cloudflare now lets website owners add AI-agent-readable search to any zone through a single dashboard toggle, with no custom crawler, search API, or indexing pipeline required. The feature is called Search for Agents, and it builds on Cloudflare AI Search, a hosted service that crawls a zone’s pages, builds a full-text index, and exposes that index at a standardized .well-known/search endpoint. Any AI agent that follows this discovery convention can query the site’s content and receive plain Markdown passages with source URLs in return. The result is a site that is natively queryable by agents, without direct integration work between the site owner and the agent developer.
The context worth carrying here is that AI agents have started appearing as retrieval clients in some automated pipelines alongside human visitors, and programmatic access is a factor that some content teams are beginning to account for when thinking about how their pages get accessed and processed. A site that cannot be searched programmatically is, from an agent’s perspective, opaque. Search for Agents is a direct answer to that gap. For teams already running infrastructure through Cloudflare, enabling it costs a few seconds in the dashboard and nothing in engineering time.
Quick Takeaways
- Cloudflare now lets owners skip the crawl-and-index setup that traditionally requires a third-party search service or custom build.
- The
.well-known/searchendpoint follows an emerging web-discovery convention, making it findable by compliant AI agents without bespoke integration. - Results return in Markdown with source URLs, cutting the parsing overhead agent runtimes would otherwise face with raw HTML.
- The index builds automatically after the toggle is flipped; no sitemap submission or code deployment is needed.
What Cloudflare Now Lets Website Owners Do with Search for Agents
Before this feature, exposing site content to AI agents required selecting a third-party search service, configuring a crawler, managing an index, and building a custom retrieval endpoint. With Search for Agents, Cloudflare absorbs the crawl, index, and query layers at the zone level, removing the need for any external search provider or custom deployment from the site owner’s side.
Cloudflare AI Search is the hosted service layer behind the feature. It manages crawl scheduling, index refreshes, and query processing at the zone level, with no self-managed infrastructure required. The dashboard’s AI Search section surfaces instance status, letting site owners confirm coverage and identify pages excluded by crawler settings.
What sets this apart from a traditional site search widget is the audience and the output format. A search widget serves human visitors and renders HTML on a page. This endpoint serves AI agents and returns Markdown. Most agent frameworks process Markdown directly within the context window, with no HTML stripping or parsing step in between. For retrieval-augmented generation workflows, that means the site’s content can feed into an agent’s context in a single tool call.
Automatic Crawling and Index Creation
The crawl starts immediately after the toggle is enabled. Cloudflare’s crawler visits pages, respects standard robots.txt directives and zone-level crawler controls, and indexes discoverable content. Site owners do not submit a sitemap manually. The dashboard’s AI Search section shows crawl progress and indexed page count, giving a clear view of coverage as the initial index builds. The endpoint stays offline until the first crawl completes, so a 404 at that path during the initial build phase is expected.
How Cloudflare Now Lets You Enable Search with One Toggle
Enabling Search for Agents takes a few seconds: open the target zone in the Cloudflare dashboard, locate the AI section, and switch the Search for Agents toggle on. No code changes, DNS edits, or external service accounts are required. The dashboard’s AI Search section shows current instance status.
What Cloudflare Now Lets You Track During the First Crawl
Initial index build time depends on the site’s page count. A small site may be ready within minutes; a large site with many hundreds of pages can take considerably longer. The AI Search status panel in the dashboard tracks crawl progress and confirms when the endpoint is live. Checking that panel before sending the first test query saves the confusion of hitting an endpoint that is not yet provisioned.
Verifying Your .well-known/search Endpoint
Once the crawl completes, the endpoint is verifiable at https://yourdomain.com/.well-known/search. A direct browser request or a curl call with a query parameter should return a valid response. For a search query, the response will include Markdown passages and source URLs. A 404 at this path means the index has not finished building, or the toggle needs re-confirmation in the dashboard. The Cloudflare developer documentation covers endpoint response schemas in detail.
How AI Agents Discover and Query Sites
AI agents locate a site’s search capability through the .well-known path, following an emerging convention for agent-facing service discovery. Agents send a query parameter to the endpoint and receive Markdown passages with source URLs, structured for direct use in a retrieval-augmented generation workflow without further parsing.
The well-known URI namespace has long served web service discovery, from ACME protocol challenges to security contact files. The convention is formalized in IETF RFC 8615, which defines how .well-known paths should be structured and interpreted. The .well-known/search path is a newer addition to this ecosystem, proposed to give AI agents a consistent location to check for a queryable index on any domain.
What Cloudflare Now Lets Agents Retrieve from the Search Endpoint
A query to the endpoint returns the most relevant passages from the site’s index, formatted in Markdown, alongside the source URLs of the pages they came from. Agent developers can register this endpoint as a named tool in their agent’s configuration. The consistent output format makes the tool description simple to write, and the response is predictable across queries. Sites that enable Search for Agents become natively queryable resources in any compliant agent toolchain, without requiring any direct relationship between the site owner and the agent developer.
What Each Plan Can Access: Availability and Pricing
Search for Agents is built on Cloudflare AI Search, which has its own plan tiers and usage limits. The feature is accessible through the Cloudflare dashboard, and limits on crawl volume and query throughput apply at the account level. Current pricing and plan eligibility details are in the AI Search documentation, since these change as the product evolves through general availability.
Plan Coverage: What Cloudflare Now Lets Free Zones Use
Cloudflare AI Search is available across multiple plan tiers, including zones on the free plan, though crawl frequency and query volume caps vary by plan. The Cloudflare developer documentation and the Cloudflare blog carry current eligibility details. For sites with large content libraries, reviewing the AI Search limits in the dashboard before enabling the toggle helps avoid quota surprises mid-crawl.
| Scenario | Without Search for Agents | With Search for Agents Enabled |
|---|---|---|
| Agent discovers site search | No standard endpoint; agent must scrape or use a site-specific API | .well-known/search discoverable by any compliant agent |
| Index management | Owner configures third-party search service or custom crawler | Cloudflare crawls and indexes automatically |
| Result format for agents | Varies by implementation; often HTML requiring further parsing | Markdown passages with source URLs |
| Setup effort | Developer hours for pipeline, API, and ongoing maintenance | Single toggle in the zone dashboard |
| Hosting dependency | External search provider or self-hosted infrastructure | Hosted within Cloudflare infrastructure on the zone’s plan |
Benefits for Site Owners
Search for Agents gives site owners a path to AI agent discoverability without maintaining separate infrastructure. The main trade-off is reliance on Cloudflare’s platform for the entire crawl, index, and query stack. For zones already on Cloudflare, the value-to-effort ratio is high since no additional providers are introduced.
Why Cloudflare Now Lets Owners Skip Custom Infrastructure
The traditional agent-search route carries not just upfront integration work but ongoing overhead: managing API keys, monitoring index freshness, and debugging edge cases when retrieval behaves unexpectedly.
The main consideration before enabling it is content scope. Everything the crawler indexes becomes queryable. Standard robots.txt directives or Cloudflare’s zone-level crawler controls can exclude sections that should not be surfaced to agents, such as draft content, member-only areas, or sensitive internal pages. Reviewing crawl scope before enabling takes a few minutes and avoids a more time-consuming cleanup after the fact.
Practical Ways to Use Agent Search
Beginner: First Steps After Enabling Search for Agents
Sign in to the Cloudflare dashboard, pick the zone you want to make agent-searchable, and flip on Search for Agents in the AI section. Once the status panel shows the index is active, visit https://yourdomain.com/.well-known/search in a browser to confirm the endpoint responds with a valid result. This confirms the feature is live before any agent testing begins.
Intermediate
Send a test query using curl: curl "https://yourdomain.com/.well-known/search?q=your+search+term" and inspect the Markdown response. Review the AI Search instance panel in the dashboard to check which pages are indexed. If important content is missing, confirm that robots.txt and Cloudflare crawler settings are not blocking those paths, and re-check coverage a few hours after making corrections.
Advanced
Register the .well-known/search endpoint as a named tool in your agent’s configuration, specifying the URL template and the expected Markdown output format in the tool description. Test retrieval across a range of query types and monitor query throughput against the account’s AI Search limits in the dashboard. For large sites, use Cloudflare’s crawler controls to prioritize high-value content paths if crawl budget is constrained under the current plan tier.
Conclusion
Search for Agents changes the effort calculation for making a site useful to AI-driven clients. For site owners already on Cloudflare, the path from opaque to agent-queryable is now a few minutes in the dashboard rather than an engineering sprint. Reviewing the AI Search product documentation and the latest Cloudflare blog coverage before enabling covers current plan limits and any pricing details before the first crawl starts.
Frequently Asked Questions
- What does Cloudflare Search for Agents do?
- Search for Agents creates a Cloudflare AI Search instance for a zone, crawls the site automatically, builds a full-text index, and exposes it at the
.well-known/searchendpoint. AI agents query that endpoint and receive Markdown passages with source URLs, making the site natively searchable without any custom API or integration work by the site owner. - How do you turn on Search for Agents in Cloudflare?
- Navigate to the target zone in the Cloudflare dashboard, locate the AI section, then switch the Search for Agents toggle on. Cloudflare provisions the AI Search instance and begins crawling automatically. The
.well-known/searchendpoint goes live once the initial index is ready, which the dashboard’s AI Search status panel tracks in real time. - What information does the .well-known/search endpoint return?
- The endpoint returns the most relevant text passages from the site’s indexed content, formatted in Markdown, along with the source URLs of the originating pages. The structured output is designed for direct use in agent context windows or retrieval-augmented generation workflows, without additional HTML parsing or scraping steps on the agent side.
- Does Search for Agents work on Cloudflare’s Free plan?
- The Search for Agents feature is accessible on all Cloudflare plan levels, the free tier included, though crawl frequency and allowed query volume differ by plan. The Cloudflare developer documentation carries current eligibility details, and the AI Search section of the dashboard shows the specific limits that apply to the account.
- How is Cloudflare AI Search priced?
- Pricing details for Cloudflare AI Search are managed through the Cloudflare dashboard and official product documentation. As the product moves through general availability, pricing and included limits can change, so reviewing the current plan details in the documentation before enabling the toggle is the most reliable way to understand expected cost and usage headroom.