google-gemini/gemini-api-cli
An (experimental) CLI for the Gemini API
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest today, with 10 contributors on GitHub.
Use Cases & Benefits
- Provides a stateless CLI to access Gemini API models, media generation, file analysis, and managed agents via shell commands.
- Unifies diverse Gemini API capabilities into a single binary with self-describing commands and safe dry-run validation for seamless agent integration.
- Use for automating creative asset generation like images, voiceovers, music, and video within coding agent workflows.
- Use for analyzing documents, transcribing audio/video, and extracting insights from multimedia files in assistant tools.
- Use for launching and managing background Gemini managed agents to delegate multi-step research or coding tasks.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Gemini models and managed agents for the agent you already use.
Give Codex, Claude Code, Antigravity, OpenClaw, Hermes, or any other agent with shell access the ability to use the Gemini API. Configure an API key, put
gemini-apionPATH, and let your agent choose a model, generate an asset, analyze a file, or launch a managed agent to handle a task.Your agent plans the work. Gemini provides models and managed agents. This stateless CLI connects them through standard shell commands:
A prompt goes in. An image lands in your project. Your agent gets the file path and keeps building. The same binary can return an analysis, a voiceover, a transcript, or the interaction ID of a background managed-agent run.
A coding agent building an app may need a hero image, a voiceover, a second opinion on a design, or an answer inside a PDF. An assistant may need to turn a recording into captions or delegate multi-step research. Give that agent
gemini-apiand an API key, and it can call those capabilities directly when the task requires them.Built for headless use by coding agents and assistant tools, with the same interface available to shell scripts and CI jobs. A single Go binary runs on macOS, Linux, and Windows.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+22 stars over 3 days across 3 snapshot days; best day +4 on Nov 11.
Forks
77+4
Open issues
45+4
Compared with peers in CLI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| morluto/rea | 450.0K | +22.9K | 75 | 16 days ago |
| mattpocock/skills | 320.9K | +9.5K | 75 | 12 days ago |
| vercel-labs/agent-desktop | 21.4K | +8.7K | 75 | 5 days ago |
| stablyai/orca | 121.4K | +6.7K | 75 | today |
| vercel-labs/agent-browser | 49.2K | +3.8K | 75 | 1 day ago |
| google-gemini/gemini-api-cli | 494 | — | 75 | today |
| Category median | 121.4K | +8.7K | 75 | — |
Also by google-gemini
Other repositories from this maintainer that GStars tracks
- TypeScript108.8K stars
gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
- Jupyter Notebook17.9K stars
cookbook
Examples and guides for using the Gemini API
- Python4.4K stars
gemini-skills
Skills for the Gemini API, SDK and model/agent interactions
- Python3.3K stars
computer-use-preview
Discover Repositories
Search across tracked repositories by name or description