Gemini CLI

Google's open-source command-line AI agent for coding, research and automation in the terminal.

Gemini CLI is an open-source AI agent from Google that runs in the terminal. It uses Gemini models to read and edit files, run shell commands, search the web and work through multi-step tasks such as fixing bugs, adding features, explaining a codebase or automating routine chores.

A major draw is accessibility: signing in with a personal Google account provides a free usage allowance, and the large context window helps with big codebases. It supports the Model Context Protocol for connecting extra tools, project-level instruction files, custom commands and extensions, and it can run non-interactively in scripts. A GitHub Action lets it help with issues and pull requests.

Gemini CLI suits developers who like terminal workflows and want a capable agent without an upfront subscription. Free usage is subject to limits, and heavier or organizational use runs through Gemini Code Assist plans or an API key. As with any agent that can run commands, keep approvals on for risky actions, work in version control and review changes before committing.