AI search · 6 min read

Which AI crawlers to allow in robots.txt

OpenAI, Anthropic, Perplexity and Google each run separate agents for search, training and user requests. Allow the ones that bring visibility, and decide on training separately.

Three purposes, three kinds of agents

  • Search crawlers index pages so an AI assistant can find and cite them: OAI-SearchBot (OpenAI), Claude-SearchBot (Anthropic), PerplexityBot (Perplexity).
  • Training crawlers collect content for model training: GPTBot (OpenAI), ClaudeBot (Anthropic).
  • User-triggered fetchers open a page because a person asked: ChatGPT-User, Claude-User, Perplexity-User.
  • Google-Extended is not a crawler. It is a robots.txt token that controls whether Google may use content for Gemini models; Google says it does not affect Google Search.

Blocking a training crawler does not remove you from AI search, and blocking a search crawler does not stop training. Decide each purpose separately.

A common policy: visible in AI search, out of training

robots.txttext
# AI search and user requests: allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

# Model training: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /

User-agent: *
Allow: /

This is one reasonable policy, not a recommendation for every site. A publisher that licenses its content may block more; a documentation site that wants maximum reach may allow everything.

User-triggered fetchers play by different rules

Providers describe their user-triggered agents differently, so read each one’s page before relying on robots.txt for them. OpenAI says robots.txt rules may not apply to ChatGPT-User because a user initiated the request. Perplexity says Perplexity-User generally ignores robots.txt for the same reason. Anthropic says its bots honor robots.txt, and that disabling Claude-User stops Claude from retrieving your pages for user questions.

Verify what you set

  • Test the exact page path against each token, not just the home page.
  • Send a request with each AI user agent and compare the status and body with a normal request.
  • Check your server logs for each agent after a few days; providers publish their IP ranges so you can confirm real visits.