Article Complete
AIM
Google Accidentally Leaks Its Open-Source Gemini CLI Ahead of Launch
Google Accidentally Leaks Its Open-Source Gemini CLI Ahead of Launch
Premature Code Reveal

Google Accidentally Leaks Its Open-Source Gemini CLI Ahead of Launch

Google’s open-source CLI solution could spell trouble for Claude Code and OpenAI’s Codex CLI.

Published Updated

Key takeaways

  • Google accidentally revealed Gemini CLI, an open-source command-line interface for developers.
  • Gemini CLI integrates with Gemini AI models, offering free high-capacity usage.
  • Users can make up to 1,000 requests daily with a million-token context window.
  • The tool supports coding, content creation, research, and task automation effectively.
  • Gemini CLI poses competitive challenges to platforms like Claude Code and OpenAI's Codex.
5 min

Google appears to have prematurely unveiled Gemini CLI, an open-source command-line interface that brings its Gemini AI models directly into developers’ terminals. The tool is slated to be publicly accessible, offering high-capacity usage for free and full integration with Google’s AI-powered coding assistant, Gemini Code Assist.

Gemini CLI, released under the Apache 2.0 license, is designed as a local utility for coding, content creation, research, and task automation. It connects users to Gemini 2.5 Pro with a substantial one-million-token context window and allows up to 1,000 free requests daily. Users simply need a personal Google account to begin.

“Gemini CLI offers the industry’s largest usage allowance at 60 model requests per minute and 1,000 model requests per day at no charge,” the archived announcement mentioned. “It provides the most direct path from your prompt to our model.”

The interface supports extensibility via the Model Context Protocol (MCP) and allows users to invoke AI non-interactively within scripts. Prompt grounding with Google Search and support for structured system prompts via GEMINI.md are also built in. This emphasises Google’s aim to make Gemini an adaptable, scriptable agent environment.

The release also aligns Gemini CLI with Gemini Code Assist, enabling seamless handover between terminal and IDE workflows. 

The Gemini Code Assist is a free AI coding tool that supports all programming languages and offers features like code completion, generation, chat, and natural language prompts, with up to 1.8 lakh code completions per month.

Gemini CLI’s sudden appearance follows Google’s recent push towards open agentic frameworks and high-trust developer tooling. Its GitHub repository is not currently accessible and is expected to appear at http://github.com/google-gemini/gemini-cli.

As of now, there has been no official correction or clarification from Google regarding the apparent leak.

Membership

Stay ahead with AI insights.

Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

Subscribe now

AIM Americas

1190 Miraloma Way Suite P, Sunnyvale, CA 94085

AIM India

1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

© 2026 AIM. All rights reserved.