How AI Answer Engines Retrieve Sources for Their Answers

clock Oct 30,2026
pen By SEO ANALYSER
How AI Answer Engines Retrieve Sources-1

AI search guide

Retrieval decides which pages an AI answer can draw on. Here is how it works, which crawler roles each provider documents, and what remains unobserved.

Short answer

Answer engines retrieve documents at question time, and the providers document crawlers rather than ranking

Retrieval-augmented systems search an index or the live web when a question is asked, then pass what they find to a language model as context. Google, OpenAI, Perplexity and Anthropic each document which bots fetch content and for what purpose, but none of the documentation reviewed explains how retrieved sources are ranked or chosen. Marketers can therefore manage access through the documented controls, while the selection step has to be treated as unobserved and tested rather than assumed.

Mechanism

Retrieval is a lookup step placed before generation

The retrieval-augmented generation paper by Lewis and colleagues, first posted in May 2020, combined a model's stored parameters with a dense vector index of Wikipedia searched by a neural retriever. The retrieved passages were supplied to the generator, which is why such systems can answer from material the model was never trained on. Commercial answer engines apply the same idea to a search index or the live web, and Google's guidance describes its generative features as grounded in pages retrieved through core Search systems, with related queries issued to gather more material.

Training and retrieval therefore differ in timing. Training happens before release and is fixed until the next model, whereas retrieval happens for each question and can reflect a page published days earlier. That difference is why crawl access, indexing and page content matter for citations even when a model's training data never contained the page. The broader five-stage process is set out in the guide to generative engine optimization (GEO).

Evidence

What is documented and what is not

Documented

Access and attribution. Which bots exist, what each is for, how site owners can control them in robots.txt, and how citations are returned. Anthropic's web search tool, for example, returns each citation with a URL, a title and cited text of up to 150 characters.

Not documented

Ranking and selection. How candidates are scored, how many are kept, and why one page is cited over another. Anthropic's documentation says Claude decides when to search and may search several times, but it does not say how results are ranked or selected.

Any claim about embedding similarity, reranking or freshness weighting in a named product is inference. Those techniques are common in the research literature, but the providers reviewed do not confirm them for their own systems.

Documented details and unknowns in how AI answer engines retrieve sources

Crawlers

Documented crawler roles by provider

ProviderBotDocumented roleDocumented robots.txt behaviour
OpenAIOAI-SearchBotGoverns appearance in ChatGPT search resultsManaged in robots.txt; compliance not stated
OpenAIGPTBotTrainingManaged in robots.txt; compliance not stated
OpenAIChatGPT-UserUser-triggered fetchesRobots.txt rules may not apply to user-triggered fetches
PerplexityPerplexityBotSurfaces and links sites in answers; not used for trainingAllowing it is recommended; compliance not stated
PerplexityPerplexity-UserUser-initiated fetchesGenerally ignores robots.txt rules
AnthropicClaudeBotTrainingHonoured, per Anthropic's general statement on its bots
AnthropicClaude-SearchBotSearch indexingHonoured, per Anthropic's general statement on its bots
AnthropicClaude-UserUser-triggered retrievalHonoured, per Anthropic's general statement on its bots

The last column records what each provider's documentation states. OpenAI and Perplexity describe robots.txt as a control for site owners without stating that their search and training bots honour it, and Anthropic makes one general statement covering all of its bots rather than one per bot. Directive-level examples are in AI crawler controls.

Google works differently. Its generative features draw on the Search index, so Googlebot access and indexing apply, while Google-Extended is a separate control that limits AI training and grounding in some other Google systems rather than Search inclusion. A page shown as a supporting link in AI Overviews or AI Mode must be indexed and eligible to appear in Search with a snippet. The measurement side is covered in Google AI Mode visibility.

Check

How to check what each engine can reach

  1. 01

    Read the current robots.txt

    List every rule that names a crawler above, plus any wildcard rule that would apply to the ones not named.

  2. 02

    Separate search bots from training bots

    Decide per provider whether the goal is to appear in answers, to limit training, or both, since the bots are controlled independently. The robots.txt guide covers rule syntax.

  3. 03

    Confirm the pages are indexable

    A page must be indexed and eligible to appear in Google Search with a snippet to be linked in its generative features, so noindex tags, nosnippet controls and canonical errors need clearing first.

  4. 04

    Allow for propagation

    OpenAI and Perplexity both state that robots.txt changes can take around 24 hours to take effect, so tests run straight after an edit can mislead.

  5. 05

    Record outcomes with a fixed prompt set

    Because selection is unobserved, the only evidence of what is cited is repeated testing. The AI citation tracking guide describes a method.

Checking what each AI engine can reach

Limits

What access control cannot do

Allowing a crawler makes a page eligible for retrieval and nothing more. Google states that its generative features need no special schema, llms.txt file or content chunking, and that no third-party tool has access to its AI systems, so claims of visibility into a ranking process should be read with that in mind. Bot names and behaviours also change, which means each provider's own page is the reference and any list, including the table above, has a review date. To act on retrieval, see improve AI answer inclusion.

User-triggered fetches are not a crawl signal

A visit from ChatGPT-User or Perplexity-User means a person asked for that page. It shows interest in the content, not that the page was selected by a retrieval index.

SEO Analyser

Track which sources AI answers actually cite

SEO Analyser's AI Visibility module tracks citations, AI share of voice and answer inclusion across AI engines such as ChatGPT, Claude and Perplexity, so the unobserved selection step can be measured from its outputs. Free for 7 days.

Start free trial

Frequently asked questions

AI retrieval FAQs

Does blocking GPTBot remove a site from ChatGPT search?

According to OpenAI's documentation, the bots are independent. OAI-SearchBot governs appearance in ChatGPT search results, while GPTBot relates to training, so blocking one does not control the other. OpenAI adds that when both are allowed, it may use the results of one crawl for both purposes.

Do user-triggered fetchers obey robots.txt?

It depends on the provider. OpenAI states that robots.txt rules may not apply to ChatGPT-User, and Perplexity states that Perplexity-User generally ignores robots.txt because a person asked for the page. Anthropic's general statement on honouring robots.txt covers its bots, Claude-User included.

Does Anthropic crawl differently for training and search?

Anthropic documents three bots with separate roles: ClaudeBot for training, Claude-User for user-triggered retrieval and Claude-SearchBot for search indexing. Its documentation makes one general statement that Anthropic's bots respect “do not crawl” signals by honoring industry standard directives in robots.txt, rather than a separate statement for each bot.

Is retrieval the same as training?

No. Training changes a model's parameters ahead of time, whereas retrieval fetches documents when a question is asked and passes them to the model as context.

Do the providers publish how sources are ranked?

The documentation reviewed does not. Crawler roles and citation formats are documented, but the ranking and selection of retrieved sources is not.

Summary

Control access, then measure selection. Crawler roles are documented and can be managed in robots.txt, but ranking and source choice are not disclosed, so citations should be tested with a fixed prompt set and recorded over time.

References

Sources and further reading