← Registry
Harness Official

Gemini CLI

Open-source AI agent that brings Gemini directly into your terminal, using a ReAct loop with built-in tools and MCP server support.

Install

npx @google/gemini-cli
$

An Apache-2.0 terminal agent that connects Gemini 3 models, with a 1M-token context, to your codebase. It ships built-in tools for file edits, shell commands, web fetch, and Google Search grounding, plus conversation checkpointing and GEMINI.md project context. Reach for it when you want to query, edit, or debug large repos from the command line, or run non-interactive scripts that emit JSON for automation and CI.