Google open-sources gemini-api-cli: a multimodal sidecar for coding agents, 85.8% token savings

Promptmethus · x · 2026-11-24

Google has open-sourced gemini-api-cli (google-gemini/gemini-api-cli), a zero-dependency single-file Go CLI that gives any shell-capable coding agent (Codex, Claude Code, Antigravity, etc.) access to Gemini's multimodal capabilities. Already at 1.3k GitHub stars.

With the official Skill installed, agents can generate/edit images (Nano Banana), create video (Veo), synthesize multi-speaker TTS, generate music (Lyria), analyze local PDFs, do OCR, watch YouTube links, convert audio/video to timestamped SRT subtitles, and run background Deep Research.

The key design: files are written to disk and the terminal only returns a path, instead of stuffing Base64 into context. Google DeepMind engineers measured 85.8% average token savings and nearly 2x speed versus agents hand-rolling curl calls. No resident MCP server needed; ships with --help, --schema and --dry-run.

Related event: Google Open-Sources gemini-api-cli for Multimodal Coding Agents(2 posts)→

Original post →

More from coding & agent

coding & agent channel →