AI Agents

Google-Agent user agent

Key Takeaways

  • Google-Agent is the user agent Google's AI agents use when they browse a site to complete a task for a user.
  • Google-Agent uses the operator-documented robots.txt token Google-Agent.
  • Google-Agent has robots.txt exceptions; read the source policy before blocking user-requested access.

Operated by Google

AI agentOfficial docs Allow

Google-Agent is the user agent Google's AI agents use when they browse a site to complete a task for a user.

What identifies Google-Agent?

IdentifierGoogle-Agent
Identity typeOperator-documented crawler or fetcher
Evidence for this identityOperator documentation linked below
robots.txt policyNot for user-requested fetches

What is Google-Agent?

Google-Agent is listed among Google’s user-triggered fetchers: it visits pages because a user asked a Google agent to do something.

Google notes that user-triggered fetchers generally ignore robots.txt, because a person requested the visit.

Google-Agent is the user agent Google's AI agents use when they browse a site to complete a task for a user. Source.

Should you block Google-Agent?

Consider allowing Google-Agent when you use the associated service; verify identity, access requirements and server load first.

Effect on search rankingsAgent browsing and conventional search indexing are different functions.
Effect on AI visibilityRestricting an agent can interrupt the task it is performing. It does not establish a measured effect on sales or AI citations.
Follows robots.txtNot for user-requested fetches
RecommendationAllow

When does Google-Agent visit your site?

Google-Agent visits a page because a user asked a Google AI agent to do something. Google lists it among its user-triggered fetchers.

Why did Google create Google-Agent?

Google uses Google-Agent so its AI agents can browse and act on websites for users, separately from Googlebot's crawling.

What Google-Agent means for GEO

Google-Agent decides whether a Google AI agent can use the site to complete a user's task.

What changesIf you allow itIf you block it
Tasks completed on your siteThe agent can browse and act on the site for the user.Google notes user-triggered fetchers generally ignore robots.txt; use a firewall rule to refuse access.
Google SearchNo effect.No effect.

Google-Agent vs other Google bots

Google runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.

BotJobrobots.txtIf you block it
Google-AgentAI agentNot for user-requested fetchesRestricting an agent can interrupt the task it is performing. It does not establish a measured effect on sales or AI citations.
Google-CloudVertexBotProduct featureYesA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
Google-ExtendedAI trainingYesGoogle-Extended manages certain non-Search training and grounding uses. Search generative AI has a separate Search Console control.
GoogleOtherAI training, Product featureYesA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
GoogleOther-ImageAI training, Product featureYesA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
GoogleOther-VideoAI training, Product featureYesA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.

Should your type of site allow Google-Agent?

E-commerce, travel and bookingsAllow. Keep checkout and accounts protected by normal authentication.

Common mistakes with Google-Agent

  • Expecting robots.txt to stop it. Google says user-triggered fetchers generally ignore robots.txt because a person requested the visit.

How do you block or allow Google-Agent?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token Google-Agent is matched case-insensitively. robots.txt alone may not stop Google-Agent, so add the Nginx, Apache or Cloudflare rule as well.

robots.txt: block

# Block Google-Agent
User-agent: Google-Agent
Disallow: /

robots.txt: allow

# Allow Google-Agent
User-agent: Google-Agent
Allow: /

robots.txt: partial

# Keep Google-Agent out of private areas only
User-agent: Google-Agent
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /

Nginx

# Nginx: return 403 to Google-Agent
if ($http_user_agent ~* "(Google\-Agent)") {
    return 403;
}

Apache

# Apache .htaccess: return 403 to Google-Agent
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Google\-Agent) [NC]
RewriteRule .* - [F,L]

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Google-Agent")

How can you verify Google-Agent traffic?

Google publishes the IP ranges that Google-Agent uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.

Official Google-Agent IP ranges

Reverse DNS check: look up the request IP, confirm the hostname ends in google.com, googleusercontent.com, then look up that hostname and confirm it returns the same IP.

# 1. Reverse lookup: the hostname must end in google.com, googleusercontent.com
host REQUEST_IP
# 2. Forward lookup: must return the same REQUEST_IP
host HOSTNAME_FROM_STEP_1

How do you find Google-Agent in server logs?

Search the web server access log for the literal identifier. The command below counts candidate Google-Agent requests per URL on Nginx or Apache.

grep -iF -- 'Google-Agent' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.

Google-Agent FAQ

No. Googlebot crawls for Search on Google's schedule. Google-Agent visits only when a user asks a Google AI agent to do something.

Google-Agent uses the robots.txt token "Google-Agent". No full user-agent sample is recorded in this profile. Treat a token match as a candidate identity, not authentication.

Partly. Google-Agent fetches pages because a user asked for them, and Google says robots.txt rules may not apply to those user-requested fetches. Use a firewall rule if you must stop it.

Agent browsing and conventional search indexing are different functions. Restricting an agent can interrupt the task it is performing. It does not establish a measured effect on sales or AI citations.

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: Google-Agent" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

Yes. Google publishes the IP ranges Google-Agent uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.

Search your server access log for "Google-Agent", for example with: grep -i "Google-Agent" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: Google crawler documentation. Content updated by Justin Hà.

See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp