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 / Popular lists / AI coding agents for the terminal (CLI)

AI coding agents for the terminal (CLI) (2026)

Coding agents that run in your terminal: they read files, run commands and propose changes from a prompt. Here are the top 25 of 128 from the AgentScout directory.

Quick answer: the top picks on this list, ranked by GitHub stars and listing maturity, are opencode, CC Switch and Claude Code, out of 25 tools listed below. At a glance: 23 open-source, 23 free or freemium and 22 local or self-hosted across 25 link-checked tools (last verified ).

Verified on : every tool link on this page was checked by our daily link check. No paid placements.

Ranked comparison (top 10)

#ToolPricingBest forOpen sourceRuns locallyGitHub stars
1opencode logoopencodeOpen sourcewrite code, control a computerYesSelf-hosted230,681
2CC Switch logoCC SwitchOpen sourcewrite code, control a computerYes158,760
3Claude Code logoClaude CodePaidwrite code, automate workflowsNo157,912
4Graphify logoGraphifyOpen sourcewrite code, give agents memoryYesSelf-hosted156,297
5Orca logoOrcaOpen sourcewrite code, automate the browserYesSelf-hosted151,538
6OpenAI Codex CLI logoOpenAI Codex CLIOpen sourcewrite code, control a computerYesOffline137,128
7Pi logoPiOpen sourcewrite code, build an agentYesSelf-hosted125,292
8Impeccable logoImpeccableOpen sourcewrite codeYesSelf-hosted120,953
9Gemini CLI logoGemini CLIOpen sourcewrite codeYesSelf-hosted109,529
10Understand-Anything logoUnderstand-AnythingOpen sourcewrite codeYesSelf-hosted95,202

Updated

128 matching tools112 open source116 free or with a free tierMost starred: opencode (★ 230,681)

