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 .
| # | Tool | Pricing | Best for | Open source | Runs locally | GitHub stars |
|---|---|---|---|---|---|---|
| 1 | Open source + cloud | write code | Yes | Self-hosted | 28,188 | |
| 2 | Open source | write code, control a computer | Yes | Self-hosted | 230,681 | |
| 3 | Open source | write code, automate the browser | Yes | Self-hosted | 72,039 | |
| 4 | Open source | write code, control a computer | Yes | 158,760 | ||
| 5 | Open source | write code, control a computer | Yes | Offline | 137,128 | |
| 6 | Open source | write code, build an agent | Yes | Self-hosted | 125,292 | |
| 7 | Open source | write code, control a computer | Yes | Offline | 57,256 | |
| 8 | Open source | write code, build an agent | Yes | Self-hosted | 50,743 | |
| 9 | Open source | write code, voice & phone calls | Yes | Self-hosted | 50,341 | |
| 10 | Source-available | write code, connect tools via MCP | No | 28,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
Kilo 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.
opencode (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).
Cline (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.
CC 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).
OpenAI 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).
Pi (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).
Goose (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.
Agentic 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.
Aider (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.
Task 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
| Tool | Pricing | Open source / licence | GitHub stars | Good for |
|---|---|---|---|---|
| Open source | Apache License 2.0 | 109,529 | writing code, coding in the terminal | |
| Open source + cloud | MIT | 28,188 | writing code, coding in the terminal | |
| Open source | MIT | 230,681 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 72,039 | writing code, coding in the terminal | |
| Open source | MIT | 158,760 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 137,128 | writing code, coding in the terminal | |
| Open source | MIT | 125,292 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 57,256 | writing code, coding in the terminal | |
| Open source | Yes | 50,743 | writing code, coding in the terminal | |
| Open source | Apache License 2.0 | 50,341 | writing code, coding in the terminal | |
| Source-available | No | 28,597 | writing 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.