Overview & Capability
Official command line utility for piping large files, PDFs, videos, and multi-megabyte repositories directly into Gemini's 2M token context window from the shell.
Key Highlights
- Pipe shell output directly into Gemini (cat file | gemini)
- 2M context window for massive codebase ingestion
- Structured JSON schema terminal output formatting
Robbie's Independent Take
Verified: 2026-10-11
Best evaluated within a bounded workspace using version control. Configure strict tool approvals and MCP permission gates before granting terminal or file execution access. Monitor token spend carefully when running multi-turn autonomous refactoring loops.
Alternatives & Replaces
- Custom Python API Wrappers