agentspeed.
← all articles
Learn

How robots.txt affects AI agents

Why your wildcard User-agent: * Disallow rule probably blocks ChatGPT, and how to fix it without breaking SEO.

4 min read·

/robots.txt is the original opt-in/out protocol for web crawlers. The same protocol governs AI agents. The mistake most sites make is inheriting a wildcard User-agent: * Disallow rule into AI traffic without realising. ChatGPT, Claude, and Perplexity respect explicit agent rules first; if you’ve blocked *, you’ve blocked them too.

Three precedence rules

  1. Agent-specific rules win. A User-agent: GPTBot Allow overrides a wildcard Disallow.
  2. Most-specific path wins. Within an agent’s rule block, longer path patterns take precedence.
  3. Allow beats Disallow on a tie. When two rules of equal specificity conflict, the Allow wins.

Recommended pattern

Allow named AI agents you want crawling your site. The cheapest single change for AI visibility is appending agent-specific blocks to robots.txt:

User-agent: GPTBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

Place these AFTER any wildcard * rule so they take precedence. To verify, run any URL through the AgentSpeed robots.txt checker; it returns paste-ready fix snippets when known agents are blocked.

What about Bytespider?

Bytespider is ByteDance’s crawler. It has nothing to do with Googlebot or other search crawlers. You can block one without affecting the other. That’s exactly what agent-specific rules are for.

What is Content-Signal?

Content-Signal is a Cloudflare-led extension to robots.txt that lets you grant fine-grained consent: search vs. inference vs. training vs. summarisation. The directive is per-purpose: Allow-Crawl-For-Search, Disallow-Crawl-For-Inference. Compliant agents honour it. AgentSpeed surfaces parsed Content- Signal directives in the robots.txt checker.

FAQ
Will allowing AI bots affect my SEO?

No. Allowing GPTBot, ClaudeBot, etc. is independent of how Googlebot indexes your site. AI bots and search bots are governed by separate User-agent rules.

Why does my site allow GPTBot but not ClaudeBot?

You have an agent-specific Disallow for ClaudeBot somewhere, usually inherited from a copy-pasted snippet. Audit your robots.txt for any User-agent: ClaudeBot blocks.

What is Content-Signal?

A Cloudflare-led extension to robots.txt that lets you grant fine-grained consent: search vs inference vs training vs summarisation. Compliant agents honour the directives. AgentSpeed surfaces parsed Content-Signal in the robots.txt checker.

See also
Verify on your site

Run a free AgentSpeed scan to see how your site scores across the live rubric: discoverability, readability, structured data, actionability, performance.

Run a scan →Browse all fixes →