LIVE
ActiveOpen-source terminal coding agentSource check · September 13, 2026

Gemini CLI

Google’s Apache-2.0 terminal agent connects Gemini models to repository tools, web research, MCP and IDE clients.

TerminalCode EditingRepo UnderstandingGitTests And LintBrowserMcpHuman Approval

Product briefing

What it is and how it fits a coding workflow

Gemini CLI is Google’s open-source terminal agent for working with code and other repository tasks. It can read project files, propose or apply edits, execute shell tools under its permission policy, search or fetch web material, connect MCP servers, and run in non-interactive modes for scripts. IDE support is an integration around the CLI: the VS Code companion supplies workspace context and native diff review, while Agent Client Protocol (ACP) can connect it to compatible editors such as JetBrains or Zed. That is different from an IDE plugin that owns a separate agent runtime. The code is Apache-2.0, but the inference and identity path remain Google-managed; official setup describes Google sign-in, Gemini API keys and Vertex AI, not arbitrary endpoint compatibility. Model access, quotas and policy depend on the selected Google account or cloud project, so verify current terms before adopting it for a team. Security controls include tool approvals, folder trust, sandboxing and configurable execution policy; do not switch to auto-approval casually, especially in repositories containing untrusted instructions or scripts. Gemini CLI is a useful comparison for developers who want a free-to-inspect terminal harness and Google model integration. For fair evaluation, compare its repo understanding, edit quality, test loop, provider constraints and privacy boundary against Antigravity CLI, Qwen Code and other terminal agents instead of assuming they are the same product. The separate Gemini CLI repository and docs remain active; Antigravity CLI is not a duplicate listing for this profile.

Best fit

  • Developers who want an inspectable CLI agent tied to Google’s Gemini and Vertex ecosystem
  • Terminal workflows that need MCP, web research, scripting or editor diff review
  • Evaluating approval, trusted-folder and sandbox controls before agent execution

Probably not your fit if…

Users who need arbitrary OpenAI-compatible providers or a fully offline model/runtime without a separate local backend.

What stands out

  • ↗ Open-source Apache-2.0 CLI with active upstream releases
  • ↗ Terminal, headless, VS Code companion and ACP integration paths
  • ↗ Built-in tools, MCP, trusted folders and configurable permissions

Trade-offs to check

  • ! Model access and account/quota rules follow Google’s current service terms
  • ! CLI integration does not make it equivalent to Antigravity or a native IDE agent
  • ! Auto-approval and disabled sandbox settings widen execution risk

Primary references

Verify features at the source

This profile is an editorial comparison, not a performance benchmark. Product features, plans and availability can change; verify your required workflow before adopting it.

GitHub source metadata

google-gemini/gemini-cli

An open-source AI agent that brings the power of Gemini directly into your terminal.

Primary language
TypeScript
GitHub license metadata
Apache-2.0
aiai-agentscligeminigemini-apimcp-clientmcp-server

Related field notes

Further reading

Explore related tools

Other profiles for similar workflows

Search all coding agents →