Sub topic 2
Training, AI search, and user-initiated fetches
This chapter separates AI-related crawlers by purpose. It assumes you know how web crawlers fetch pages, what the HTTP User-Agent header is, and that a site controls crawlers through a robots.txt file at its root. You do not need to know any specific crawler names yet. Later chapters cover each vendor in detail.
Why purpose matters more than vendor
A common mistake is to treat "AI crawlers" as one group and write a single rule such as "block all of them." That rule mixes together three kinds of automated access that have different effects on your site:
- Some bots collect pages to build datasets that are used to train language models.
- Some bots build a search index that an AI product uses to find and cite pages in its answers.
- Some bots fetch one page because a person asked an AI assistant to read it.
If you block the first kind, you opt out of future training. If you block the second kind, you may stop appearing as a cited source in AI search results. If you block the third kind, an assistant cannot read a link a user pasted into a chat. These outcomes are unrelated, and most sites want different answers for each.
The useful question is therefore not "which company is this?" but "what will this request be used for?"
The three purposes
Training crawlers
A training crawler visits pages in bulk and stores their content so it can be used in datasets for training or improving models. The visit happens ahead of time, at the crawler operator's schedule, and not in response to any user action.
Key properties:
- Timing. Requests arrive continuously across many pages, driven by the operator's own crawl schedule.
- Effect of blocking. Blocking stops future collection. It does not remove content that was already collected, and it does not change a model that has already been trained.
- Visibility to you. Allowing training access gives you no direct referral traffic. The benefit, if any, is indirect and hard to measure.
Examples you will meet in later chapters: GPTBot (OpenAI) and ClaudeBot (Anthropic), which are crawlers used for training, and CCBot (Common Crawl), whose public archive is widely reused as a source of training data.
AI search crawlers
An AI search crawler builds and refreshes an index used by an AI search feature. When someone asks a question, the product retrieves pages from that index and shows summaries with links or citations.
Key properties:
- Timing. Like a traditional search crawler, it runs on its own schedule and not at the moment a user asks.
- Effect of blocking. Pages become less likely to be found, quoted, or linked in that product's answers.
- Visibility to you. Allowing access can produce citations and referral visits, which resembles the relationship a site has with a normal search engine.
Examples: OAI-SearchBot (OpenAI) and PerplexityBot (Perplexity).
User-initiated fetchers
A user-initiated fetcher requests a specific URL because a person asked for it. A user pastes a link into an assistant and asks for a summary. The assistant's backend then fetches that one page.
Key properties:
- Timing. The request happens at the moment of the user's action and usually covers a single page.
- Effect of blocking. The assistant cannot read that page for the user, and the user sees an error or an answer that lacks the page's content.
- Visibility to you. Each request reflects a real person's interest in your page, but volume is low compared with the other two kinds.
- Compliance caveat. Some operators state that because a human initiated the fetch,
robots.txtrules may not apply to it in the same way. Check each operator's documentation. Never assume a rule you wrote will bind a user-initiated fetcher.
Example: ChatGPT-User (OpenAI).
Comparing the three at a glance
| Property | Training crawler | AI search crawler | User-initiated fetcher |
|---|---|---|---|
| Trigger | Operator's schedule | Operator's schedule | A person's request |
| Scope per visit | Many pages | Many pages | Usually one page |
| Used for | Model datasets | Search index and citations | Answering one user's request |
| Effect of blocking | Opt out of future training | Fewer citations and referrals | Assistant cannot read your page |
| Typical example | GPTBot, ClaudeBot, CCBot | OAI-SearchBot, PerplexityBot | ChatGPT-User |
The table shows that the same company can run all three types under different user-agent tokens. That separation is what lets you write different rules for each one.
How the separation shows up in robots.txt
robots.txt identifies crawlers by a user-agent token, a short name that appears on a User-agent: line. When an operator publishes separate tokens for separate purposes, you can allow one purpose and block another. This is the only reason a purpose-based policy is practical at all.
The following file opts out of training and stays open to AI search and user requests. It is the same pattern you will build up over the next chapters.
# Opt out of model training, stay available for AI search and user requests
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: *
Allow: /Read it by purpose and not by company name:
- The training-related tokens (
GPTBot,ClaudeBot,CCBot) getDisallow: /. Google-ExtendedandApplebot-Extendedare different. They are control tokens that tell an operator whether content it already crawls may be used for AI purposes. Later chapters explain how they differ from a crawler that fetches pages itself.- The search token (
OAI-SearchBot) and the user-initiated token (ChatGPT-User) are explicitly allowed. - The final
*group allows everyone else, so ordinary search engines are unaffected.
A decision flow
When you meet an unfamiliar user agent in your logs or in a vendor's documentation, classify it before deciding what to do.
The first question matters because some bots publish no documentation. A token you cannot classify is a token you cannot write a sensible policy for.
Edge cases and common errors
One company, several tokens
OpenAI publishes three separate tokens for the three purposes. Blocking GPTBot does not block OAI-SearchBot or ChatGPT-User. People often assume that a single company-name rule covers everything and are surprised when the other bots keep visiting. Each token needs its own group.
Blocking too broadly
Writing User-agent: * followed by Disallow: / blocks every crawler that has no more specific group, including search engines and AI search bots. A blanket block is the opposite of a purpose-based policy and often removes your site from search results.
Tokens that are not crawlers
A token such as Google-Extended does not correspond to a separate bot that visits your site. It is a control token. Google's normal crawler fetches the pages, and the token records your preference about AI use of that content. If you look for Google-Extended in your logs, you will not find it. Its place in the training, search, and user-initiated model is covered in its own chapter.
Assuming blocking is retroactive
A Disallow rule changes what a crawler may fetch from now on. It does not delete data already collected. If past collection is a concern, robots.txt cannot solve it. Operators may offer separate removal or opt-out processes.
Assuming every bot obeys
robots.txt is a request that well-behaved crawlers follow. A crawler can ignore it, and a scraper can send a fake user-agent string. Enforcement on the server is covered in a later chapter. For now, remember that a clean robots.txt shows your intent but does not guarantee the outcome.
Treating user-initiated fetchers like crawlers
Because a user-initiated fetcher acts for one person, operators may handle robots.txt differently for it than for scheduled crawlers. Test the behavior from your logs and not from the rule file alone.
A short worked classification
Suppose your access log shows three user agents you have not seen before:
ExampleTrainBot/1.0, which requests thousands of pages over several days, with documentation saying it collects data for model training.ExampleAnswerBot/2.1, which requests many pages on a schedule, with documentation saying it feeds an answer engine that shows source links.ExampleAssistant-User/1.0, which requests one URL at a time, in bursts that coincide with users sharing links.
Following the flow above:
ExampleTrainBotis not triggered by a person and does not build a cited search index, so it is a training crawler.ExampleAnswerBotis not triggered by a person and builds an index with citations, so it is an AI search crawler.ExampleAssistant-Useris triggered by a person, so it is a user-initiated fetcher.
A policy that fits a site wanting visibility but not training would disallow the first, allow the second, and allow the third. A site that wants no AI involvement would disallow all three, accepting the loss of citations and of assistant access. Choosing between those policies is the topic of a later chapter.
Key points
- Classify AI-related bots by purpose: training, AI search, or user-initiated fetching.
- Blocking each purpose has a different effect: opting out of training, losing citations, or preventing an assistant from reading a page.
- Separate user-agent tokens from the same company let you write separate rules.
- Control tokens such as
Google-Extendedexpress a preference and are not separate crawlers. robots.txtis advisory and not retroactive, and user-initiated fetchers may treat it differently.
Exercise
Your site publishes a product comparison that you want cited in AI answers, but you do not want your content used for model training. A log review shows visits from a training crawler, an AI search crawler, and a user-initiated fetcher. Which of the three would you disallow, which would you allow, and what do you lose if you disallow the other two as well?
Show answer
Disallow the training crawler and allow the AI search crawler and the user-initiated fetcher. Disallowing the AI search crawler would reduce how often your pages are found, cited, and linked in that product's answers. Disallowing the user-initiated fetcher would stop assistants from reading a page when a user shares its link. Remember that disallowing the training crawler only stops future collection and does not remove data already collected.
Exercise
A colleague writes a robots.txt with a group for GPTBot that says "Disallow: /" and concludes that no OpenAI bot will visit the site. Explain why the conclusion is wrong and what you would check.
Show answer
OpenAI uses separate user-agent tokens for training (GPTBot), AI search (OAI-SearchBot), and user-initiated fetching (ChatGPT-User). A rule for one token applies only to that token, so the other two can still fetch pages. Check the access log for OAI-SearchBot and ChatGPT-User, and confirm in OpenAI's documentation whether robots.txt rules apply to the user-initiated fetcher. Add explicit groups if you want to block or allow them deliberately.