Coding agents · AI agent
Gemini CLI: review, pricing, security and alternatives
Gemini CLI is an open-source AI agent published by Google, in the coding agents family. A terminal agent using Gemini and tools to explore projects, edit source files, and execute development commands. Its repository has 107,807 stars and its last commit is from October 23, 2026.
What Gemini CLI does
Gemini CLI belongs to the coding agents family: they read a repository, edit files, run the tests and fix things until everything passes, in a terminal or an editor. On our grid it ranks #8 of the 74 projects of this family listed in the directory.
You use it from: terminal (CLI). Usable models: Gemini (Google). It can run on your own machine or server.
Who is Gemini CLI for?
It is aimed at developers and technical teams who want to hand off part of the work on their codebase while keeping the final review. Typical tasks people give it:
- fix a bug from an issue or an error message
- write or extend tests
- migrate code to a new library version
- explain an unfamiliar codebase
It is a good candidate if you are comfortable in a terminal and your data must stay on your machines.
Access and human control
According to its documentation, Gemini CLI can:
- run commands in a terminal
- read and edit files
- call online services and APIs
By default it asks for your confirmation before sensitive actions (command, send, delete). Keep that setting, at least at first: full-auto mode saves time but removes the last safeguard.
Gemini CLI pricing
The code is free, under the Apache-2.0 licence.
Getting started with Gemini CLI
- Install it: the project ships as a Node.js package (install with
npm, or run directly withnpx). The exact command is in the repository README. - Create an API key with the model provider and put it in an environment variable, never in a shared or versioned file.
- Give it a first playground with nothing at stake: a test folder, a secondary account or a throwaway project. Only open your real accounts once you have seen how it behaves.
- Give it a short, checkable task, review the result and its action log, then raise the difficulty step by step.
Security: risk level
A coding agent runs commands on your machine: work on a Git branch, review the changes and isolate it in a container for long tasks.
Points found for Gemini CLI:
- Supervised sensitive access: it can act on the system, but asks for confirmation by default.
- Outside content: it reads web pages or API responses, which may contain booby-trapped instructions (prompt injection).
Three habits: least privilege (minimal rights, dedicated keys), human approval for irreversible actions, a sandbox for code execution. The AI agent security check reviews your setup in a few minutes.
Project activity and releases
Created on April 17, 2025, the google-gemini/gemini-cli repository has 107,807 stars, 14,791 forks and 492 open issues, with 6,534 commits in total. It received changes this month.
Over the last 52 weeks: 3,489 commits, an average of 67.1 per week.
672 releases in total; 3 in the last twelve months. Latest release: v0.65.0, on October 20, 2026.
Gemini CLI vs other coding agents
GitHub stars of the best-rated open-source projects in the coding agents family. Stars measure attention, not quality: a heavily promoted project collects them fast, a specialised tool will have few.
Gemini CLI and other coding agents at a glance
The 7 best-ranked agents in the same family, 7 of them open source. The score out of 100 only applies to open-source projects; for proprietary services we show the published entry price. A dash marks information the documentation does not state.
| Agent | Model | Score | Stars or entry price | Self-hostable | Human approval |
|---|---|---|---|---|---|
| Gemini CLI | open source | 88 | 107.8K ★ | yes | yes |
| OpenCode | open source | 95 | 221K ★ | yes | – |
| Cline | open source | 94 | 70.8K ★ | yes | yes |
| OpenHands | open source | 91 | 91.7K ★ | yes | – |
| Codex | open source | 89 | 130.8K ★ | yes | yes |
| Open Interpreter | open source | 89 | 68.7K ★ | yes | – |
| Qwen Code | open source | 89 | 28.7K ★ | yes | yes |
| Kilo Code | open source | 89 | 27.7K ★ | yes | yes |
How we rated it
Score: 88/100, computed only from public, verifiable data, with no subjective testing or partnership:
- Adoption 36/40: 107,807 stars on a log scale (40 points from about 200,000).
- Activity 27/30: last commit less than a month ago, 3 releases in six months, 3,489 commits in a year.
- Framework 25/30: licence, default human approval, self-hosting, model choice and documentation site.
The score does not say whether the agent will succeed at your tasks: it measures how solid the project is. The full grid is on the method page.
Verdict
Gemini CLI is one of the most solid projects in its family: followed, active and well framed.
Strengths
- Widely followed: 107.8K stars
- Very active development
- Can run on your side: data under control
- Asks before sensitive actions
- Permissive licence (Apache-2.0)
Limitations
- Tied to a single model provider (Gemini (Google))
Avoid if…
- You cannot isolate it (container, virtual machine)
Alternatives
Learn more
Frequently asked questions
Is Gemini CLI free?
The software is free (Apache-2.0 licence). You still pay for the model calls, unless you use a local model.
Is Gemini CLI safe?
Our risk level: mid. Points found: supervised sensitive access and outside content. Give it minimum rights and approve irreversible actions.
Which models does Gemini CLI use?
According to its documentation: Gemini (Google).
Can Gemini CLI be installed on your own server?
Yes, from the google-gemini/gemini-cli repository. Data then stays with you, but security and updates are your job.
What are the alternatives to Gemini CLI?
In the same family: OpenCode, Cline, OpenHands, and Codex.
Gemini CLI or OpenCode: what is the difference?
Both belong to the coding agents family. Gemini CLI has 107.8K stars against 221K for OpenCode. The right choice mostly depends on the access you are willing to give it.
Related articles
- Open source or proprietary AI agent: how to decideOctober 25, 2026
- AI agent vs. chatbot: what's the difference?October 24, 2026
- Autonomous AI agents: how much should you let them do?October 12, 2026
- AI agent memory: how agents remember (and forget)October 11, 2026
Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score