Gemini API CLI Released for Autonomous AI Coding Agents
A stateless CLI tool lets existing coding agents invoke Gemini API directly for multimodal generation, document analysis, audio transcription, and deep research
On October 27, 2026, Philipp Schmid released the Gemini API CLI for coding agents to call the Gemini API directly. Built for tools like Claude Code and Cursor, it adds multimodal execution to existing workflows.

Image source: @_philschmid via X
Image Credit: @_philschmid via X
The tool is a stateless execution utility without chat mode or memory. The caller agent owns planning and context while delegating API executions.
Stateless Architecture and Self-Describing Interface
The CLI integrates with autonomous agents through a stateless model.
- Self-Describing: Native
--helpand--dry-runflags let agents inspect commands and validate calls autonomously. - Harness Integration: Agents adopt the CLI as an external tool without runtime changes.
Multimodal Generation, Analysis, and Transcription
The tool exposes Gemini multimodal capabilities to the command line.
- Asset Generation: Generates images, video, speech, and music.
- Input Analysis: Analyzes PDFs, images, audio, video, and YouTube URLs.
- Transcription: Transcribes recordings to Markdown, JSON, or SRT.
Background Deep Research and API Billing
Deep Research tasks run in the background, returning a task ID that agents poll or log to disk.
- API Billing: Calls require API credentials; consumer Gemini Pro subscriptions do not apply.
- State Responsibility: Caller agents maintain context and plans; the CLI stores no state.
Sources
- Philipp Schmid: Original source