Build a documented AI bot policy that separates search, user-triggered retrieval and model training, then verifies controls with current guidance and logs.

For publishers, developers and governance teams, this guide separates search retrieval, user-triggered access and model-training collection so each crawler can be assessed against a documented business, security and rights decision.

Short answer: AI products may use different agents for search, user-requested retrieval and model training. Read each provider’s current documentation, decide the purpose you permit, express rules for the exact published user-agent tokens, and verify responses in server or CDN logs. robots.txt is a voluntary crawling protocol, not access control, licensing or proof that data was never used. Coordinate robots rules with firewalls, page directives, contracts and legal advice, and review the policy whenever providers change their agents.

“Allow AI” is not one decision

A publisher may want public articles available in search-like answers while declining use for training a general-purpose model. Another may block automated retrieval from a subscription archive but allow a bot to fetch a page when a logged-in user explicitly requests it. Providers implement these purposes differently, and terminology changes.

OpenAI currently documents distinct agents including OAI-SearchBot for search, GPTBot for potential model-training use and ChatGPT-User for user-triggered actions. Anthropic documents ClaudeBot, Claude-SearchBot and Claude-User. Google documents Google-Extended as a standalone product token for some Gemini training and grounding controls, while Googlebot governs Google Search crawling. Those examples show why one broad rule can produce an unintended result.

Always consult the primary provider page on the decision date. Do not copy a static “all AI bots” block list from a third party and assume it remains complete.

The AI Bot Policy Matrix

CDM’s AI Bot Policy Matrix links each agent to purpose, decision, implementation and evidence.

FieldWhat to recordWhy it matters
Provider and tokenExact documented user-agent or product tokenSimilar names can have different purposes
Stated purposeSearch, training, user-triggered retrieval or other“AI crawler” is too broad
Content classPublic editorial, licensed media, account area, APIRights and risk differ
DecisionAllow, disallow, rate-limit, authenticate or unresolvedCreates accountable policy
Controlrobots rule, firewall, authentication, contract or headerControls are not interchangeable
VerificationLog query, response test and last seen dateConfiguration is not evidence of effect
Owner and reviewLegal, security, editorial and next reviewDocumentation changes

Do not fill an unknown purpose from inference. Mark it unresolved and seek clarification. A search agent’s published purpose does not reveal how a provider ranks or cites a page, and allowing it cannot guarantee inclusion.

Understand what robots.txt does

RFC 9309 standardises the Robots Exclusion Protocol. A robots.txt file at the origin gives rules to compliant crawlers. It is not an authorisation system: blocked URLs may remain publicly accessible, malicious clients can ignore the file, and the protocol does not itself define copyright or contract rights.

Rules are sensitive to user-agent groups, path matching and deployment location. A syntax error, cached file or environment mismatch can produce unexpected access. Test the live production file and preserve change history. Do not publish confidential paths in robots.txt under the belief that it protects them; use authentication and server-side authorisation.

Page-level controls such as noindex have a different purpose and require the crawler to access the page to see them. Blocking a URL in robots.txt can prevent that discovery. Provider-specific tokens may operate outside standard indexing directives. Map the desired outcome before choosing a control.

Separate crawling policy from rights policy

A technical allow or disallow rule does not settle whether a use is licensed, lawful or contractually permitted. Conversely, a rights reservation may require a technical implementation beyond robots.txt. Involve counsel for material copyright, database, privacy and contractual questions, especially across jurisdictions.

Publish a human-readable AI and crawler policy if it helps partners understand the organisation’s choices. State scope and dates. Avoid claiming that a rule retroactively removed prior training data unless the provider confirms that outcome. Retain evidence of notices, configurations and provider communications.

Security remains independent. A user-triggered bot may fetch a URL at a person’s request, but it should not bypass access controls. Protect private and paid content at the server, limit tokens and personal data, and assess server-side request risks.

Worked application: a public journal with paid research

Imagine a publisher with free articles, paid reports and downloadable licensed datasets. The policy team wants free articles eligible for answer-engine search but does not permit model-training crawling. Paid reports must remain account-protected, while dataset reuse follows licence terms.

