AI crawlers and bots
What a robots.txt checker can and cannot show about Google-Agent
By Emily Parker · Nov 23, 2026 · 9 min read
If you blocked AI crawlers in robots.txt and then ran a checker that showed them as blocked, that result is true and incomplete. It describes what you asked for. It does not describe what a fetcher that Google says is user-triggered will do.
What Google published
On Nov 17, 2026, Google added a guide to its crawling docs on how to allow Google-Agent through CDNs, firewalls and bot detection. PPC Land and Search Engine Roundtable both covered it the same day. The guide is about letting the agent in, not keeping it out.
Google defines the agent as one "used by agents hosted on Google infrastructure to navigate the web and perform actions upon user request." Its allow guide gives four steps for a request that claims to be Google-Agent:
- Confirm the
User-Agentheader containsGoogle-Agent. - Check that the source IP is in the ranges in
user-triggered-agents.json. - If provided, verify the signed request through the
SignatureandSignature-Inputheaders. - For verified requests, skip bot challenges.
The second step is the one to notice. Google's fetcher page says "The user agent string can be spoofed," and the guide asks you to confirm the name with the network address. Google's Web Bot Auth page adds that only a subset of the agent's requests are signed, so the IP check is the fallback.
The guide never mentions robots.txt. The statement about robots.txt sits one page over, in the intro of Google's user-triggered fetchers page: "Because the fetch was requested by a user, these fetchers generally ignore robots.txt rules." Keep the word "generally" when you repeat it. Google does not promise the file is never read, only that you should not rely on it.
Source: Cloudflare, The crawl-to-click gap: Cloudflare data on AI bots, training, and referrals, Aug 29, 2025. Retrieved Nov 20, 2026.
How much of this traffic is there
Not much, in the one public measurement we found, and that number is not about Google-Agent. Cloudflare reported that over the 12 months to July 2025, 80% of AI crawling on its network was for training, 18% was for search and 2% was for user actions. That post was published Aug 29, 2025, and the split is Cloudflare's own classification on its own customers' traffic. Google-Agent is not named in it, and your site's split can be far from this one.
The useful reading is narrow. User-triggered traffic is the smallest of the three groups there, so you will not see a flood. You will see a few requests, each one made on behalf of a person, and those are the ones a bot challenge is most likely to turn away.
Why a robots.txt checker stays quiet about it
The free AI crawler checker takes a site, fetches its robots.txt and marks each AI crawler, such as GPTBot, ClaudeBot and PerplexityBot, as allowed or blocked. It reads robots.txt and nothing else. Googlebot is not on its list. It makes no request as Google-Agent and looks at no server log, so it has no way to report on Google-Agent either way.
The checker's own page puts the limit in one line: robots.txt only tells you what you asked for. For a crawler that honors the file, what you asked for and what happens line up. For a user-triggered fetcher, they can come apart, and the checker is not built to see that.
So treat the green or red row as a statement about your file. For the other half, which crawlers honor a rule and which do not, see which AI crawlers your robots.txt lets in and what a rule cannot promise.
What a user agent match can tell you
The first check you can run is a plain search of your own access log. Google's fetcher page shows the Google-Agent user agent in two forms, trimmed because of a 125 character limit. The mobile form ends with:
(compatible; Google-Agent; +https://developers.google.com/crawling/docs/crawlers-fetchers/google-agent)
The desktop form ends with:
(KHTML, like Gecko; compatible; Google-Agent; +https://developers.google.com/crawling/docs/crawlers-fetchers/google-agent)
Both contain the token Google-Agent, so one search covers them. On a server that writes the common combined log format, this counts the matching lines and then lists the addresses behind them:
grep -c 'Google-Agent' /var/log/nginx/access.log
grep 'Google-Agent' /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -rn
What the match proves is small. The request said it was Google-Agent. Anyone can send that header, and Google says as much. A match is a claim and a count of claims.
What it misses is also worth knowing. A log on your origin only holds requests that reached your origin. If your CDN or firewall turned the agent away first, you will not see it, which is the failure Google's guide spends most of its length on. An empty result can mean no visits or can mean every visit was stopped upstream.
What our crawler path keeps, and what it cannot do
AI crawler tracking at Peeko is a separate server side path, because crawlers do not run JavaScript. The @usepeeko/bot-track middleware is ESM only, needs Node 20 or newer, has zero runtime dependencies and weighs under 3 KB gzipped. It matches the user agent against a curated list of 55 agents from 21 companies and files every recognized hit under AI answers, Search indexing, AI training or Other AI bots. This post does not claim that the list already includes Google-Agent. The point here is how the method behaves for any agent that identifies itself by name.
For a Next.js site the middleware looks like this:
// middleware.ts
import { NextResponse, type NextRequest } from "next/server";
import { trackBotRequest } from "@usepeeko/bot-track";
const cfg = {
siteKey: process.env.PEEKO_SITE_KEY!,
endpoint: "https://usepeeko.com/b",
};
export function middleware(request: NextRequest) {
trackBotRequest(request, cfg); // fire and forget, swallows its own errors
return NextResponse.next();
}
export const config = {
matcher: ["/((?!_next/static|_next/image|favicon.ico).*)"],
};
Two properties of that path matter for this story, and they pull in opposite directions.
The raw user agent is kept, up to 512 characters. Because of that, old hits can be reclassified as the crawler list grows. If a name is added to the list next month, hits that arrived this week under that name can be filed correctly then. A string you did not know to look for is not lost.
No address exists on that path. No IP address and no visitor hash is read or stored for a crawler hit. That is the design, and for most crawler questions it is the right trade. For this one it means a limit you should know about: Google's recommended check is the IP range check, and a tool that never holds an address cannot run it. Every hit we file under a name is "claims to be this agent," never "verified as this agent." If you need the verified version, your own server log and the script below are where it comes from. The same limit and its reasoning is laid out in what your records can say about who runs an AI agent.
Put together, a user agent match gives you a name, a path and a time, and gives you them cheaply. It does not give you proof of origin.
Run the IP check yourself
If you keep access logs, you can do what Google's second step describes in a few lines. First collect the addresses that claimed the name, then compare them with the file Google publishes.
mkdir -p google-agent-check && cd google-agent-check
curl -s https://developers.google.com/static/crawling/ipranges/user-triggered-agents.json -o user-triggered-agents.json
grep 'Google-Agent' /var/log/nginx/access.log | awk '{print $1}' | sort -u > candidate-ips.txt
Save this as check_google_agent_ips.py in a different folder from the downloaded file:
import ipaddress
import json
import sys
with open(sys.argv[1]) as f:
prefixes = json.load(f)["prefixes"]
nets = [ipaddress.ip_network(p.get("ipv4Prefix") or p["ipv6Prefix"]) for p in prefixes]
with open(sys.argv[2]) as f:
for line in f:
ip = line.strip()
if not ip:
continue
addr = ipaddress.ip_address(ip)
inside = any(addr.version == n.version and addr in n for n in nets)
print(ip, "in a published range" if inside else "NOT in a published range")
Then run it with both file paths:
python3 -I check_google_agent_ips.py google-agent-check/user-triggered-agents.json google-agent-check/candidate-ips.txt
Three cautions come with it.
- The file changes. When we fetched it on Nov 20, 2026, its
creationTimewas that day and it held 20 prefixes, 12 IPv4 and 8 IPv6. Google tells you to keep IP based rules synced with the latest ranges, so a copy pasted into a firewall last month is a guess about this month. - Your logs may show the wrong address. Behind a CDN or load balancer, the first column is often the proxy, not the client. Google's sixth troubleshooting item is that proxies must preserve the client IP and the
User-Agent. Check which header your stack records before you trust the output. - An address in range confirms the origin, not the intent. It tells you Google infrastructure sent the request. It does not tell you whether you want it.
If you also run a script that counts crawler hits, it is worth ruling out one more source of noise first. How much of your AI crawler count could be one scanner in costume walks through a log check for names that arrive from addresses that do not belong to the company.
Where access is actually decided
Put the pieces side by side. Robots.txt expresses a preference and is read by fetchers that choose to read it. Google says its user-triggered fetchers generally do not. The place where a request is let in or turned away is your CDN, firewall or bot detection layer, and Google's new guide is a set of rules for that layer: put the allow rule ahead of broad cloud and ASN blocks, skip CAPTCHAs and JavaScript challenges, extend the allowance past the home page to search, cart and API endpoints, and account for many people sharing one egress pool.
The guide gives you allow rules. We did not find in it a recommended way to block Google-Agent, so this post does not offer one. If you want to keep it out, that decision lives in the same layer, and the same IP check is what keeps a block from catching the wrong traffic or missing the right one.
A short list of what to do this week:
- Treat your checker result as a statement about robots.txt only.
- Search your access log for
Google-Agentand note the count. - Run the IP check on the addresses you find, and note how many fall outside the published ranges.
- If you run a firewall or bot rule, read its order against Google's six troubleshooting items.
- If you count crawlers server side, check whether the tool you use keeps an address, and if it does not, read every named hit as a claim.
If you are unsure whether your own crawler timing data tells you anything new, timing the first Google crawl of a new page is a way to ground your numbers against a single known event.
The practical result is two numbers: how many requests claimed the name, and how many of those came from a published range. The gap between them is the part no robots.txt checker can show you.