How we picked and ranked: tools are matched by category, the pricing each maker states and what each tool says it does. They are ranked by GitHub stars as recorded on each listing (link checks 2026-12-04); tools without a tracked repo follow, by listing maturity. No paid placements.

  1. opencode logo

    1. opencode

    codingOpen source★ 230,681 GitHub stars

    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.

    Pricing (as stated): Free and open source (MIT); bring your own model provider. · Active

  2. CC Switch logo

    2. CC Switch

    codingOpen source★ 158,760 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  3. Claude Code logo

    3. Claude Code

    codingPaid★ 157,912 GitHub stars

    Claude Code is Anthropic's agentic coding tool that lives in your terminal, understands your codebase and carries out routine tasks, explains complex code and handles git workflows through natural-language commands. It also runs in IDEs and on GitHub when you tag @claude, and installs via a native script, Homebrew or WinGet (the npm install is deprecated).

    Pricing (as stated): Requires a paid Claude plan or Anthropic API usage. · Mature

  4. Graphify logo

    4. Graphify

    codingOpen source★ 156,297 GitHub stars

    Graphify is an Apache-2.0 /graphify skill for Claude Code, Cursor, Codex and Gemini CLI that maps a whole project, including code, docs, SQL schemas, configs and PDFs, into a knowledge graph the agent can query instead of grepping through files. Code is parsed locally with tree-sitter, so the map is deterministic, needs no LLM or vector store, and nothing leaves your machine, and every edge in the graph says why it exists. A separate paid Graphify Cloud adds always-on team memory with a 14-day trial.

    Pricing (as stated): Free and open source (Apache-2.0); optional paid Graphify Cloud with a 14-day free trial. · Mature

  5. Orca logo

    5. Orca

    codingOpen source★ 151,538 GitHub stars

    Orca is an MIT-licensed desktop app for running a fleet of coding agents such as Claude Code and Codex in parallel on your own subscriptions, each in its own git worktree, with diffs, a built-in browser and a CLI in one place. You can drive an agent in a chat view or its raw terminal and switch between them without losing context, hand a big task to one agent that splits it across worker agents, and keep agents running on a remote Orca server, any SSH host or a cloud VM after you close your laptop; there are mobile apps too.

    Pricing (as stated): Free and open source (MIT); you use your own Claude, Codex or other agent subscriptions. · Mature

  6. OpenAI Codex CLI logo

    6. OpenAI Codex CLI

    codingOpen source★ 137,128 GitHub stars

    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.

    Pricing (as stated): Open source CLI; usage through a ChatGPT plan or OpenAI API key. · Mature

  7. Pi logo

    7. Pi

    codingOpen source★ 125,292 GitHub stars

    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.

    Pricing (as stated): Open source (MIT); bring your own model provider or subscription · Mature

  8. Impeccable logo

    8. Impeccable

    codingOpen source★ 120,953 GitHub stars

    Impeccable gives coding agents a design vocabulary: install it into a project and steer with commands such as polish and bolder, review with critique and audit, and catch typical AI-generated design clichés before they ship; works with Claude Code, Cursor, Codex CLI, Copilot, Gemini CLI and more.

    Pricing (as stated): Open source · Mature

  9. Gemini CLI logo

    9. Gemini CLI

    codingOpen source★ 109,529 GitHub stars

    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 stated): Open source; access through Gemini Code Assist Standard/Enterprise licences. · Mature

  10. Understand-Anything logo

    10. Understand-Anything

    codingOpen source★ 95,202 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  11. OpenHands logo

    11. OpenHands

    codingOpen source + cloud★ 94,765 GitHub stars

    OpenHands is an MIT-licensed platform for autonomous coding agents whose Agent Canvas acts as a self-hosted control center: start conversations and automations such as Slack reports or splitting GitHub issues into tasks, and run the OpenHands agent or ACP-compatible agents like Claude Code, Codex, Gemini CLI and OpenCode on local, Docker, VM or company backends, with optional OpenHands Cloud and Enterprise.

    Pricing (as stated): Free and open source to self-host; OpenHands Cloud and Enterprise are paid. · Mature

  12. rtk logo

    12. rtk

    codingOpen source + cloud★ 88,587 GitHub stars

    A CLI proxy that sits between coding agents and your shell and trims noisy command output before it reaches the model, cutting token use on everyday commands like tests, builds and git. Free and open source, with an RTK Pro tier for teams.

    Pricing (as stated): Free and open source (Apache-2.0); RTK Pro adds team features. · Mature

  13. Cline logo

    13. Cline

    codingOpen source★ 72,039 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  14. Open Interpreter logo

    14. Open Interpreter

    codingOpen source★ 69,017 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  15. Warp logo

    15. Warp

    codingOpen source + cloud★ 66,201 GitHub stars

    Warp is an agentic development environment born out of the terminal, and the project is now open source under AGPL-3.0. You can use Warp's built-in coding agent or bring your own CLI agent such as Claude Code, Codex or Gemini CLI, and the repo also describes Warp Factories, infrastructure for teams to run cloud software factories defined in code. The desktop app is available from warp.dev.

    Pricing (as stated): The source repository is free and open source (AGPL-3.0); Warp also offers a hosted product at warp.dev (no price listed in this update). · Mature

  16. Open Code Review logo

    16. Open Code Review

    codingOpen source★ 57,895 GitHub stars

    Open Code Review is Alibaba's Apache-2.0 AI code review CLI (ocr), used internally by tens of thousands of Alibaba developers before it was open-sourced. It reads Git diffs and sends changed files to an agent that can read whole files, search the codebase and inspect related changes, then posts structured line-level comments; deterministic pipelines and a built-in multi-language ruleset catch issues like null-pointer risks, thread safety, XSS and SQL injection, and ocr scan reviews whole files or folders without a diff. It works with any OpenAI- or Anthropic-compatible model endpoint.

    Pricing (as stated): Open source · Mature

  17. Goose logo

    17. Goose

    codingOpen source★ 57,256 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  18. Agentic Awesome Skills logo

    18. Agentic Awesome Skills

    codingOpen source★ 50,743 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  19. Aider logo

    19. Aider

    codingOpen source★ 50,341 GitHub stars

    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.

    Pricing (as stated): Open source · Mature

  20. Codewhale logo

    20. Codewhale

    codingOpen source★ 41,215 GitHub stars

    Rust agent engine and terminal coding client with model choice, tool approvals and review flows.

    Pricing (as stated): Open source · Mature

  21. Oh My Pi logo

    21. Oh My Pi

    codingOpen source★ 40,386 GitHub stars

    Terminal coding agent with IDE features wired in, from Stencil Labs.

    Pricing (as stated): Open source · Mature

  22. Claude Code Templates logo

    22. Claude Code Templates

    codingOpen source★ 34,713 GitHub stars

    Claude Code Templates is an open catalog and command-line installer of more than 1,980 Claude Code components, including skills, subagents, slash commands, hooks, MCP servers and settings. You can preview each file a component writes, then combine components into one install that merges with the configuration you already have.

    Pricing (as stated): Open source · Mature

  23. Qwen Code logo

    23. Qwen Code

    codingOpen source★ 31,098 GitHub stars

    Open-source terminal coding agent from the Qwen team.

    Pricing (as stated): Open source · Mature

  24. Repomix logo

    24. Repomix

    codingOpen source★ 29,584 GitHub stars

    Repomix is an MIT-licensed CLI and web tool that packs a whole repository, local or remote, into one AI-friendly file in XML, Markdown or plain text, so you can hand a codebase to Claude, ChatGPT, Gemini or a coding agent in one go. It respects .gitignore, shows token counts per file, can compress code to signatures, and scans the output with Secretlint so secrets are not shared. It also runs as an MCP server. A release shipped in November 2026.

    Pricing (as stated): Open source · Mature

  25. Crush logo

    25. Crush

    codingSource-available★ 29,267 GitHub stars

    Charm's terminal coding agent with a polished TUI, multiple models and MCP support.

    Pricing (as stated): Source-available · Mature

FAQ

What are the best terminal AI coding agents?

Ranked by tracked GitHub stars, the top terminal AI coding agents in our directory are opencode, CC Switch, Claude Code, Graphify, Orca. Stars measure popularity, not fit, so compare a few against your own task.

How many terminal AI coding agents does AgentScout list?

128 tools match. This page shows the top 25. Pricing mix on this page: Open source (20), Open source + cloud (3), Paid (1), Source-available (1).

How much do these tools cost?

Pricing is what each maker states on their site. Open-source tools are free to self-host but may need a paid model API key or offer paid cloud plans; freemium tools have a free plan with limits. Check each official site.

Where can I see every tool for coding in the terminal?

Our task page lists all 349 tools we match to coding in the terminal.

Related

Similar searches: Free AI coding agents with a free plan · Open-source AI coding agents

By role: For developers

Related categories

Facts come from our directory listings; pricing is as each maker states it and can change. Check official sites before you choose.