AI Crawler Directives

Published: • Updated: • Reading time: 12 minutes • Subject code: GEO-006

AI crawler directives are robots.txt rules and HTTP headers specifically configured to govern access for generative bots including GPTBot, PerplexityBot, ClaudeBot, and Google-Extended.

Key takeaways

1. What are AI crawler directives?

AI crawler directives tell automated systems which pages they may crawl and, where the provider supports it, how retrieved content may be used. The usual starting point is a domain's root /robots.txt file. Page-level robots metadata and HTTP response headers control different things, such as indexing and snippets.

The important distinction is purpose. A crawler that collects material for model training is not the same as a crawler that builds an AI search index. A user-requested page fetch is a third category. Treating all three alike can restrict search access when your intended policy was only to decline training.

For Generative Engine Optimization (GEO), access is a prerequisite for some retrieval paths, not a promise of citation. Clear content, reliable evidence, and an answer relevant to the query still matter.

The definition above uses “directives” as an umbrella term. Not every AI provider supports the same HTTP headers, and Google-Extended is a robots.txt control token rather than a separate bot you can identify in request logs.

2. Structural differences: search, training, and user fetches

These categories describe the providers' documented purposes, not a universal technical standard. Sources: OpenAI, Perplexity, Anthropic, and Google, checked 3 December 2026.

PurposeAgent or tokenPolicy implication
Traditional searchGooglebot, BingbotKeep access to public pages if traditional search discovery is part of your policy.
AI search discoveryOAI-SearchBot, PerplexityBot, Claude-SearchBotAllow public pages when you want these search systems to retrieve or index them.
Potential model trainingGPTBot, ClaudeBotSet a separate opt-out policy without automatically blocking the named search crawlers.
Google downstream usageGoogle-ExtendedControls specified training and grounding outside Search. It is not a separate HTTP crawler or a Search ranking control.
User-requested retrievalChatGPT-User, Perplexity-User, Claude-UserCheck each provider's policy. OpenAI says robots.txt may not apply; Perplexity says these fetches generally ignore it. Anthropic documents honoring robots.txt for its bots.

Google's documentation distinguishes Google-Extended from controls for generative features within Search. Do not assume that disallowing Google-Extended removes your pages from AI Overviews or AI Mode. Review Google's current Search-specific controls before changing that policy.

3. The five criteria for a deliberate crawler policy

TQMU uses the following editorial checklist to organize implementation. It is not a vendor certification or a guarantee of search visibility.

CriterionImplementationEvidence to retain
Purpose-specific decisionsDecide search, training, and user retrieval separately.A dated policy recording the owner and approved agents.
Correct protocol scopeServe robots.txt at the root of each relevant origin. Review subdomains independently.The actual response for each host and protocol you operate.
Correct group matchingReview named groups and path rules, not only the wildcard group.Tests for a public page and each excluded path.
Consistent deliveryAlign origin rules, cache, firewall, and page metadata.Response headers, crawl logs, and confirmed bot identity where possible.
Ongoing verificationReview vendor documentation and monitor requests after changes.A policy revision record and a follow-up access check.

RFC 9309 defines group matching and path matching. A named group does not inherit the wildcard group's restrictions. When multiple groups match the same agent, their rules are combined. The longest matching path rule applies; an Allow wins when equally specific rules conflict.

A blank Disallow: does not mean “block everything.” Disallow: / does. Keep /robots.txt itself accessible so compliant crawlers can read the policy. An allow rule does not override a login requirement, a firewall challenge, or a missing page.

4. Configure AI crawler directives

This procedure implements one explicit choice: allow search discovery of public content while declining the named training uses. Your organization may choose a different policy. Review the example before deployment.

  1. Choose the permitted uses Record which public pages may be searched, whether model training is permitted, and who approves the policy. Treat user-requested retrieval separately.
  2. Review the current robots file Fetch the root robots.txt for each relevant origin. Save the existing file and identify named groups, wildcard restrictions, private paths, and sitemap declarations.
  3. Merge the purpose-specific rules Adapt the example below. Replace the capitalized placeholder with your actual excluded path, repeat all necessary exclusions in each allowed named group, and preserve existing rules and sitemap declarations.
  4. Check headers and delivery controls Inspect representative public pages for indexing and snippet restrictions. Confirm the origin and firewall do not challenge intended crawlers, and keep confidential content behind real access controls.
  5. Verify and retain the evidence Check public and excluded URLs against a protocol-aware robots parser, inspect responses, and monitor verified crawler requests. Record the change date and rerun the audit as one diagnostic input.

Copy-paste robots.txt example

Copy and edit all placeholder text in CAPITALS in the code blocks before implementing. Replace /PRIVATE-PATH/ with an actual excluded path, or remove that line if it does not apply. This is a merge example, not a replacement for your existing file. It deliberately blocks the named training agents; it does not block every possible training crawler.

