AI crawlers: robots.txt, ai.txt and the decisions to make

Three files determine how AI agents access your site. What you grant or refuse shapes your visibility in generative search engines and your GDPR exposure.

Architecture diagram illustrating the exchanges between a website and several types of automated crawlers

Classic search engines read your site via their robot. Generative AI agents do the same, but with a key difference: they may integrate your content into their responses, use it to train their model, or feed it into a commercial product. The question is no longer simply "are you indexed?" but "by whom, for what purpose, and under which legal basis?"

Three configuration files are now at the heart of this debate: robots.txt, ai.txt and, to a lesser extent, llms.txt. Understanding their legal and technical scope allows you to make informed decisions, whether you aim to maximise your visibility in AI responses or to protect a proprietary corpus.

Three files, three functions

robots.txt is the established protocol. Standardised by RFC 9309 in September 2022, it defines which agents are authorised to crawl your site and the paths they may or may not follow. The syntax User-agent: GPTBot followed by Disallow: / is sufficient to block OpenAI's crawler. Each major provider (OpenAI, Anthropic, Google, Meta, Common Crawl) publishes the name of its agent; it is straightforward to target them by block. robots.txt is universally recognised and constitutes the minimal contractual baseline.

ai.txt is a community proposal, initially led by Spawning.ai, that explicitly structures the permitted uses — search engine indexing, model training, synthesis within generative responses — via a dedicated file placed at the domain root. It complements robots.txt by naming use cases that the Robots Exclusion Protocol syntax cannot express. No IETF standard governs it to date, but several documentation organisations and publishers have adopted it. The EDPB consultation on Guidelines 03/2026, adopted on 7 July 2026 with the public consultation closing on 30 October, explicitly cites ai.txt as a relevant signal for assessing legitimate interest under Article 6(1)(f) GDPR.

llms.txt is a different proposal: a Markdown file that describes your site in natural language for LLMs, to help them better understand its context. Its objective is not access control but response quality. Google indicated in May 2026 that it ignores this file for Googlebot and its AI agents, which limits its practical impact for SEO operators.

What the EDPB said about the ai.txt signal

Guidelines 03/2026 address the situation of publishers who have explicitly configured their opposition to scraping via robots.txt or ai.txt. For the European authority, that configuration constitutes an objective element that weighs in the balancing test when assessing the "legitimate interest" legal basis. An AI operator who overrides a Disallow directive or a restrictive ai.txt directive faces an elevated risk of failing to satisfy the conditions of Article 6(1)(f).

Conversely, the absence of any directive — or a permissive directive — does not exempt the operator from demonstrating its legal basis, but it weakens the publisher's position in litigation. In other words, doing nothing is not a neutral stance.

Four profiles, four configurations

The decision depends on your objectives. Here are four reference configurations:

Profile 1 — Maximum visibility in AI responses. You want your articles, case studies and guides to appear in responses from ChatGPT, Perplexity or Gemini. robots.txt: no restrictions on known AI agents. ai.txt: Allow: all. This is the default if you do nothing, but declaring it explicitly strengthens your GEO signal.

Profile 2 — Indexing without training. You accept that your content is cited in responses (visibility) but refuse to have it used to train future models. robots.txt: allow synthesis agents (e.g. User-agent: PerplexityBot Allow: /), block training agents (e.g. User-agent: CCBot Disallow: /). ai.txt: Allow: search / Disallow: training.

Profile 3 — Proprietary corpus protection. Your content is differentiating (database, software, paid reports). robots.txt: Disallow: / for all non-traditional AI agents. ai.txt: Disallow: all. Note: this configuration may reduce your visibility in generative results.

Profile 4 — Asymmetric configuration by section. Your institutional pages and blog articles are public and indexable; your client documentation and reports are protected. robots.txt: path-level rules — Allow: /ressources/ and Disallow: /client/ for AI agents. ai.txt: equivalent breakdown by directory if the syntax permits.

What robots.txt does not cover

robots.txt relies on voluntary compliance. No technical mechanism prevents a misconfigured agent, an independent scraper, or an unscrupulous operator from ignoring it. The file has dual value: it constitutes documentary evidence of your objection (useful in GDPR or copyright disputes), and it directs serious operators who respect the protocol. For genuinely sensitive content, technical protection remains essential — authentication, access management, rate limiting.

Moreover, the distinction between a "training crawler" and a "synthesis crawler" is not always apparent from the User-agent string. GPTBot may collect data used for multiple purposes. Regularly monitoring server logs and provider announcements about their agents is a reasonable precaution.

Two checks to carry out now

Review your current robots.txt. Open https://yourdomain.com/robots.txt and list the User-agent entries already present. Identify any missing AI agents among active providers: GPTBot (OpenAI), ClaudeBot (Anthropic), Googlebot-Extended (Google Gemini), PerplexityBot, Meta-ExternalAgent (Meta), CCBot (Common Crawl). The absence of a block means the agent is permitted by default.

Create or update your ai.txt. Even though the file has no IETF standard yet, its presence now constitutes a recognised signal under the EDPB guidelines. A minimal three-line declaration — your position on indexing, synthesis and training — is sufficient to document your intent and strengthen your position in the event of a dispute.

For further reading on visibility in generative search engines, see our analysis on GEO and citation in generative search. Our SEO / GEO service includes an audit of your robots.txt and ai.txt files, configuration of directives by agent, and tracking of your visibility in AI responses.

Related engagement: AI shipped to production

Request a call