AgentScout / Best lists / Gemini CLI alternatives

Gemini CLI alternatives (2026)

Gemini CLI is a coding tool: Google's open-source terminal agent powered by Gemini. Pricing, as the maker states it: Open source; free tier. Its GitHub repo has 107,334 stars. We found 182 tools in the directory that do overlapping work (writing code, coding in the terminal, open-source agents); 134 of them are open source and 22 list a free or freemium plan. Below are the 10 closest, ranked by how many tasks and sub-tasks they share with Gemini CLI, then by GitHub stars.

Updated

Quick comparison Top 10 of 11 listed below. Pricing as the maker states it; blank means we don't have it.

ToolPricingBest forOpen source
opencodeOpen sourceWrite codeYes
OpenAI Codex CLIOpen sourceWrite codeYes
PiOpen sourceWrite codeYes
Qwen CodeOpen sourceWrite codeYes
Kilo CodeOpen source + cloudWrite codeYes
Grok CLIOpen sourceWrite codeYes
ZeroOpen sourceWrite codeYes
Claude CodePaidWrite code
CC SwitchOpen sourceWrite codeYes
Understand-AnythingOpen sourceWrite codeYes
  1. opencode logoopencode (Open source): Open-source terminal coding agent that works with many model providers. Consider it because it has more GitHub stars (213,329 vs 107,334).
  2. OpenAI Codex CLI logoOpenAI Codex CLI (Open source): OpenAI's open-source coding agent for the terminal; also runs in the cloud. Consider it because it has more GitHub stars (129,112 vs 107,334).
  3. Pi logoPi (Open source): Minimal, extensible open-source terminal coding agent and agent toolkit from Earendil, with a multi-provider LLM API, TypeScript SDK, RPC mode and installable extensions, skills and themes. Consider it because it also covers agent frameworks and SDKs and rules, skills and config; it has more GitHub stars (116,073 vs 107,334).
  4. Qwen Code logoQwen Code (Open source): Open-source terminal coding agent from the Qwen team. Consider it because it does the same job with a different approach (open source).
  5. Kilo Code logoKilo Code (Open source + cloud): Open-source AI coding agent for VS Code, JetBrains, the CLI and the cloud that works with 500+ models at no markup. Consider it because it also covers IDE and editor agents.
  6. Grok CLI logoGrok CLI (Open source): Open-source coding agent for the Grok API. Consider it because it does the same job with a different approach (open source).
  7. Zero logoZero (Open source): An open-source terminal coding agent written in Go that works with 30+ model providers, supports MCP, skills and subagents, and keeps all sessions on your own disk. Consider it because it also covers multi-agent orchestration and local and self-hosted.
  8. Claude Code logoClaude Code (Paid): Anthropic's terminal coding agent that edits code, runs commands and handles git. Consider it because it is a managed commercial product, if you'd rather not run it yourself; it also covers editing and rough cuts; it has more GitHub stars (150,707 vs 107,334). Gemini CLI vs Claude Code →
  9. CC Switch logoCC Switch (Open source): Desktop manager for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw and other coding agents that switches API providers in one click and manages MCP servers, skills and prompts. Consider it because it is ready to use without building anything; it also covers computer and desktop control and MCP servers; it has more GitHub stars (145,685 vs 107,334).
  10. Understand-Anything logoUnderstand-Anything (Open source): Turns any codebase, knowledge base or docs folder into an interactive knowledge graph you can explore and question, working inside Claude Code, Codex, Cursor, Copilot and Gemini CLI. Consider it because it also covers codebase context and code search and RAG and documents.

Gemini CLI vs alternatives at a glance

ToolPricingOpen source / licenceGitHub starsGood for
Gemini CLIOpen sourceApache License 2.0107,334writing code, coding in the terminal
opencodeOpen sourceMIT213,329writing code, coding in the terminal
OpenAI Codex CLIOpen sourceApache License 2.0129,112writing code, coding in the terminal
PiOpen sourceMIT116,073writing code, coding in the terminal
Qwen CodeOpen sourceApache License 2.028,529writing code, coding in the terminal
Kilo CodeOpen source + cloudMIT27,649writing code, coding in the terminal
Grok CLIOpen sourceMIT3,497writing code, coding in the terminal
ZeroOpen sourceYes1,738writing code, coding in the terminal
Claude CodePaidProprietary (All rights reserved; Anthropic Commercial Terms of Service)150,707writing code, coding in the terminal
CC SwitchOpen sourceMIT145,685writing code, coding in the terminal
Understand-AnythingOpen sourceYes87,175writing code, coding in the terminal

Written comparisons: Claude Code vs Gemini CLI

More: Gemini CLI listing · All coding tools · All alternatives pages

Related searches: AI coding agents for the terminal (CLI) · Open-source AI coding agents

Alternatives are picked from directory data only: same category plus shared tasks and sub-tasks. Pricing is as each maker states it; GitHub stars as recorded on each listing.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.