Free · WaitlistJoin the waitlist for the free 2-day Vibecoding & AI Agents Intensive (autonomous Hermes + DeepSeek agent · led by Jemal Hamidun, Head of AI at Alpina Digital & MIPT)Join the waitlist →

Google Releases gemini-api-cli: Claude Code and Codex Call Gemini with a Single Command

Google has released gemini-api-cli, a terminal program that lets Claude Code and Codex call Gemini models. It is a single prebuilt Go binary under the Apache-2.0 license (v0.5.0) that runs on macOS, Linux, and Windows. When an agent needs speech, an image, or video analysis, it runs a shell command and takes the result back. Multimodal capabilities plug in without an SDK or a separate service.

AI-processed from TG: @cgevent (Метаверсище и ИИще); edited by Hamidun News
Google Releases gemini-api-cli: Claude Code and Codex Call Gemini with a Single Command
Source: TG: @cgevent (Метаверсище и ИИще). Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceTG: @cgevent (Метаверсище и ИИще) ↗
Editor-in-Chief
Key metric #1Understands PDFs, photos, audio, video, and YouTube links; generates images, video, and music
Key metric #2--dry-run validates a request without network access and hides API keys
Key metric #3Output in JSON or TOON, a --jq filter, and background agents via agent run

Coding agents like Claude Code and Codex work well with text and repositories, but they quickly hit a wall on multimodal tasks: they cannot analyze a video, voice over a clip, produce music for a demo, or extract data from a long PDF, so developers usually have to write custom glue code. Google proposes skipping that step and has open-sourced gemini-api-cli, a small console program. It is a single prebuilt executable (binary) written in Go, so there is nothing to compile or install alongside libraries. Put it in your PATH, and Claude Code or Codex call Gemini models with an ordinary terminal command, like any other utility.

What was released

The google-gemini/gemini-api-cli repository is published under the Apache-2.0 license, and the current version is v0.5.0. The file has no external dependencies and runs on macOS, Linux, and Windows.

The idea is simple. The main agent still manages the project and keeps the context. When it needs an asset, a voice track, a document analysis, or background research, it runs gemini-api in the shell, gets the result, and moves on. Picture a developer building a game: Claude Code writes the code, while Gemini produces the main menu music and dialogue voice-overs with one command, without leaving the terminal.

According to the post, the following are available out of the box:

  • analysis of documents, photos, audio, video, and YouTube links (model gemini-4-hydrogen);
  • image generation and editing (gemini-nano-banana-2.1);
  • video generation (gemini-omni-1.2-flash) and music generation (lyria-3.5);
  • speech synthesis (gemini-3.8-flash-tts);
  • transcription into md, json, and srt formats (gemini-3.5-transcribe).

The model names are taken from a retelling in a Telegram channel, so check them against the README and the model list in your own account before use.

How it is adapted for autonomous agents

The most interesting part is not the list of models but a set of details that matter to an agent rather than a human.

First, the utility describes itself: the --schema and --usage flags output the command schema and help in machine-readable form. An agent does not need to know the interface in advance; it can read it on the fly.

Second, there is --dry-run. It validates a request without going out to the network and hides API keys. This is useful when an agent assembles a complex command and you want to confirm it is correct and will not expose secrets in logs.

Third, output can be returned as JSON or in the compact TOON format, and the built-in --jq filter trims excess data immediately. Fewer unnecessary tokens in the main agent's context means lower costs and less chance the model loses the thread.

Fourth, background managed agents are supported through the gemini-api agent run, status, and cancel commands. A long research task can be started, you can work on other things, and check its status later.

Finally, every run is stateless: the utility stores no state between calls and does not interfere with the current context of Claude Code or Codex. For orchestration this is a plus, since behavior is predictable and repeating a call is safe.

What this means in practice

The author of the @cgevent channel claims that neither OpenAI nor Anthropic can analyze music or video, and that this is the main advantage of the combination. That is his assessment, not an official statement from Google: model capabilities change quickly, so verify them yourself for your tasks.

The practical takeaway for teams is this. If you are building a pipeline around one coding agent, multimodal steps can be added without an SDK or a separate service: a binary and an API key are enough. This lowers the entry barrier for prototypes, from automatic video cutting to voicing documentation.

There are limitations too. Version v0.5.0 indicates an early stage of development, so the interface may change. All calls go to Google's cloud API and are billed at its rates, which means data leaves your environment. This needs to be considered for closed repositories and confidential documents. Background agents should also be budget-limited: an autonomous agent launching another agent can easily turn a small task into a noticeable bill.

In short, Google has taken a step toward making Gemini a terminal tool for other people's agents, not only a standalone product. For developers, it is a quick way to extend a familiar workflow.

Story

Key Questions Answered

What was released?

The google-gemini/gemini-api-cli repository is published under the Apache-2.0 license, and the current version is v0.5.0. The file has no external dependencies and runs on macOS, Linux, and Windows. The idea is simple. The main agent still manages the project and keeps the context. When it needs an asset, a voice track, a document analysis, or background research, it runs gemini-api in the shell, gets the result, and moves on.

How it is adapted for autonomous agents?

The most interesting part is not the list of models but a set of details that matter to an agent rather than a human. First, the utility describes itself: the --schema and --usage flags output the command schema and help in machine-readable form. An agent does not need to know the interface in advance; it can read it on the fly. Second, there is --dry-run. It validates a request without going out to the network and hides API keys.

What this means in practice?

The author of the @cgevent channel claims that neither OpenAI nor Anthropic can analyze music or video, and that this is the main advantage of the combination. That is his assessment, not an official statement from Google: model capabilities change quickly, so verify them yourself for your tasks. The practical takeaway for teams is this. If you are building a pipeline around one coding agent, multimodal steps can be added without an SDK or a separate service: a binary and an API key are enough.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
What do you think?
Loading comments…