Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

Google-Gemini-CLI

The user agent that Gemini CLI, a Google coding agent, sends when its web fetch tool fetches a page directly from the user's machine. The tool fetches URLs that a user puts in a prompt.

In short. Google-Gemini-CLI is the user agent that Gemini CLI sends when its web fetch tool fetches a page directly. The tool normally uses the Gemini API's URL context feature and fetches from the user's machine only as a fallback. Google publishes no robots.txt policy for Gemini CLI, so a Google-Gemini-CLI rule is only a request. Google's crawler pages do not list it.

On this page 8 sections

Facts

User fetchReported
Documentation
Reported. Google has not documented this crawler, so each fact below is graded by its evidence.
Operator
Google
Purpose
The user agent that Gemini CLI, a Google coding agent, sends when its web fetch tool fetches a page directly from the user's machine. The tool fetches URLs that a user puts in a prompt.
robots.txt token
Google-Gemini-CLIA reported name. Google has not confirmed it.
Obeys robots.txt
The operator does not say
User agent
Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli)Reported by Known Agents, not by Google.
IP addresses
Not published by Google.
If you block it
Unknown. Google publishes no robots.txt policy for Gemini CLI, and the web fetch source code does not mention robots.txt, so a Disallow rule is only a request.
Other Google bots
Googlebot Googlebot-Image Googlebot-News Googlebot-Video Storebot-Google Gemini-Deep-Research Google-Agent Google-CloudVertexBot Google-GeminiNotebook Google-Pinpoint Google-Read-Aloud GoogleAgent-Mariner GoogleAgent-URLContext AdsBot-Google AdsBot-Google-Mobile AdsBot-Google-Mobile-Apps Mediapartners-Google pageburst GoogleOther GoogleOther-Image GoogleOther-Video Google-Extended Google Web Preview GoogleMessages APIs-Google AppEngine-Google Chrome-Lighthouse FeedFetcher-Google Google-analytics-postbacks Google-Apps-Script Google-Calendar-Importer Google-Cloud-Tasks Google-CWS Google-Edu Google-InspectionTool Google-Safety Google-Site-Verification GoogleDocs GoogleImageProxy GoogleProducer PlayStore-Google

Does your site block Google-Gemini-CLI? The robots.txt checker shows the rule that decides it.

Verified Nov 29, 2026 against Gemini CLI documentation (Google, GitHub)Next check due Dec 29, 2026

The evidence

  • Confirmed:

    Gemini CLI's documentation says the web_fetch tool retrieves and processes content from URLs in the user's prompt, up to 20 URLs per request. It shows a confirmation dialog first.1Gemini CLI documentation (Google, GitHub)

  • Confirmed:

    Gemini CLI's documentation says the tool uses the Gemini API's urlContext for retrieval. If API access fails, it fetches raw content directly from the user's local machine.1Gemini CLI documentation (Google, GitHub)

  • Confirmed:

    The Gemini CLI source code sets the user agent Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli) for direct fetches. It limits the tool to 10 URLs per host per minute.2Gemini CLI source code (Google, GitHub)

  • Observed:

    The web fetch source file does not mention robots.txt. Google's list of user-triggered fetchers does not name Gemini CLI.2Gemini CLI source code (Google, GitHub)

    Checked on GitHub and developers.google.com on Nov 29, 2026.

  • Observed:

    Known Agents reports the same user agent string and says a user action triggers Google-Gemini-CLI.4Known Agents

Confirmed by the platformObserved in data

#What happens if I block Google-Gemini-CLI?

Gemini CLI is a Google coding agent. Its web fetch documentation says the web_fetch tool retrieves and processes content from URLs in the user's prompt. A prompt can hold up to 20 URLs. The tool shows a confirmation dialog first.1

The tool uses the Gemini API's urlContext for retrieval. If API access fails, it fetches raw content directly from the user's local machine.1 The source code sends the Google-Gemini-CLI user agent on these direct fetches.2 On the API path, the Gemini API's URL context tool does the retrieval. The GoogleAgent-URLContext profile covers that tool.

Google's list of user-triggered fetchers does not name Gemini CLI.3 The web fetch source file does not mention robots.txt.2 Known Agents expects Google-Gemini-CLI to follow robots.txt.4 This is a third-party view, not a Google statement.

#How do I block Google-Gemini-CLI in robots.txt?

This group asks Google-Gemini-CLI to stay out of the whole site. Google has not said that Gemini CLI reads it:

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

A rule for Google-Gemini-CLI does not name Googlebot or Google-Extended. A firewall rule that matches "Google-Gemini-CLI" in the user agent can refuse direct fetches. robots.txt can only ask.

#How do I check that a request is from Google-Gemini-CLI?

You cannot verify a Google-Gemini-CLI request. The source code sets the full string Mozilla/5.0 (compatible; Google-Gemini-CLI/1.0; +https://github.com/google-gemini/gemini-cli).2 Known Agents reports the same string.4 Direct fetches come from the user's local machine.1 The Gemini CLI documentation gives no IP list. Any client can send the name. A match in your logs is only a clue.

Questions

Should I block Google-Gemini-CLI?

Google-Gemini-CLI is a fetcher that loads a page when a user asks an AI assistant from Google. Unknown. Google publishes no robots.txt policy for Gemini CLI, and the web fetch source code does not mention robots.txt, so a Disallow rule is only a request.

Does Google-Gemini-CLI obey robots.txt?

Unknown. No source confirms that Google-Gemini-CLI obeys robots.txt. To be sure it stays out, block it with a firewall or CDN rule as well.

How do I verify Google-Gemini-CLI?

Google publishes no way to verify Google-Gemini-CLI. The user agent alone is not proof, because any client can copy it.

Notes

  1. 1
    Web fetch tool (web_fetch)Gemini CLI documentation (Google, GitHub) · Checked Nov 29, 2026 · Primary source
  2. 2
    packages/core/src/tools/web-fetch.tsGemini CLI source code (Google, GitHub) · Checked Nov 29, 2026 · Primary source
  3. 3
    Google user-triggered fetchersGoogle Crawling Infrastructure · Checked Nov 29, 2026 · Primary source
  4. 4
    What Is Google-Gemini-CLI? User Agent & Robots.txt BlockingKnown Agents · Checked Nov 29, 2026 · Dataset

About this page

Researched and reviewed by Promptly Found. Verified Nov 29, 2026. Next review due Dec 2026.

Cite this page
Citation style

Promptly Found. (2026, November 29). Google-Gemini-CLI https://promptlyfound.com/crawlers/google-gemini-cli

Revisions 1
First published as a reported profile. The user agent comes from Google's Gemini CLI source code. Google's crawler documentation does not list it.