The matrix records the currently documented search and training agents for each provider. robots.txt expresses the decision for public URLs where the provider supports that distinction. Authentication protects the paid area regardless of crawler name. Dataset downloads require authorised sessions and enforce licence conditions.

After deployment, the team checks the live robots file, tests public responses, reviews CDN rules and monitors verified bot traffic. It keeps a dated snapshot of the provider guidance used. If a provider merges tokens or changes stated purposes, the policy reopens. The publisher reports this as a governance implementation, not proof of downstream exclusion or visibility.

Verify with logs carefully

Search logs for the exact agent token, path, status and timestamp. Because user-agent strings can be forged, follow the provider’s verification guidance where available, which may include reverse and forward DNS checks or published IP mechanisms. A request from an unverified string is only a claimed identity.

Check whether a CDN, bot manager or web-application firewall acted before the origin. A robots allow can still receive a 403. A cached response may differ from the origin. Record meaningful outcomes: requested, allowed by robots, accepted by edge, served by origin and response status.

Absence in logs is not evidence that the content is ignored forever. The agent may not have visited during the retention window, logging may be sampled, or retrieval may occur through another documented pathway. State the observation window.

Governance cadence

Review the matrix at least quarterly for high-value publishing systems and immediately after provider announcements, major licensing changes or security incidents. Assign one technical owner and one policy owner. Require approval for blanket rule changes because they can affect discovery, infrastructure cost and rights posture at once.

Test in a staging domain only for syntax; provider crawlers may not visit it. Use controlled production deployment, monitoring and a rollback plan. Keep directives concise. Complexity makes audits harder and path mistakes more likely.

Limitations and risks

Provider documentation describes stated use, not every internal system. Product integrations and crawler identities can evolve. robots.txt applies to compliant crawlers and is not retrospective. Logs are incomplete when traffic passes through caches or retention is short.

Blocking a training crawler may have no immediate visible effect, while blocking a search crawler can reduce eligibility for links or citations. The size and direction of that effect are not guaranteed. Rights law and machine-learning exceptions vary; this article cannot determine legal position.

Finally, overly permissive access can create infrastructure and scraping cost. Rate controls must be implemented without accidentally blocking desired agents or human accessibility tools.

CDM verdict

Treat crawler control as a maintained policy system. Decide by purpose and content class, implement layered controls, and verify each layer with dated evidence. The goal is not to find one magical robots.txt file. It is to make a defensible, reviewable choice while accepting that technical controls, product eligibility and legal rights are related but distinct.

Frequently asked questions

OpenAI documents GPTBot for potential model-training use and OAI-SearchBot for search features. A rule aimed only at GPTBot is therefore not the same as blocking the search agent. Check the current OpenAI documentation and live configuration, because tokens and uses can change. No allow rule guarantees that the site will be surfaced or cited.

Can robots.txt protect private or subscription content?

No. It publicly states preferences to compliant crawlers but does not prevent a person or non-compliant client from requesting the URL. Protect restricted content with authentication, authorisation and appropriate server controls. Avoid listing secret URLs as a security strategy. Coordinate rights terms, rate limits and access logging separately from the robots policy.

Should a publisher block every AI training crawler?

That is a business, rights, mission and risk decision, not a universal best practice. Consider licensing strategy, desired research use, discoverability, infrastructure cost and provider commitments. Decide per content class and agent, involve legal and security owners, and document unknowns. Revisit the choice as provider policies and applicable law evolve.

How do we verify that a bot respected our rule?

Test the live robots response, inspect edge and origin logs, verify the agent identity using provider-supported methods and compare requests before and after the change. Record the observation window and cache behaviour. A lack of requests is not conclusive proof of compliance or deletion, while a user-agent string alone is not proof of provider identity.

Next decision: Marketing Measurement Without Perfect Attribution

Related reading: JavaScript, Static HTML and AI Crawlers: What Can Actually Be Retrieved? · How Brands Become Sources in ChatGPT, Gemini, Copilot and Perplexity · AI Visibility Myths: Schema, llms.txt, Content Chunking and Other Claims Tested

Sources and research notes

CDM Editorial

This article is editorial guidance. Apply the principles in proportion to your market, evidence, and responsibilities.