Cloudflare gives AI agents a website search endpoint
Edited and reviewed by AI Ping Editorial Team
Key points
- A beta dashboard toggle connects site indexing and endpoint discovery.
- Results contain Markdown source content, subject to site access policies.
- Free plans are eligible, with usage limits and billing starting December 1.
Cloudflare has introduced Search for Agents, a feature that gives a website its own search endpoint for AI agents. Announced on November 25, it connects index creation, content ingestion and endpoint discovery behind a dashboard toggle, bundling work that previously required setting up AI Search and integrating it with a domain.
The beta is available to all customers, including those on Free plans. Existing AI Search allowances and limits apply to ingestion, storage and queries. Cloudflare’s pricing documentation says AI Search billing begins on December 1, 2026.
Cloudflare adds HTML metadata describing the search address and request method. Sites that also enable Markdown for Agents receive the same discovery information at the start of Markdown responses. Agents can read these instructions to query the domain.
The endpoint returns retrieved source content in Markdown, with source references and relevance scores. The agent’s model uses that material. Queries can arrive through a GET URL parameter or through the HTTP QUERY method, with plain text or a JSON object in the request body.
Discovery uses the existing website crawler. The Discover mode selected for this service starts at the source URL and uses both sitemaps and links found on pages. It finds links beyond an incomplete sitemap, stopping at configured page and depth limits.
Updates and usage have their own conditions
Discover does not use sitemap modification times or change-frequency attributes to trigger refreshes. It re-fetches source pages according to the accepted cache age, and each sync starts a new crawl. If a crawl is unfinished or stops at its page limit, AI Search keeps previously indexed pages that the crawl did not reach.
The underlying instance remains configurable. Cloudflare lists path inclusion and exclusion, chunk size, syncing, result count and relevance thresholds as editable settings. Keyword and vector retrieval can be combined, and results can be reranked. The connected data source and embedding model, however, are fixed when the instance is created. Metadata filters and relevance boosts can also be adjusted, alongside query rewriting and similarity caching. Generation, query rewriting and reranking models remain editable. Result controls specify both a match threshold and a maximum number of results.
Site access policies still apply. AI Crawl Control lets operators inspect AI-service requests and set allow or block rules for individual crawlers, as well as track robots.txt compliance. Search for Agents requests remain subject to that service and the web application firewall. Its documentation says to index only content intended to be publicly searchable.
Each account includes 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries monthly. Published overage rates are $0.75 per million ingestion tokens, $2 per GB-month and $0.75 per 1,000 vector or hybrid queries. Workers Free website crawling is limited to 500 pages per day.
Sources
- Introducing Search for Agents — Cloudflare Blog
- Search for Agents — Cloudflare Docs
- Parse types — Cloudflare Docs
- Configuration — Cloudflare Docs
- AI Crawl Control — Cloudflare Docs
- Limits & pricing — Cloudflare Docs
