Google-Gemini-CLI
Google's AI coding agent for terminal
About this crawler
Google-Gemini-CLI is a web crawler identified by the regular-expression pattern Google-Gemini-CLI in the User-Agent request header. It is categorised as browser-automation. Use the regex above to detect, log, allow, or block Google-Gemini-CLI traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.065%
Technical details
- Name
- Google-Gemini-CLI
- Pattern
Google-Gemini-CLI- Tags
- browser-automation
- Reference
- https://geminicli.com/
- Added
- 2026/04/26
- rDNS suffixes
.1e100.net,.googlebot.com,.googleusercontent.com- Instances
- 1 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely Google-Gemini-CLI with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.
.1e100.net.googlebot.com.googleusercontent.com
Sample User-Agent strings
Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli)
Block this crawler
robots.txt — disallow Google-Gemini-CLI:
User-agent: Google-Gemini-CLI
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Google-Gemini-CLI [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "Google-Gemini-CLI") {
return 403;
}
← back to all crawlers