AI agents in robots.txt: which bots to allow and which to block
The short answer
Allow the agents that fetch a page because a person asked (ChatGPT-User, Claude-User, Perplexity-User) and the AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot). Decide on the training crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended) on their own. Blocking a training crawler keeps your pages out of future model training. Blocking a search crawler or a user fetcher keeps you out of the answers people get today.
To check your own file, paste it into the free AI robots.txt tester and see which of these 12 agents it blocks.
What kinds of AI bots visit a website?
Each AI company now runs more than one bot, and they do different jobs. They fall into three groups:
- Acts for a person Fetches one page right now because someone asked an assistant a question that needs it.
- AI search Crawls ahead of time to build the index an AI search product answers from.
- Training Collects pages that may be used to train future models. Some of these tokens are only a permission flag and never visit at all.
The robots.txt token is the name you put after User-agent:. Rules for one token do not carry over to another, so blocking GPTBot does nothing to OAI-SearchBot.
What does each AI user agent do?
ChatGPT-User
OpenAI Acts for a person
Visits a page when someone asks ChatGPT, or a custom GPT, something that needs it. OpenAI says robots.txt rules may not apply to it, because a person started the fetch, and that it is not used to decide what appears in ChatGPT search.
OAI-SearchBot
OpenAI AI search
Crawls for ChatGPT's search features. Block it and your pages drop out of ChatGPT search answers, though they can still show up as a plain link. OpenAI says a robots.txt change takes about 24 hours to reach search.
GPTBot
OpenAI Training
Collects pages that may be used to train OpenAI's models. You can block it and still allow OAI-SearchBot.
Claude-User
Anthropic Acts for a person
Visits a page when someone asks Claude a question that needs it. Anthropic says blocking it stops Claude from fetching your content for a user's question.
Claude-SearchBot
Anthropic AI search
Crawls to improve Claude's search results. Blocking it keeps your pages out of that index, which Anthropic says can make you less visible in search answers.
ClaudeBot
Anthropic Training
Collects pages that could be used to train Anthropic's models. Blocking it asks Anthropic to leave your future pages out of training data.
Perplexity-User
Perplexity Acts for a person
Visits a page to answer someone's question and links to it in the answer. Perplexity says this fetcher generally ignores robots.txt, because a person asked for it.
PerplexityBot
Perplexity AI search
Crawls so sites can appear in Perplexity's search results. Perplexity says it is not used to train foundation models.
Googlebot
Google Search
Google's main crawler. Its rules apply to Google Search and all of its features, so blocking it removes you from Google, AI answers included.
Google-Extended
Google Training and grounding
A permission token with no crawler of its own. It controls whether pages Google already crawls can be used to train Gemini models and to ground their answers. Google says it has no effect on inclusion or ranking in Google Search.
Applebot-Extended
Apple Training
Also a permission token that never crawls. Blocking it opts your pages out of training Apple's foundation models. They stay findable in Siri, Spotlight and Safari, which run on Applebot.
Bingbot
Microsoft Search
Bing's search crawler. Blocking it removes you from Bing search results.
Meta, Amazon, Google-Agent, Apple, DuckDuckGo, Mistral, Common Crawl, ByteDance and Huawei
These crawlers are not in Augur's check or the tester yet, but they turn up in store robots.txt files. Vendor facts read November 18, 2026.
Meta-ExternalAgent
Meta Training and indexing
Crawls for what Meta calls use cases such as training foundation AI models or improving products by indexing content directly. Meta says to block it with a Disallow in robots.txt, and publishes no IP list.
Meta-WebIndexer
Meta AI search
Crawls to improve Meta AI search results. Meta says allowing it helps Meta cite and link to your content in Meta AI's answers, so you can block Meta-ExternalAgent and keep this one open.
Meta-ExternalFetcher
Meta Acts for a person
Fetches a link because a user asked, including for Meta's agentic AI. Meta says it may bypass robots.txt, because a user requested the fetch.
facebookexternalhit
Meta Link previews
Reads a page when someone shares it on Facebook, Instagram or Messenger, for the title, description and image in the preview. Meta says it might bypass robots.txt only for security or integrity checks.
Amazonbot
Amazon Training and products
Crawls to improve Amazon's products and services, and Amazon says the data may be used to train Amazon AI models. It follows Allow and Disallow, not Crawl-delay.
Amzn-SearchBot
Amazon Search (Alexa)
Crawls for search in Amazon products such as Alexa. Amazon says it does not crawl content for generative AI model training.
Google-Agent
Google Acts for a person
Used by agents on Google's infrastructure that browse and act when a user asks. Google says its user-triggered fetchers generally ignore robots.txt, and gives it no robots.txt token.
Applebot
Apple Search
Apple's crawler for Spotlight, Siri and Safari search. If your file has no Applebot group but has a Googlebot one, Apple says Applebot follows the Googlebot rules.
DuckAssistBot
DuckDuckGo AI answers
Crawls pages in real time for DuckDuckGo's AI-assisted answers. DuckDuckGo says the data does not train AI models and that blocking it does not affect your search rankings.
MistralAI-User
Mistral AI Acts for a person
Visits a page when someone asks Mistral's Vibe a question, and links to it. Mistral says it does not crawl automatically and is not used for training.
CCBot
Common Crawl Open web dataset
Crawls for Common Crawl's free public archive of the web. It reads robots.txt first and obeys Crawl-delay.
Bytespider
ByteDance Search (Toutiao)
ByteDance's crawler. Its only ByteDance page we found, from 2019, calls it the crawler for Toutiao Search and does not say whether it follows robots.txt.
PetalBot
Huawei Search and AI search
The crawler for Huawei's Petal Search, which Huawei says also feeds Huawei Assistant and AI Search. It follows robots.txt; blocking it takes you out of Petal Search.
Each name links to its own page in the AI agent directory: user agent string, IP list, robots.txt lines and how many US online stores block it.
What should a brand's robots.txt say?
If you want people's assistants and AI search to find you but would rather not feed model training, name each training token and leave everything else open:
# Allow AI assistants and AI search. Opt out of model training.
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: *
Allow: /
Sitemap: https://www.example.com/sitemap.xml
If you are happy for your pages to be used in training too, you need no AI lines at all: a site with no rules for a bot lets it in. Keep private areas such as carts, accounts and internal search out under User-agent: *, where they apply to every bot that has no group of its own.
What are the common robots.txt mistakes with AI bots?
- Blocking GPTBot and thinking ChatGPT is gone. GPTBot is only training. ChatGPT search uses OAI-SearchBot and live answers use ChatGPT-User.
- Naming a bot and forgetting the shared rules. A bot follows the group that names it and ignores the
User-agent: *group. If you give GPTBot its own group, repeat any shared Disallow lines it should also obey. - A firewall that undoes robots.txt. Bot protection that answers 403 or a challenge page to identified AI agents blocks them however open your robots.txt is. Check what your CDN does with these user agents, not only the file.
- Expecting robots.txt to stop user fetchers. OpenAI and Perplexity both say their user-initiated fetchers may not follow it. If you must keep a page from them, it needs a login or a server rule.
- A robots.txt that errors. If the file answers with a server error (5xx), RFC 9309 tells crawlers to treat the whole site as off limits. Make sure it returns 200 as plain text.
Sources
- Overview of OpenAI Crawlers (OpenAI)
- Does Anthropic crawl data from the web, and how can site owners block the crawler? (Anthropic)
- Perplexity Crawlers (Perplexity)
- List of Google's common crawlers (Google Search Central)
- About Applebot (Apple)
- RFC 9309: Robots Exclusion Protocol (IETF)