← all repositories

google-gemini/gemini-api-cli

A stateless CLI that lets coding agents call Gemini models and managed agents from the shell.

★501 stars Go Coding AssistantsAgents
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

The Gemini API CLI exposes Gemini capabilities as standard shell commands that AI coding agents such as Codex or Claude Code can invoke. Agents can generate images or audio, analyze files, choose models, and launch background managed-agent runs by calling the binary with an API key. It is written in Go and distributed as a single executable placed on PATH.

Frequently asked

What is google-gemini/gemini-api-cli?
A stateless CLI that lets coding agents call Gemini models and managed agents from the shell.
Is gemini-api-cli open source?
Yes — google-gemini/gemini-api-cli is open source, released under the Apache-2.0 license.
What language is gemini-api-cli written in?
google-gemini/gemini-api-cli is primarily written in Go.
How popular is gemini-api-cli?
google-gemini/gemini-api-cli has 501 stars on GitHub.
Where can I find gemini-api-cli?
google-gemini/gemini-api-cli is on GitHub at https://github.com/google-gemini/gemini-api-cli.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.