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 / OpenAI Codex CLI alternatives

OpenAI Codex CLI alternatives (2026)

Quick answer: The top picks on this list are Cline, Goose and HTML Anything. 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
1Cline logoClineOpen sourcewrite code, automate the browserYesSelf-hosted72,039
2Goose logoGooseOpen sourcewrite code, control a computerYesOffline57,256
3HTML Anything logoHTML AnythingOpen sourcewrite code, run code safelyYesSelf-hosted18,354
4Freebuff logoFreebuffOpen sourcewrite code, control a computerYes14,424
5opencode logoopencodeOpen sourcewrite code, control a computerYesSelf-hosted230,681
6CC Switch logoCC SwitchOpen sourcewrite code, control a computerYes158,760
7Orca logoOrcaOpen sourcewrite code, automate the browserYesSelf-hosted151,538
8bb logobbOpen sourcewrite code, control a computerYesSelf-hosted6,339
9OmniRush logoOmniRushFreewrite code, control a computerNo5,155
10Desktop CC GUI logoDesktop CC GUIOpen sourcewrite code, control a computerYesSelf-hosted4,642

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

Sources checked .

OpenAI Codex CLI is a coding tool: 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 the maker states it: Open source CLI; usage through a ChatGPT plan or OpenAI API key.. Its GitHub repo has 137,128 stars. We found 341 tools in the directory that do overlapping work (writing code, coding in the terminal, controlling a computer); 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 OpenAI Codex CLI, then by GitHub stars.

Updated

  1. 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 agent frameworks and SDKs.
  2. 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.
  3. HTML Anything logoHTML Anything (Open source): An agentic HTML editor from the Open Design team. Your local coding-agent CLI (Claude Code, Cursor, Codex, Gemini and others) writes HTML decks, posters, reports and prototypes from 75 skills, shows them in a sandboxed preview, and exports in one click. No API key is needed. Consider it because it also covers sandboxes and secure execution and VFX and compositing.
  4. Freebuff logoFreebuff (Open source): Freebuff is an Apache-2.0 coding agent from Codebuff. The README says there is no subscription, no credits and no API key, and that text ads pay for the included models. It names four products: a desktop app that runs agents locally, a CLI, a web builder for full-stack apps, and a cloud runner for GitHub repositories. GitHub CodebuffAI/freebuff showed 14,336 stars and 1,551 forks on 27 Nov 2026. Consider it because it is ready to use without building anything; it also covers agent payments and marketing and social media.
  5. 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 has more GitHub stars (230,681 vs 137,128).
  6. 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 MCP servers and rules, skills and config; it has more GitHub stars (158,760 vs 137,128).
  7. Orca logoOrca (Open source): 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. Consider it because it also covers code review and running many agents in parallel; it has more GitHub stars (151,538 vs 137,128).
  8. bb logobb (Open source): bb is an MIT-licensed agentic IDE that can control, customise and automate itself, which you drive from its desktop app, web app, CLI or HTTP API; work runs in threads you can watch live, steer at any point or hand to another agent. The macOS Apple Silicon app is the main build, with alpha Linux and Windows versions and an npx option. Consider it because it does the same job with a different approach (open source).
  9. OmniRush logoOmniRush (Free): OmniRush is a desktop coding agent for Windows, macOS and Linux, with a terminal CLI as well. It works through the files of your own projects, reading code, making edits and running commands, and gives free access to frontier models from a model picker, with GPT 6 Astra as the default. Builds for each platform are published on its releases page. Consider it because it is ready to use without building anything.
  10. Desktop CC GUI logoDesktop CC GUI (Open source): Desktop CC GUI (ccgui) is an MIT-licensed desktop app for macOS, Windows and Linux that puts command-line coding agents, including Claude Code, Codex CLI, Kimi CLI, Grok CLI, OpenCode, Qoder and DeepSeek Harness, behind one graphical interface, with streaming output, visible thinking and tool calls, token usage and Git commits; it is built with Tauri, React and Rust and keeps settings locally. Consider it because it also covers token usage and cost tracking and voice and phone agents.

OpenAI Codex CLI vs alternatives at a glance

ToolPricingOpen source / licenceGitHub starsGood for
OpenAI Codex CLI logoOpenAI Codex CLIOpen sourceApache License 2.0137,128writing code, coding in the terminal
Cline logoClineOpen sourceApache License 2.072,039writing code, coding in the terminal
Goose logoGooseOpen sourceApache License 2.057,256writing code, coding in the terminal
HTML Anything logoHTML AnythingOpen sourceYes18,354writing code, coding in the terminal
Freebuff logoFreebuffOpen sourceYes14,424writing code, coding in the terminal
opencode logoopencodeOpen sourceMIT230,681writing code, coding in the terminal
CC Switch logoCC SwitchOpen sourceMIT158,760writing code, coding in the terminal
Orca logoOrcaOpen sourceMIT151,538writing code, coding in the terminal
bb logobbOpen sourceYes6,339writing code, coding in the terminal
OmniRush logoOmniRushFreeNo5,155writing code, coding in the terminal
Desktop CC GUI logoDesktop CC GUIOpen sourceYes4,642writing 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.