Coding agents

Google-Gemini-CLI

Google-Gemini-CLI is a bot operated by Google that pulls documentation and examples while an AI writes code. Gemini CLI is an AI coding agent by Google that can query and edit large codebases, generate apps from images or PDFs, and automate complex workflows directly from the te…. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

GoogleClaim onlyrobots.txt:No policy

Live check

Verify an IP that claimed to be Google-Gemini-CLI

No operator check exists for Google-Gemini-CLI. This still shows what the address really is.

Reference

Google-Gemini-CLI at a glance

Reference data for the Google-Gemini-CLI crawler
User agentGoogle-Gemini-CLI

Token only: match on the substring.

OperatorGoogle
PurposeCoding agents
Respects robots.txtNo policy
Verification methodClaim onlyNone published, user agent only

No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof.

Crawl patternNot published
Robots.txt tokensGoogle-Gemini-CLI
Operator documentationhttps://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers

Gemini CLI is an AI coding agent by Google that can query and edit large codebases, generate apps from images or PDFs, and automate complex workflows directly from the te…

robots.txt

Allow or block Google-Gemini-CLI

Paste one at the root of your domain. Rules are per token.

Block Google-Gemini-CLI
User-agent: Google-Gemini-CLI
Disallow: /
Allow Google-Gemini-CLI
User-agent: Google-Gemini-CLI
Allow: /
Allow, except the pages you never want quoted
User-agent: Google-Gemini-CLI
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own URLs.

What blocking actually costs you

Blocking Google-Gemini-CLI mainly affects developers reading your documentation through an AI tool. Most sites want that traffic.

Build a file for every crawler

FAQ

Google-Gemini-CLI questions

What is Google-Gemini-CLI?

Google-Gemini-CLI is a bot operated by Google that pulls documentation and examples while an AI writes code. Gemini CLI is an AI coding agent by Google that can query and edit large codebases, generate apps from images or PDFs, and automate complex workflows directly from the te…. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

Does Google-Gemini-CLI respect robots.txt?

Not documented. No operator statement says whether Google-Gemini-CLI reads robots.txt, so add the rule but verify in your logs that the requests actually stop.

How do I verify a request really came from Google-Gemini-CLI?

You cannot, at least not from the request itself. No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof. Compare the source IP against hosting and datacenter ranges instead, and rate limit anything that behaves like a crawler.

How do I block Google-Gemini-CLI?

Add the Google-Gemini-CLI token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking Google-Gemini-CLI hurt my search rankings?

Blocking Google-Gemini-CLI mainly affects developers reading your documentation through an AI tool. Most sites want that traffic.

    Google-Gemini-CLI (Google): User Agent, IP Verification & robots.txt | IPScanner