AgentGrade
EnglishEspañol日本語中文
← Knowledge Base

robots.txt for Agents

What are agent-specific robots.txt directives?

Standard robots.txt controls web crawlers. By adding User-agent directives for AI-specific crawlers, you signal that your site is aware of and welcomes AI agents.

Example

Add to your /robots.txt:

User-agent: GPTBot
Allow: /

User-agent: Claude-Web
Allow: /

User-agent: Anthropic-AI
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

Known AI crawlers

User-agentOperatorPurpose
GPTBotOpenAITraining and browsing
Claude-WebAnthropicWeb browsing
Anthropic-AIAnthropicTraining
PerplexityBotPerplexitySearch and answers
Google-ExtendedGoogleAI training
ApplebotAppleSiri and AI features

Why it matters

Many sites block AI crawlers by default. Explicitly allowing them signals that your content and APIs are designed for agent consumption.

Spec maturity

Established convention. robots.txt is a longstanding web standard (RFC 9309). AI-specific User-agent strings are defined by each AI company.

Learn more

Related