agent Google respects robots.txt

Google-Gemini-CLI

Google uses this crawler to open pages on a user's behalf inside AI tools. Fetches pages explicitly requested by developers in Gemini CLI.

Crawler data last reviewed September 18, 2026 · all 61 crawlers

Google-Gemini-CLI at a glance

OperatorGoogle
TypeAI agent browser
Respects robots.txtYes — a Disallow rule is honored
If you allow itAllowing it keeps your site reachable to AI agents acting for users — an emerging traffic channel worth keeping open.
If you block itBlocking it stops agent-driven visits but provides no real content protection, since agents only fetch pages the user asked for.

What is Google-Gemini-CLI?

Fetches pages explicitly requested by developers in Gemini CLI. Agent crawlers browse the web on a user's behalf inside AI tools: opening pages, reading documentation, and completing tasks. Traffic arrives from engaged users who asked for exactly what you offer. Blocking agents does not protect content from training, but it does cut off this kind of high-intent visit.

Allowing it keeps your site reachable to AI agents acting for users — an emerging traffic channel worth keeping open.

Primary source: Google's official crawler documentation.

Does Google-Gemini-CLI respect robots.txt?

Yes. Google-Gemini-CLI honors robots.txt directives, including wildcard rules and Allow lines. A Disallow rule for this crawler is respected — but remember robots.txt is a voluntary protocol across the whole industry, not a wall.

How to block Google-Gemini-CLI

Add this group to your robots.txt to deny Google-Gemini-CLI across your whole site:

User-agent: Google-Gemini-CLI
Disallow: /

Blocking it stops agent-driven visits but provides no real content protection, since agents only fetch pages the user asked for.

How to allow Google-Gemini-CLI

Google-Gemini-CLI is allowed by default on every site. It only gets blocked if a matching rule exists — most often a global User-agent: * group with Disallow: /. To exempt it while blocking other bots, put an empty Disallow group for it before the global block:

User-agent: Google-Gemini-CLI
Disallow:

User-agent: *
Disallow: /

Does blocking Google-Gemini-CLI hurt your Google rankings?

No. Google-Gemini-CLI is a distinct user agent from Googlebot and is evaluated separately in robots.txt. Blocking it does not change your Google Search ranking, indexing or classic organic traffic. Google documents this separation whenever it introduces a new agent, which is exactly why these AI-specific tokens exist.

How to verify Google-Gemini-CLI is really hitting your site

robots.txt states what a compliant crawler may fetch; your access log shows what actually happened. Search the log for the token:

grep -i "Google-Gemini-CLI" /var/log/nginx/access.log | tail -50

On Cloudflare the free plan does not expose raw request logs, so use Security Events to see blocked requests, or add a console.log line in a Worker to record the user agent. On Vercel or Netlify, filter the request log by user agent string.

User agents are trivially spoofable, which is why "I saw Google-Gemini-CLI in my logs" is not proof. Because Google-Gemini-CLI is documented to honor robots.txt, a request from it that ignores your rules is worth investigating — but a single stray hit is usually a misconfigured tool, not the real crawler.

Should you block Google-Gemini-CLI?

Is Google-Gemini-CLI currently allowed on your site?

Paste your robots.txt into the free auditor and see verdicts for all 61 AI crawlers — including the specific paths that matter.

Other AI crawlers from Google

Google runs 9 distinct user agents. They are configured independently in robots.txt, so blocking one does not block the others — a detail that catches people out when they assume a single rule covers a whole vendor.

CrawlerTyperobots.txtWhat it does
Google-ExtendedAI trainingyesLets Google use content to train Gemini. Does NOT affect Search ranking.
GooglebotAI searchyesClassic Google Search crawler. NEVER block unless you want out of Google entirely.
Gemini-Deep-ResearchAI assistant fetcheryesFetches sources for Gemini Deep Research reports.
GoogleOtherAI trainingyesGoogle data collection outside the main search index.
GoogleOther-ImageAI trainingyesGoogle image data collection for research.
GoogleOther-VideoAI trainingyesGoogle video data collection for research.
Google-CloudVertexBotAI trainingyesBuilds models on customer's own Vertex AI instances (site-owner opted in).
Google-AgentAI agent browseryesFetches pages during Google AI agent tasks on a user's behalf.
Google-Gemini-CLI this pageAI agent browseryesFetches pages explicitly requested by developers in Gemini CLI.

Related AI crawlers

Further reading

All 14 GEO guides · Full AI crawler directory