Published

Worked example

Does the agent search result show the right page and dispatch time?

A product page promises dispatch within 48 hours. The search result still says 24 hours. In another case the time is correct but the link leads to the wrong product. These simulations are inspired by Cloudflare’s Search for Agents. To check a passage, compare its source, product code and stated value.

Simulation · In this simulation the page says the product ships within 48 hours. The search result still says 24 hours.
Announcement dated See the results

01TSEP simulation

An outdated value and a wrong source in five simulated searches

Local HTTP simulation · 5 December 2026

The script reads five local pages and queries a synthetic index for each product code using GET at the endpoint advertised in HTML. All ten responses return HTTP 200. The first line of each record shows the path. The second gives the code and dispatch time. The symbol ∅ means no passage was returned. Each verdict compares all three fields from a single passage with the requested page.

Requested pageReturned passageVerdict
/p/SKU-10
SKU-10 · 24 h
/p/SKU-10
SKU-10 · 24 h
Match
/p/SKU-21
SKU-21 · 48 h
/p/SKU-21
SKU-21 · 24 h
Different dispatch time
/p/SKU-32
SKU-32 · 72 h
∅No passage
/p/SKU-43
SKU-43 · 96 h
/p/SKU-43-A
SKU-43-A · 24 h
Different variant
/p/SKU-54
SKU-54 · 48 h
/p/SKU-21
SKU-54 · 48 h
Wrong document

SKU-10 is the control. For SKU-21, the page says 48 hours while the passage retains the old value of 24 hours. Search repeats SKU-32 in its heading but returns no document. SKU-43 leads to a variant. Finally, the passage for SKU-54 gives the right dispatch time and product code but cites the page for SKU-21. Checking the text alone would miss this attribution error.

Link to these results

02On your site

How can you check your site?

Check on your site

Choose a recently edited page and a stable control. Save the public HTML, URLs, expected values and UTC time. With Search for Agents, look for agent:endpoint and agent:method in the HTML head. If Markdown for Agents is also enabled, a request with the Accept: text/markdown header can provide these details in the YAML front matter. For the documented GET template, replace {query} with the URL-encoded product code. Save the timestamped response.

Expected result

Check that the address identifies the correct page or a confirmed equivalent in the index. Look for the full product code and dispatch time in the same passage. Without an identifiable address you cannot attribute the text to that page. Without the dispatch time you cannot assess freshness for that detail. If you repeat the query, record when you first see the new value.

03Decisions

What should you do?

The advertised service is unreachable
Check that the service is enabled, the published address is correct and the access rules allow the client under test. A browser request alone cannot establish whether a particular agent has access.
The control matches but the old dispatch time persists
Compare the public page with the latest indexed document. If its text is stale, check crawling and synchronization. If it is current, identify the document that supplied the passage, then check search cache settings. Repeat the query after cache expiry. Without access to the indexed document, the cause remains uncertain.
No passage matches the product
Look for the document in the index sources. Check its inclusion settings, last crawl and extracted text. An empty result for one query cannot establish that the page is missing from the index.
Search returns another variant
Check that each product page clearly pairs the full code with its dispatch time. Compare the indexed passages and repeat the query with the variant name.
The text matches but the path differs
Map the internal path to the public URL. If the passage cites a different page, correct the source mapping at indexing time. Once the index has synced, repeat the query and open the cited document.

04Reproduce the test

Reproduce the experiment

Download the script and run the command in its folder with Python 3.9 or later. The temporary server listens only on your computer. The script prints the observations as JSON.

Download the Python script ↓
python3 cloudflare-demo.py
View raw results (JSON)

05Sources

What the source says

Cloudflare introduced Search for Agents on 25 November 2026. When enabled, the service starts indexing the site and advertises a search endpoint in HTML. Once content is indexed, permitted clients can query that endpoint and receive passages in Markdown. The domain’s access rules still apply.

Cloudflare ↗

The two tags below come from the HTML head of the blog page archived by TSEP. They point to search on blog.cloudflare.com. The example in the body of the post uses a different domain, developers.cloudflare.com.

<meta name="agent:endpoint" content="https://blog.cloudflare.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">

Hash of the HTML copy checked by TSEP. The copy is held locally and the live page may change. · SHA-256
3a1138c15d0cbe93fb7292557d1fa60741704cbefab86eb92ff80ad2c3ac2f33

TSEP · Written with AI assistance. Results come from the simulation described here. No signed human review.