# Default: public access, with an example excluded path.
User-agent: *
Allow: /
Disallow: /PRIVATE-PATH/

# Traditional search.
User-agent: Googlebot
User-agent: Bingbot
Allow: /
Disallow: /PRIVATE-PATH/

# AI search discovery, independent of model training.
User-agent: OAI-SearchBot
User-agent: PerplexityBot
User-agent: Claude-SearchBot
Allow: /
Disallow: /PRIVATE-PATH/

# Decline the named model-training crawlers.
User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /

# Decline Google's specified training and non-Search grounding uses.
# This is not a separate HTTP crawler or a Google Search opt-out.
User-agent: Google-Extended
Disallow: /

Keep any existing Sitemap declarations and other agents' rules. If you already have a named group for one of these agents, edit that group deliberately: appending a conflicting group can combine rules rather than replace them. Duplicate your real exclusions in every search group that should honor them.

User-triggered fetchers are intentionally absent from this example. A robots.txt line cannot make an unreliable or unsupported control reliable. Use the provider's documented controls and server-side access protection when content must not be served.

5. HTTP headers are not a universal training opt-out

X-Robots-Tag can communicate page-level indexing and snippet instructions to engines that support those values. It is also useful for non-HTML resources, such as a PDF. An HTML robots meta tag serves a similar purpose for an HTML page. Neither should be presented as a universal AI training control.

For example, a resource you do not want indexed could return:

X-Robots-Tag: noindex

The crawler must be able to fetch the response to discover that header. Blocking the URL in robots.txt can prevent it from seeing a noindex instruction. A crawl block alone does not guarantee removal of a previously indexed URL.

Google documents nosnippet, max-snippet, and data-nosnippet controls, but support and effect differ across products. Do not invent noai or noimageai guarantees for providers that have not documented them. Source: Google's robots metadata and X-Robots-Tag reference, checked 3 December 2026.

6. Verify the policy without confusing a test request with a real bot

Start with the file the public origin actually serves, not a local copy in your editor. Check response status, body, redirects, and cache behavior. Then inspect a public article, a restricted path, and a non-HTML resource if you set headers there.

A request with an OAI-SearchBot user-agent string can reveal how your server responds to that string. It does not prove the request came from OpenAI or that OpenAI successfully indexed the page. HTTP user agents are spoofable. Use published provider IP information or documented verification methods where available, and never disable your firewall broadly just because a request claims to be a bot.

Keep a small evidence log: origin, tested URL, agent or control token, expected policy, observed response, timestamp, and policy owner. The providers' documentation is the source for bot purpose; your logs are the source for what reached your server. Neither provides a universal citation or ranking score.

A training opt-out signals a preference for supported future uses. It does not erase an existing model, remove copies held elsewhere, or prevent all mentions of your brand.

7. How TQMU checks AI Crawler Access

The AI Crawler Access parameter examines robots.txt text for a configured set of crawler names and potential blocking rules. It is a lightweight diagnostic, not a full RFC 9309 policy evaluator, a firewall test, or proof that an AI provider retrieved a page.

The current check groups search and training agents together. An intentional GPTBot or ClaudeBot training block can therefore reduce this parameter's score even when your search access policy is correct. Do not remove a deliberate training opt-out just to improve a score. Review the finding against your approved policy.

The current check also does not cover every newer search agent, such as Claude-SearchBot. A clean result cannot certify access for every provider or path. This article does not change the engine, its scoring, or its parameter count.

Open the Free GEO Audit to check the website signals TQMU currently measures. Use the result alongside protocol-aware robots testing and request logs. The fuller AI crawler access and robots.txt guide provides related context; the llms.txt Manifest is a curated content index, not an access-control substitute.

8. Sources and maintenance

This entry draws on technical specifications and provider documentation rather than an experiment. No sample size or visibility-lift claim applies. Vendor-purpose descriptions were checked on 3 December 2026; recheck them when you revise your policy.

9. Technical implementation: code and schema standards

