{"slug": "cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain", "title": "Cloudflare Search for Agents: One Toggle Puts Site Search on Your Domain", "summary": "Cloudflare shipped Search for Agents on November 25, 2026, a Quick Action toggle that provisions an AI Search instance for a customer's zone, crawls its pages, and publishes a search API at /.well-known/search on the customer's own domain. The feature is available to all Cloudflare customers including Free, within AI Search quotas, and advertises the endpoint to agents through agent:endpoint and agent:instructions meta tags on every HTML page or YAML front matter for Markdown responses. Cloudflare bills ingestion, stored index bytes and query volume against existing Workers Free and Paid included usage at published AI Search rates rather than as a separate SKU, aiming to let coding agents issue one search call instead of brute-force crawling doc trees.", "body_md": "**Cloudflare shipped [Search for Agents](https://blog.cloudflare.com/search-for-agents/?ref=explainx) on November 25, 2026: one dashboard toggle provisions an [AI Search](https://developers.cloudflare.com/ai-search/?ref=explainx) instance for your zone, indexes your pages, and publishes a search API on your own domain.** The design extends the same idea as [Markdown for Agents](https://explainx.ai/blog/markdown-for-agents-content-negotiation-guide-2026)—make machine clients cheap to serve—but adds **discoverability** and **retrieval** so coding agents stop brute-force crawling long doc trees.\n\n## TL;DR\n\n| Question | Answer | \n|---|---|\n| **What changed November 25?** | New **Search for Agents** Quick Action auto-creates AI Search + crawl +`/.well-known/search` | \n| **Who can turn it on?** | All Cloudflare customers, **including Free** , within AI Search quotas | \n| **How do agents find it?** | `agent:endpoint` /`agent:instructions` meta tags on**every HTML page** (or Markdown front matter) | \n| **What comes back?** | **Markdown chunks** , not a generated chat reply | \n| **New HTTP method?** | Native support for **QUERY** ([RFC 10008](https://www.rfc-editor.org/rfc/rfc10008?ref=explainx) ) with text or JSON body | \n| **Pairs with what?** | [Markdown for Agents](https://explainx.ai/blog/markdown-for-agents-content-negotiation-guide-2026) , Agent Readiness checklist, existing AI Search pricing | \n\n## Why Cloudflare added a toggle\n\nUntil today, wiring **site search for agents** meant manually creating an AI Search project, pointing crawlers at your sitemap, exposing an API, and hoping harnesses guessed the URL. Cloudflare's post contrasts that with **Markdown for Agents**, where content negotiation already strips HTML to text at the edge. **Search for Agents** closes the loop: **index once**, **advertise everywhere**, **query under your hostname**.\n\nThat matters for teams building on [MCP hosts](https://explainx.ai/blog/what-is-mcp-model-context-protocol-guide) or [coding harnesses](https://explainx.ai/blog/claude-code-commands-complete-reference-guide-2026). A Claudian session that would otherwise fetch dozens of `/docs/**` pages can issue one search call—if your zone publishes the endpoint and your **WAF** allows the agent's client fingerprint.\n\n## How to enable Search for Agents\n\nCloudflare documents two paths:\n\n1. **Dashboard** — open your zone,**Quick Actions** , enable**Search for Agents** .\n2. **API** — same setting for automation-first teams (details in[developer docs](https://developers.cloudflare.com/ai-search/how-to/search-for-agents/?ref=explainx) ).\n\nOnce enabled, Cloudflare **creates an AI Search instance**, starts **crawling the zone**, and links the instance from the Quick Actions panel so operators can tune reranking, caching, or other AI Search options later.\n\nCloudflare Search for Agents dashboard quick action toggle enabling zone-wide agent search\n*Image: [Cloudflare](https://blog.cloudflare.com/search-for-agents/?ref=explainx)*\n\nPricing follows **existing AI Search meters**: ingestion, stored index bytes, and query volume count against **Workers Free and Paid included usage**, then bill at published AI Search rates. Cloudflare does not describe Search for Agents as a separate SKU in the November 25 post—it is packaging on top of AI Search.\n\n## Discoverability: meta tags agents can read\n\nSearch is useless if the harness never learns the URL. Cloudflare injects machine-readable instructions on **each HTML response**:\n\n```\n<meta name=\"agent:instructions\" content=\"Use this search API to find relevant content across this site...\">\n<meta name=\"agent:endpoint\" content=\"https://developers.cloudflare.com/.well-known/search?q={query}\">\n<meta name=\"agent:method\" content=\"GET\">\n<meta name=\"agent:documentation\" content=\"https://developers.cloudflare.com/ai-search/how-to/search-for-agents/\">\n```\n\nWhen **Markdown for Agents** is on, an `Accept: text/markdown` request receives equivalent `agent:` fields in **YAML front matter** instead of `<meta>` tags—useful for clients that already negotiate Markdown per our [content negotiation guide](https://explainx.ai/blog/markdown-for-agents-content-negotiation-guide-2026).\n\n**Practical takeaway:** after you flip the toggle, **spot-check one production URL** with and without `Accept: text/markdown` to confirm tags appear through your caching rules. Stale HTML at the edge would delay discoverability even though the index is warm.\n\n## Querying: GET, QUERY, and Markdown hits\n\n### GET with query string\n\nCloudflare's example:\n\n```\ncurl \"https://developers.cloudflare.com/.well-known/search?q=cloudflare+artifacts\"\n```\n\nThe response is a **ranked list of Markdown documents** with scores, not a chat completion. That matches how many teams want RAG: return **citable chunks** and let the agent model synthesize.\n\nNatural-language questions work the same way when reranking is enabled:\n\n```\ncurl --get \"https://developers.cloudflare.com/.well-known/search\" --data-urlencode \"q=What is the maximum push size for Cloudflare Artifacts?\"\n```\n\n### QUERY method (RFC 10008)\n\nCloudflare also supports the **QUERY** verb co-authored by Cloudflare engineer James Snell:\n\n```\ncurl -X QUERY 'https://developers.cloudflare.com/.well-known/search' \\\n  --data 'What is the maximum payload size per ingestion request in Basin Pipelines?'\n```\n\nJSON bodies work when you set `Content-Type: application/json` with a `{\"q\":\"...\"}` object. QUERY is designed for **idempotent search with a body**, avoiding awkward GET length limits—relevant for agent frameworks that already speak modern HTTP clients.\n\nSearch for Agents HTTP request log showing agent discovering search API\n*Image: [Cloudflare](https://blog.cloudflare.com/search-for-agents/?ref=explainx)*\n\n## What developers saw in OpenCode\n\nCloudflare enabled Search for Agents on **its own developer documentation** before launch. In an **OpenCode** session asking about **maximum push size for Cloudflare Artifacts**, logs show the agent:\n\n1. Reading `agent:endpoint` from the homepage.\n2. Calling `/.well-known/search` with the question.\n3. Answering from returned Markdown within seconds.\n\nCloudflare reports agents **reuse the endpoint repeatedly** in one session instead of re-crawling the site map—a pattern that shows up in their traffic charts for developer docs. That is the operational proof point: **discover once, query many**.\n\nFor builders comparing harnesses, the flow is similar in spirit to wiring [Exa or Linkup through AI Gateway](https://explainx.ai/blog/cloudflare-web-search-api-ai-gateway-agents-2026), but **scoped to your origin** and **without per-query partner billing** beyond AI Search itself.\n\n## Still a full AI Search instance\n\nBehind the toggle sits a normal **AI Search project** in your account. Cloudflare lists capabilities unchanged:\n\n| Capability | Agent impact | Human impact | \n|---|---|---|\n| **Reranking / cache knobs** | Better relevance for NL questions | Same index serves both | \n| **Public REST or MCP** | Expose search to non-HTTP agents | Optional | \n| **Workers binding** | Call from edge code | Pair with [Agents SDK patterns](https://explainx.ai/blog/google-gemini-managed-agents-self-hosted-sandboxes-november-2026) | \n| **AI Search embed snippet** | N/A | Human search box on marketing pages | \n\nThat means Search for Agents is an **on-ramp**, not a walled garden. Teams that later need **cross-site** retrieval still use [Web Search API](https://explainx.ai/blog/cloudflare-web-search-api-ai-gateway-agents-2026) or self-hosted [Firecrawl pipelines](https://explainx.ai/blog/firecrawl-web-scraping-api-ai-agents-2026).\n\n## Security, bots, and Agent Readiness\n\nCloudflare explicitly warns that **discoverability ≠ authorization**. Requests still pass:\n\n- **Bot Fight Mode** and**AI Crawl Control**\n- **WAF** custom rules\n- **Rate limits** you configure at the zone\n\nPair the launch with Cloudflare's **[Agent Readiness](https://developers.cloudflare.com/reference-cloudflare/agents/?ref=explainx)** checklist (authentication hints, payment rails, content policies). explainx.ai covered [AI traffic overtaking humans](https://explainx.ai/blog/ai-traffic-overtakes-humans-chattjb-prompt-injection-august-2026) and [prompt injection on crawled pages](https://explainx.ai/blog/ncsc-agentic-offensive-frameworks-artex-november-2026); searchable Markdown reduces crawl volume but **does not** sanitize untrusted HTML you indexed yesterday.\n\n**For security reviewers:** treat `/.well-known/search` like any other authenticated API—log queries, alert on exfil patterns, and segment **draft** content from **production** crawls if your CMS mixes previews into the same hostname.\n\n## How this fits the agent-readable web stack\n\nThink of three Cloudflare layers readers already mix:\n\n1. **[Markdown for Agents](https://explainx.ai/blog/markdown-for-agents-content-negotiation-guide-2026)** — cheap per-page text.\n2. **AI Search indexing** — semantic retrieval over the corpus.\n3. **Search for Agents** —**discovery + hosted endpoint** on your domain.\n\nTogether they push sites toward the **[llms.txt](https://explainx.ai/blog/llms-txt-specification-guide-2026)** vision—machines learn where to look—without each company hand-writing `llms-full.txt` for every release.\n\n| Pattern | Best for | Weak when | \n|---|---|---|\n| Full-site crawl by agent | Tiny marketing sites | 5,000-page doc portals | \n| Markdown negotiation only | Token-starved readers | Need ranked multi-doc answers | \n| Search for Agents | **Owned documentation** with frequent updates | Paywalled or per-user content | \n| Web Search API | Live internet facts | Proprietary knowledge bases | \n\n## What to do Monday morning\n\n1. **Enable on a staging zone first** — confirm crawl scope, exclude`/admin` paths, and watch AI Search ingestion costs.\n2. **Run one harness test** — ask a coding agent a question only answered deep in docs; verify it picks`agent:endpoint` without custom prompts.\n3. **Align with Bot Fight Mode** — allowlist trusted agent subnets if you operate corporate harnesses.\n4. **Document internally** — link engineers to Cloudflare's AI Search limits page; Free tiers still cap queries.\n5. **Back-link from your status page** if you rely on search during incidents (same discipline as[nginx patch posts](https://explainx.ai/blog/nginx2root-http2-rce-cve-2026-123007-xint-wiz-november-2026) for ops visibility).\n\n## Pricing and quota questions operators ask\n\nCloudflare does not publish a separate price list for Search for Agents beyond **AI Search**. Operators still ask the same questions we see on [AI Gateway credit threads](https://explainx.ai/blog/cloudflare-web-search-api-ai-gateway-agents-2026):\n\n| Operator question | What to verify in dashboard | \n|---|---|\n| **Will Free tier index my whole blog?** | Crawl limits and storage caps on Workers Free AI Search | \n| **Do failed queries bill?** | AI Search query metering; check docs for error handling | \n| **Can I cap spend?** | Workers Paid budgets and AI Search alerts | \n| **Does reranking cost extra?** | Instance settings after the toggle creates the project | \n\nTreat the toggle like turning on a **new data pipeline**: ingestion runs once, then **every agent hit** is a query line item. Teams that already serve [Markdown for Agents](https://explainx.ai/blog/markdown-for-agents-content-negotiation-guide-2026) should expect **more agent traffic on fewer bytes**, but not zero marginal cost.\n\nEnterprise buyers comparing hyperscaler stacks should note this lands the same week as [Google-managed Gemini sandboxes](https://explainx.ai/blog/google-gemini-managed-agents-self-hosted-sandboxes-november-2026) and [Amazon Bedrock agent evaluation playbooks](https://explainx.ai/blog/amazon-bedrock-agentcore-evaluation-playbook-deepeval-autoeval-guide-2026). Cloudflare's bet is **edge-hosted discoverability** for sites you already proxy—not training a frontier model.\n\nIf your docs team already maintains structured URLs and sitemaps, the toggle is mostly **operational glue**. You still own information architecture, redirect chains, and which hosts belong in the crawl allowlist. Search for Agents does not replace a content audit; it **surfaces** whatever you already publish to the edge.\n\n## Limits Cloudflare does not solve\n\n- **Paywalled or personalized content** still should not land in a global index without access controls.\n- **Non-HTML assets** (PDFs, binaries) need explicit AI Search source rules—same as before the toggle.\n- **Answer quality** depends on crawl freshness; agents may read stale limits tables if you ship pricing changes without reindex latency in mind.\n- **Competitor harnesses** outside Cloudflare's ecosystem must implement QUERY support themselves; curl works, but not every SDK yet.\n\n## Related on explainx.ai\n\n*Release details reflect Cloudflare's November 25, 2026 blog post and developer documentation as accessed the same day.*", "url": "https://wpnews.pro/news/cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain", "canonical_source": "https://explainx.ai/blog/cloudflare-search-for-agents-ai-search-toggle-november-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-11-25 00:00:00+00:00", "updated_at": "2026-11-25 15:13:10.259553+00:00", "lang": "en", "topics": ["ai-agents", "ai-search", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Cloudflare", "Search for Agents", "AI Search", "Markdown for Agents", "Workers", "RFC 10008"], "also_reported_by": [], "takeaway": "Enabling the Search for Agents Quick Action auto-creates an AI Search instance, crawls the zone and publishes a queryable endpoint at /.well-known/search, advertised via agent:endpoint and agent:instructions meta tags, with usage metered against existing Workers Free and Paid AI Search quotas.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain", "markdown": "https://wpnews.pro/news/cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain.md", "text": "https://wpnews.pro/news/cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain.txt", "jsonld": "https://wpnews.pro/news/cloudflare-search-for-agents-one-toggle-puts-site-search-on-your-domain.jsonld"}}