robots.txt for AI agents: which bots to let in and which to keep out

Many stores block AI bots in robots.txt without knowing which ones. Some only collect training data, others decide whether your products appear in AI search, and some come only when a person asks. Here they are side by side, from their makers' own pages.

By Kupeta4 min read

Three kinds of AI bots

Every big AI company now runs several bots, and each does something else. Before you write a rule, know which kind you are dealing with:

  • Training. Collects pages to train AI models. Blocking it keeps your texts out of future training; it doesn't hide you from AI search.
  • Search. Builds the index assistants search in. Block it and your products won't be offered in AI answers.
  • On a person's request. Comes when someone asks an assistant to open your page or buy something. This is the AI shopper itself.

For a store, the search and request bots are customers' way in. The training bots are a separate decision about your content.

The bots, side by side

The name in the first column is the token you write in robots.txt. Whether it obeys robots.txt is what its maker says on its own page (checked on November 10, 2026; the sources are at the end).

TokenMakerWhat it doesObeys robots.txt
GPTBotOpenAITrainingYes
OAI-SearchBotOpenAISearch in ChatGPTYes
ChatGPT-UserOpenAIVisits on a person's requestMay not
ClaudeBotAnthropicTrainingYes
Claude-SearchBotAnthropicSearchYes
Claude-UserAnthropicVisits on a person's requestYes
PerplexityBotPerplexitySearchYes
Perplexity-UserPerplexityVisits on a person's requestGenerally no
GooglebotGoogleSearch, including AI answers in SearchYes
Google-ExtendedGoogleA token for training Gemini, not a separate botYes
Google-AgentGoogleVisits on a person's requestNo

Two things follow. First, Google-Extended only says whether Google may use your pages for its AI models; Googlebot still crawls for Search. Second, bots that come on a person's request mostly don't follow robots.txt, by their makers' own words. Blocking them there is a signal, not a lock.

Where to change it on your platform

  • Shopify: robots.txt is made from the robots.txt.liquid template in your theme's code; add the rules there.
  • WooCommerce / WordPress: a robots.txt file in the website's root folder, or the editor of your SEO plugin (Yoast and Rank Math have their own).
  • Other platforms: look in the SEO settings; if there is no editor, ask your platform's support.

Also check bot protection on your server or CDN. It can turn AI assistants away even when robots.txt lets them in, and robots.txt won't tell you. A test with a real agent shows it.

And Kupeta's own agent?

Kupeta's test shoppers always say who they are in the User-Agent and follow robots.txt. They never get around a captcha or bot protection; if they meet one, it's a finding in your report. How to recognise Kupeta's agent or keep it out.

The free Kupeta test reads your robots.txt and tells you which AI assistants it keeps out, with a fix for your platform. How Kupeta tests.

Questions

Does blocking GPTBot remove my store from ChatGPT search?

No. GPTBot collects training data. Search in ChatGPT uses OAI-SearchBot, and visits on a person's request come as ChatGPT-User. Block GPTBot and you only opt out of training.

Does Google-Extended affect my Google rankings?

No. It is a token that only says whether Google may use your content for its Gemini models. Googlebot keeps crawling for Search as before.

Can robots.txt stop an AI agent that shops for a person?

Not reliably. By their makers' own words, several bots that visit on a person's request may not follow robots.txt. If you really need to keep them out, it takes bot protection, and that also stops customers' assistants.

Sources