Skip to content
Max Narditdata & ai systems
← Articles
4 mindev

Google's robots.txt now uses __usage_ai-training: 41 AI user agents get the default rules minus Maps

Google filed ClaudeBot, GPTBot and 39 other AI user agents under the IETF training token, kept its own Google-Extended out, and left a comment explaining why the split only holds if each crawler sits in exactly one group. What the group closes, what RFC 9309 merging does to a robots.txt that ignores the comment, and who reads the token today.

Contents

Google’s own robots.txt now has a group that starts with User-agent: __usage_ai-training, the IETF draft token for AI training preferences that Google said it would support in early 2027. Under the token sit 41 more user-agent names, ClaudeBot, GPTBot, CCBot and Bytespider among them.

The group does not block them. It gives them the default rules with Maps cut out, and it depends on a rule spelled out in a comment above it, about how robots.txt combines groups. My read is that the comment is worth more to other sites than the list: the names are Google’s choices for Google’s content, and the rule is the one a robots.txt with a single extra bot group gets wrong.

The copy served on 23 November carries a Last-Modified header of 19 November. That dates the copy, not the day the group first appeared.

What is in Google’s __usage_ai-training group?

The token, 41 user-agent names and a rule set of their own. Most names are crawlers. A few are usage controls: Applebot-Extended, for example, “does not crawl webpages”, in Apple’s words, and only decides how Applebot’s data may be used. The comment that explains the setup reads:

# Groups that name the same user agent are combined. A new user agent group
# must therefore also name its user agent in exactly one of:
#  - the global (*) group, to inherit the default rules; or
#  - the __usage_ai-training group below.
# Never list a user agent in both. See "Order of precedence" section in
# https://goo.gle/rep#order-of-precedence-for-user-agents

The short link resolves to Google’s robots.txt specification.

Does Google’s __usage_ai-training group block AI crawlers from google.com?

Only from Maps. Everywhere else they get the same rules as everyone else. The * group has 235 rule lines, the training group 182. The training group drops 54 lines, all of them Maps rules, Allow: /maps/place/ and the map search /search?*tbm=map among them, and adds one:

Disallow: /maps

Everything the default group already closes, such as /scholar or parts of /books, stays closed in both.

The same group does two jobs. For the token it is a training preference; the draft says the token is not a crawl directive, so a crawler that honors it may still fetch the page. For the named crawlers the same lines are ordinary crawl rules. Google wrote the rules once and gave them two readers.

Why does Google’s robots.txt say never to list a crawler in both groups?

Because robots.txt merges groups by name, and then the longest rule wins. RFC 9309 says that when more than one group matches a crawler, “the matching groups’ rules MUST be combined into one group”, and that “the most specific match found MUST be used”, meaning the rule with the most octets. Google’s specification adds that a specific group and the * group are not combined.

Google’s file uses that merge on purpose. The first group’s header reads:

User-agent: *
User-agent: Google-Extended
User-agent: Yandex

Yandex also has a small group of its own further down. Because it is named in the first header too, both groups match Yandex, so they merge and Yandex gets the defaults plus its extra rules. So “exactly one” is about the two baseline groups. A crawler can still have an extra group of its own. facebookexternalhit and Twitterbot are named in neither baseline, so they get only their own five lines.

Now list ClaudeBot in both. The training group’s Disallow: /maps meets the default group’s Allow: /maps/place/, the longer path wins, and the /maps/place/ exception reopens. Here is an evaluator that merges groups and applies longest match:

python
import re
 
def groups(txt):
    out, agents, rules, in_rules = [], [], [], False
    for line in txt.splitlines():
        line = line.split("#", 1)[0].strip()
        if ":" not in line:
            continue
        key, val = (s.strip() for s in line.split(":", 1))
        key = key.lower()
        if key == "user-agent":
            if in_rules:
                out.append((agents, rules))
                agents, rules, in_rules = [], [], False
            agents.append(val.lower())
        elif key in ("allow", "disallow"):
            in_rules = True
            rules.append((key, val))
    if agents:
        out.append((agents, rules))
    return out
 
def matches(pattern, path):
    rx = re.escape(pattern).replace(r"\*", ".*")
    if rx.endswith(r"\$"):
        rx = rx[:-2] + "$"
    return re.match(rx, path) is not None
 
def allowed(txt, agent, path):
    gs = groups(txt)
    rules = [r for a, rs in gs if agent.lower() in a for r in rs]
    if not any(agent.lower() in a for a, _ in gs):
        rules = [r for a, rs in gs if "*" in a for r in rs]
    hits = [(len(p), k == "allow") for k, p in rules if p and matches(p, path)]
    return max(hits)[1] if hits else True

Selected results for /maps/place/x on the live file. The last row is the same file with ClaudeBot added to the first group’s header:

Google-Extended  True
OAI-SearchBot    True
ClaudeBot        False
ExaSearchBot     False
ClaudeBot listed in both groups: True

The mirror mistake is leaving a bot out of both. With * disallowing /admin/ and a new User-agent: GPTBot group disallowing /pricing/, GPTBot leaves * and may now crawl /admin/. The first half of Google’s comment covers that case; its last line covers the ClaudeBot one.

Does Google’s __usage_ai-training group apply to Google-Extended?

No. Google-Extended is named in the header of the * group, so it gets the default rules, Maps included. It is not a crawler: it governs whether content Google’s crawlers fetch may be used for Gemini training and grounding. Google’s 30 October post says a training opt-out through the token will be read as a Google-Extended disallow only when Google-Extended “is not explicitly specified”. On google.com it is explicitly specified, so the mapping would not apply to Google’s own host. Intended or not, google.com sits inside the exception its own post describes.

So the file asks the named crawlers to stay out of Maps and makes no such request of the control that governs Gemini. That much is in the lines. The reason isn’t, and I wouldn’t treat the placement as a statement about who may use Maps data.

Bots named in neither header fall to * and keep the Maps paths as well: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User and PerplexityBot. Don’t read a design into that either. A name list shows who was listed and nothing more, and ExaSearchBot, a search crawler by its name, sits in the training group.

Should you copy Google’s __usage_ai-training group into your own robots.txt?

Copy the comment, not the list. Put every crawler you name in exactly one of your baseline groups: the * header, to share the defaults, or your training group. A crawler that gets its own group without being in either baseline header keeps only what that group says.

Who reads the token decides how much the group does today. Anthropic says it has recognized the signal since 30 October and treats a rule that names ClaudeBot as more specific than it, so on google.com ClaudeBot’s own entry decides. Google’s own support is targeted for early 2027.

Before you ship a change, test it with a parser that merges groups and applies longest match. Python 3.12’s built-in parser does neither: it takes the first matching rule. Ask the evaluator above about one path your * group closes, once for every bot you named.

01 / Discussion

No comment section here — all discussions happen on X.

Max Nardit@mnardit

02 / More articles