Every lexicon term carries validated JSON-LD in the server-rendered <head>. This is the structured data published on this page.

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "DefinedTermSet",
      "@id": "https://tqmu.com/knowledgebase/lexicon#glossary",
      "name": "TQMU Generative Engine Optimization Standards & Lexicon",
      "url": "https://tqmu.com/knowledgebase/lexicon"
    },
    {
      "@type": "DefinedTerm",
      "@id": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives#term",
      "name": "AI Crawler Directives",
      "termCode": "GEO-006",
      "description": "AI crawler directives are robots.txt rules and HTTP headers specifically configured to govern access for generative bots including GPTBot, PerplexityBot, ClaudeBot, and Google-Extended.",
      "url": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives",
      "inDefinedTermSet": "https://tqmu.com/knowledgebase/lexicon#glossary"
    },
    {
      "@type": "TechArticle",
      "@id": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives#article",
      "headline": "AI Crawler Directives",
      "description": "Configure robots.txt for AI crawlers: separate GPTBot training from AI search, understand Google-Extended and HTTP headers, and verify access with evidence.",
      "inLanguage": "en",
      "datePublished": "2026-12-03T05:24:27.940237+00:00",
      "dateModified": "2026-12-03T05:24:27.940237+00:00",
      "mainEntityOfPage": {
        "@id": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives#webpage"
      },
      "about": {
        "@id": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives#term"
      },
      "author": {
        "@id": "https://tqmu.com/#organization"
      },
      "publisher": {
        "@id": "https://tqmu.com/#organization"
      }
    },
    {
      "@type": "FAQPage",
      "@id": "https://tqmu.com/knowledgebase/lexicon/ai-crawler-directives#faq",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "How do I allow AI search but block GPTBot training?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Allow OAI-SearchBot for OpenAI search and disallow GPTBot separately. Review other providers independently: PerplexityBot and Claude-SearchBot serve search, while ClaudeBot is associated with potential model training. Merge rules with your existing file and preserve path exclusions."
          }
        },
        {
          "@type": "Question",
          "name": "Is PerplexityBot a training crawler?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Perplexity documents PerplexityBot as a crawler that surfaces and links websites in search results, not one used to crawl content for foundation-model training. Perplexity-User is a separate user-requested fetcher."
          }
        },
        {
          "@type": "Question",
          "name": "Does blocking Google-Extended remove my pages from Google Search?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. Google says Google-Extended does not affect inclusion or ranking in Google Search. It controls specified downstream training and non-Search grounding uses, and has no separate HTTP request user agent."
          }
        },
        {
          "@type": "Question",
          "name": "Do named groups inherit the wildcard robots.txt rules?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. When a specific group matches a crawler, the wildcard group is not an inherited baseline. Repeat required path exclusions in the named groups and review combined matching groups and longest-path matching."
          }
        },
        {
          "@type": "Question",
          "name": "Can X-Robots-Tag prevent all AI training?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "No. X-Robots-Tag expresses supported indexing and snippet directives; it is not a universal training opt-out. Provider-specific training preferences and real server-side access controls solve different problems."
          }
        },
        {
          "@type": "Question",
          "name": "Will every user-requested AI fetch obey robots.txt?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Do not assume that. OpenAI says robots.txt may not apply to user-initiated actions, and Perplexity says its user-requested fetcher generally ignores it. Anthropic documents honoring robots.txt for its bots. Check current provider guidance."
          }
        },
        {
          "@type": "Question",
          "name": "Why can a deliberate training block lower my TQMU score?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "The current AI Crawler Access check groups several search and training agents together and uses lightweight text checks. A training opt-out can lower that parameter without proving a search-access problem. Preserve your approved policy and interpret the finding in context."
          }
        }
      ]
    }
  ]
}

10. Frequently asked questions

How do I allow AI search but block GPTBot training?

Allow OAI-SearchBot for OpenAI search and disallow GPTBot separately. Review other providers independently: PerplexityBot and Claude-SearchBot serve search, while ClaudeBot is associated with potential model training. Merge rules with your existing file and preserve path exclusions.

Is PerplexityBot a training crawler?

Perplexity documents PerplexityBot as a crawler that surfaces and links websites in search results, not one used to crawl content for foundation-model training. Perplexity-User is a separate user-requested fetcher.

Does blocking Google-Extended remove my pages from Google Search?

No. Google says Google-Extended does not affect inclusion or ranking in Google Search. It controls specified downstream training and non-Search grounding uses, and has no separate HTTP request user agent.

Do named groups inherit the wildcard robots.txt rules?

No. When a specific group matches a crawler, the wildcard group is not an inherited baseline. Repeat required path exclusions in the named groups and review combined matching groups and longest-path matching.

Can X-Robots-Tag prevent all AI training?

No. X-Robots-Tag expresses supported indexing and snippet directives; it is not a universal training opt-out. Provider-specific training preferences and real server-side access controls solve different problems.

Will every user-requested AI fetch obey robots.txt?

Do not assume that. OpenAI says robots.txt may not apply to user-initiated actions, and Perplexity says its user-requested fetcher generally ignores it. Anthropic documents honoring robots.txt for its bots. Check current provider guidance.

Why can a deliberate training block lower my TQMU score?

The current AI Crawler Access check groups several search and training agents together and uses lightweight text checks. A training opt-out can lower that parameter without proving a search-access problem. Preserve your approved policy and interpret the finding in context.

11. Ask AI about this term

Check how AI assistants describe this page. Each link opens the assistant with the question filled in.

12. Recommended next steps