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 141 tools in the directory that do overlapping work (writing code, coding in the terminal, open-source agents); 106 of them are open source and 9 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.

  1. opencode (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 (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. Qwen 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).
  4. Grok 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).
  5. Claude 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 has more GitHub stars (150,707 vs 107,334). Gemini CLI vs Claude Code →
  6. CC 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).
  7. Open Interpreter (Open source): Terminal coding agent forked from OpenAI's Codex and tuned for low-cost and open-weight models, with switchable harness modes that imitate tools like Claude Code. Consider it because it also covers agent frameworks and SDKs.
  8. Open Code Review (Open source): Alibaba's AI code review CLI that combines deterministic pipelines with an LLM agent to post line-level comments on Git diffs, using OpenAI or Anthropic models. Consider it because it also covers code review.
  9. Codewhale (Open source): Rust agent engine and terminal coding client with model choice, tool approvals and review flows. Consider it because it does the same job with a different approach (open source).
  10. Oh My Pi (Open source): Terminal coding agent with IDE features wired in, from Stencil Labs. Consider it because it also covers IDE and editor agents.

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
Qwen CodeOpen sourceApache License 2.028,529writing code, coding in the terminal
Grok CLIOpen sourceMIT3,497writing code, coding in the terminal
Claude CodePaidProprietary (All rights reserved; Anthropic Commercial Terms of Service)150,707writing code, coding in the terminal
CC SwitchOpen sourceYes145,685writing code, coding in the terminal
Open InterpreterOpen sourceApache License 2.068,591writing code, coding in the terminal
Open Code ReviewOpen sourceYes47,560writing code, reviewing pull requests
CodewhaleOpen sourceMIT41,093writing code, coding in the terminal
Oh My PiOpen sourceMIT35,686writing 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) · Free AI coding agents · 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.