Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / Best lists / Gemini CLI alternatives

Gemini CLI alternatives (2026)

Quick answer: The top picks on this list are Kilo Code, opencode and Cline. They lead 11 matching tools, ranked by GitHub stars on each listing. Pricing is what each maker states. Read each listing before you choose. Sources checked December 4, 2026. No vendor paid for a position.

Ranked comparison (top 10)

Dated .

Ranked
#ToolPricingBest forOpen sourceRuns locallyGitHub stars
1Kilo Code logoKilo CodeOpen source + cloudwrite codeYesSelf-hosted28,188
2opencode logoopencodeOpen sourcewrite code, control a computerYesSelf-hosted230,681
3Cline logoClineOpen sourcewrite code, automate the browserYesSelf-hosted72,039
4CC Switch logoCC SwitchOpen sourcewrite code, control a computerYes158,760
5OpenAI Codex CLI logoOpenAI Codex CLIOpen sourcewrite code, control a computerYesOffline137,128
6Pi logoPiOpen sourcewrite code, build an agentYesSelf-hosted125,292
7Goose logoGooseOpen sourcewrite code, control a computerYesOffline57,256
8Agentic Awesome Skills logoAgentic Awesome SkillsOpen sourcewrite code, build an agentYesSelf-hosted50,743
9Aider logoAiderOpen sourcewrite code, voice & phone callsYesSelf-hosted50,341
10Task Master logoTask MasterSource-availablewrite code, connect tools via MCPNo28,597

How we rank: GitHub stars on each listing. Stars and maturity come from each AgentScout listing. No vendor paid for a position.

Sources checked .

Gemini CLI is a coding tool: Gemini CLI is Google's Apache-2.0 open-source terminal agent that brings Gemini models into your shell to read code, edit files and run commands. As of June 18, 2026 it is aimed at Gemini Code Assist Standard/Enterprise and Code Assist for GitHub users; free individual access and Google AI Pro/Ultra plans moved to Antigravity CLI, and the project says it is not tuned for the Gemini 4 series. Pricing, as the maker states it: Open source; access through Gemini Code Assist Standard/Enterprise licences.. Its GitHub repo has 109,529 stars. We found 341 tools in the directory that do overlapping work (writing code, coding in the terminal, open-source agents); 279 of them are open source and 31 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

  1. Kilo Code logoKilo Code (Open source + cloud): Kilo Code is an open-source coding agent for VS Code, JetBrains, and the command line. It plans, edits, and runs commands across your project, and you can switch among hundreds of models mid-task. Individuals start free, model use is billed at the provider's rate with no markup, and Teams is $15 a user a month. Consider it because it also covers IDE and editor agents.
  2. opencode logoopencode (Open source): OpenCode is an MIT-licensed open-source AI coding agent for the terminal, with a beta desktop app, that works with many model providers instead of locking you to one. Install it with a one-line script, npm, Homebrew, pacman, mise or Nix, then let it read your repository, edit files and run commands from a keyboard-driven TUI. Consider it because it also covers computer and desktop control; it has more GitHub stars (230,681 vs 109,529).
  3. Cline logoCline (Open source): Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice. Consider it because it also covers browser automation and computer and desktop control.
  4. CC Switch logoCC Switch (Open source): CC Switch is a free, MIT-licensed desktop app for Windows, macOS and Linux that manages Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, Pi, Kimi Code and other coding agents from one window. You can switch each agent's API provider in one click, keep MCP servers, skills and system prompts in sync across tools, and stop hand-editing JSON, TOML or YAML config files. Built with Tauri, with frequent releases. 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 (158,760 vs 109,529).
  5. OpenAI Codex CLI logoOpenAI Codex CLI (Open source): Codex CLI is OpenAI's Apache-2.0 coding agent that runs locally in your terminal, reading your repository, editing files and running commands, with standalone installers for macOS, Linux and Windows plus npm and Homebrew. The same agent is available as IDE extensions for VS Code, Cursor and Windsurf, a desktop app via codex app, and the cloud-based Codex Web in ChatGPT. Consider it because it also covers computer and desktop control and local and self-hosted; it has more GitHub stars (137,128 vs 109,529).
  6. Pi logoPi (Open source): Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git. Consider it because it also covers agent frameworks and SDKs and rules, skills and config; it has more GitHub stars (125,292 vs 109,529).
  7. Goose logoGoose (Open source): goose is an Apache-2.0, general-purpose AI agent that runs on your own machine as a desktop app (macOS, Linux, Windows), a CLI and an embeddable API, built in Rust. It installs, runs, edits and tests code, and also handles research, writing, automation and data analysis. It works with 15+ model providers including Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure and Bedrock, can reuse existing Claude, ChatGPT or Gemini subscriptions through ACP, and connects to 70+ MCP extensions. goose is part of the Agentic AI Foundation at the Linux Foundation. Consider it because it also covers research and reports and computer and desktop control.
  8. Agentic Awesome Skills logoAgentic Awesome Skills (Open source): Agentic Awesome Skills, formerly Antigravity Awesome Skills, is a library of more than 2,900 installable SKILL.md playbooks for Claude Code, Codex, Cursor, Gemini CLI and other coding agents, with AAS Core, a tool that lets Codex or Claude search the full local catalog, record the skills it picks and preview a plan before changing your project; the code is MIT and imported skills keep their own licences. Consider it because it also covers agent frameworks and SDKs and local and self-hosted.
  9. Aider logoAider (Open source): Aider is an Apache-2.0 AI pair programmer in your terminal: you start a new project or work in an existing repo, and it edits files across 100+ languages using a map of your whole codebase, then commits each change to git with a sensible message. It works with Claude, DeepSeek, OpenAI models and almost any other LLM, including local models, and also supports voice input, images and web pages as context and linting and testing after each edit. Consider it because it also covers codebase context and code search and voice and phone agents.
  10. Task Master logoTask Master (Source-available): Taskmaster (claude-task-master) is an AI task-management system for coding agents: it parses a PRD into a task list with dependencies, rates task complexity, expands big tasks into subtasks and tells the agent what to work on next. It plugs into Cursor, Windsurf, Claude Code, VS Code and other editors over MCP, or runs as a CLI (npm task-master-ai), using API keys for the models you choose. The licence is MIT with a Commons Clause; docs now live at tryhamster.com, and the last release was 0.43.1 in March 2026. Consider it because it also covers IDE and editor agents and mastering.

Gemini CLI vs alternatives at a glance

ToolPricingOpen source / licenceGitHub starsGood for
Gemini CLI logoGemini CLIOpen sourceApache License 2.0109,529writing code, coding in the terminal
Kilo Code logoKilo CodeOpen source + cloudMIT28,188writing code, coding in the terminal
opencode logoopencodeOpen sourceMIT230,681writing code, coding in the terminal
Cline logoClineOpen sourceApache License 2.072,039writing code, coding in the terminal
CC Switch logoCC SwitchOpen sourceMIT158,760writing code, coding in the terminal
OpenAI Codex CLI logoOpenAI Codex CLIOpen sourceApache License 2.0137,128writing code, coding in the terminal
Pi logoPiOpen sourceMIT125,292writing code, coding in the terminal
Goose logoGooseOpen sourceApache License 2.057,256writing code, coding in the terminal
Agentic Awesome Skills logoAgentic Awesome SkillsOpen sourceYes50,743writing code, coding in the terminal
Aider logoAiderOpen sourceApache License 2.050,341writing code, coding in the terminal
Task Master logoTask MasterSource-availableNo28,597writing code, coding in the terminal

Written comparisons

More

Related searches

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.