Introducing Search for Agents
Captured source
source ↗Introducing Search for Agents | Cloudflare Blog
Skip to content
AI Search , our service that indexes your content and lets you add search to any application or agent without having to build an entire retrieval infrastructure, has supported adding your website as a data source for a while now, automatically crawling, converting and indexing its pages. Still, setting up an AI Search instance for your website requires manually creating and configuring it initially, and then doing all the integration work to get the search endpoints available from your domain and to make sure that agents know where to find the index and know how to use it. Today we're introducing Search for Agents , which puts that setup behind a toggle in your Cloudflare dashboard. Turn it on for your zone, and our service will create your AI Search instance, start indexing your content, and make search discoverable and available from your own domain. How it works The idea follows naturally from Markdown for Agents , where Cloudflare's network converts any HTML page to Markdown in real time for enabled zones using content negotiation headers. Similarly, Search for Agents leverages the power of AI Search by automatically creating an index for your zone and exposing APIs that any AI agent can discover and use to search your website, under your domain, all done at the network level. You can enable Search for Agents using the API, or by going to the dashboard in your zone page, under Quick Actions :
Enabling Search for Agents in the dashboard Search for Agents is available to all customers, including Free (with limits ). Once it’s enabled, Cloudflare will automatically create an AI Search instance, start crawling and indexing the content in your zone. Refer to our developer documentation to understand how the crawling process works. You can access your instance directly from this page, or by going to directly to your account’s AI > AI Search instances view:
Search for Agents AI Search instance The AI Search instance for your zone is created with default settings, but you can enable reranking or change configuration options like cache settings at any time. Refer to our documentation for the full list of options. Once AI Search indexes your content, you or any agent on the Internet can start using Search for Agents, subject to your domain settings (e.g. your bot management settings, AI Crawl Control and web application firewall ( WAF ) configurations). Discoverability Search isn't much use if the agents don’t know it's there. To facilitate discoverability, Search for Agents automatically advertises the search endpoint on every page of your site. For example, for HTML responses, we add metadata to the page's : < 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://developers.cloudflare.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/" > If you also have Markdown for Agents enabled, an agent requesting a page with Accept: text/markdown receives the same information in YAML front matter: --- 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://developers.cloudflare.com/.well-known/search?q={query}" method : "GET" documentation : "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/" --- The agent will easily pick up these instructions and know what to do next to search your site. Searching content Once the agent knows that your site has a search endpoint, it can start using it: $ curl "https://developers.cloudflare.com/.well-known/search?q=cloudflare+artifacts"
Search results for: "cloudflare artifacts"
docs/artifacts/api/workers-binding/index.md (score: 1.000)
Workers binding · Artifacts · Cloudflare Artifacts docs
Call Artifacts from a Worker binding.
---
docs/artifacts/index.md (score: 0.951)
Artifacts · Cloudflare Artifacts docs
Store, version, and share filesystem artifacts across Workers, APIs, and Git-compatible tools. ... Depending on your AI Search configuration, the agent can also use natural language and ask questions to the search endpoint: $ curl --get "https://developers.cloudflare.com/.well-known/search" --data-urlencode "q=What is the maximum push size for Cloudflare Artifacts?"
Search results for: "What is the maximum push size for Cloudflare Artifacts?"
docs/artifacts/platform/limits/index.limits-cloudflare-artifacts-docs.md (score: 1.000)
Limits · Cloudflare Artifacts docs
Section: Limits · Cloudflare Artifacts docs
title: Limits description: Review Artifacts platform limits. pcx_content_type: reference products:
- artifacts
Limits that apply to creating, importing, cloning, and pushing Artifacts are detailed below.
These limits cover naming rules, storage, request rates for control-plane and Git operations, and the size of each push.
FeatureLimitControl-plane request rate2,000 requests per 10 seconds per Artifacts namespaceGit request rate, per artifact2,000 requests per 10 seconds per artifactMaximum storage per repository1 GB for repos created on or after 2026-09-29. Repos created earlier have a 10 GB limit. See size limit change.Maximum storage per account1 TB (can be raised on request)Maximum number of repositoriesUnlimitedMaximum number of namespacesUnlimitedNamespace name length2–63 charactersNamespace and repo namesStart with a letter or digit. Remaining characters may include letters, digits, ., _, and -.Maximum push size64 MiB per push. Includes all data sent in the push. Split larger work into several smaller pushes.Maximum objects per push50,000 objects, such as file versions, folders, and commits.Maximum file size32 MiB per file. Already-compressed files, like images, video, or zip archives, may be rejected slightly below 32 MiB.Maximum ref updates per push1 MiB of branch and tag updates per push.Maximum entries per folder100,000 files and subfolders in a single folder. ... Note that this search endpoint returns retrieved content, in Markdown, not a generated answer. The agent...
Excerpt shown — open the source for the full document.
Notability
notability 6.0/10Cloudflare product launch with low HN traction