AI search for developers
Which AI bots fetch your pages, how to control and verify them, and what llms.txt and schema do.
About this path
- What you can do at the end
- Set robots.txt and CDN rules for each AI bot, verify bot traffic in your logs, keep key content in the HTML, and answer questions on llms.txt and schema with evidence.
- Who it is for
- Developers
- Time
- 9 steps, 1 h 14 min of reading. Read one step at a sitting if you like.
- Level
- Build: for readers who know the basics of search.
The steps, in order
-
What is the difference between training bots and search bots?
OpenAI, Anthropic and Perplexity run separate bots for training, search and user requests. Four operators announced a shared training signal on Oct 30, 2026.
Why this step: OpenAI and Anthropic run separate bots for training and for search. A site can block training and stay in AI search.
-
How to allow or block AI bots in robots.txt
robots.txt rules to allow all crawlers, block AI training or block all AI bots, from RFC 9309 and the tokens that AI bot operators document.
Why this step: A bot follows only the group that names it, and in that group the longest matching path wins. Write each group with this rule.
-
How Cloudflare's AI bot settings work
Cloudflare sets AI bot policy by Search, Agent and Training. Since September 15, 2026, a Training block also stops Googlebot, Bingbot and Applebot.
Why this step: Since September 15, 2026, Cloudflare's Training block also stops Googlebot, Bingbot and Applebot, for search as well.
-
How to verify AI crawlers by IP address and reverse DNS
Verify AI crawlers with the IP lists and reverse DNS checks that operators publish. 10 of 11 operators list IP addresses; 5 document a DNS name.
Why this step: Any client can send a bot's user agent. Check the IP address against the operator's published list or with reverse DNS.
-
How to do log file analysis for AI crawlers
Log file analysis for AI crawlers: find GPTBot, ClaudeBot and other bots in access logs, verify their IPs, and count requests by bot, path and status.
Why this step: Count verified requests by bot, path, status code and day, then compare them with your robots.txt rules.
-
Do crawlers render JavaScript?
Some crawlers render JavaScript and some do not. Googlebot renders pages after a queue, and CCBot reads only the HTML that the server sends.
Why this step: CCBot does not run JavaScript, and Googlebot renders after a queue. Text that needs JavaScript can be missing for some crawlers.
-
How AI browser agents access websites
Claude for Chrome and Perplexity's Comet sidebar act in a person's browser with no published identifier. Agents hosted by OpenAI, Anthropic and Google use one.
Why this step: Hosted agents identify themselves by token, IP list or signed requests. Set your agent policy in the firewall or CDN.
-
Does llms.txt help AI visibility?
Ahrefs found that 97% of valid llms.txt files received no requests in May 2026. Google says sites do not need the file.
Why this step: 97% of valid llms.txt files got no requests in May 2026. Know the evidence before someone asks you to add one.
-
Does schema markup affect AI citations?
Ahrefs tracked 1,885 pages that added schema against 4,000 matched controls and found no citation gain in ChatGPT, AI Overviews or AI Mode.
Why this step: Schema gave no AI citation gain in the best study. Keep it for rich results in Google Search.
After the path
When you finish the steps, do these 6 things.
- Write a robots.txt group for each AI bot, with the token that its operator documents.
- Make sure /robots.txt does not return a 5xx status, because crawlers then treat the whole site as disallowed.
- Check the Training setting in your CDN, so that a block does not stop search crawlers.
- Verify bot requests by IP address before you count them in your logs.
- Compare the raw HTML with the rendered page, and serve key text in the HTML.
- Keep schema markup for rich results. Do not expect it to raise AI citations.
Where to go next
Paths that build on this one.
-
Get your site ready for AI crawlers
Decide which AI crawlers may fetch your pages, set the rules in robots.txt and the CDN, and check in your logs that the rules work. Open the path -
How AI search works
Explain how a language model, a search index and citations combine into an AI search answer, and which reports show your own visibility. Open the path - All reading pathsPaths for PR teams, brands, agencies, SEO teams, marketing leaders and developers, and paths by topic.Choose a path