Skip to content
StackPick

Alternatives · Coding and CLI agents

Best Codex CLI alternatives

Rankings as of

Codex CLI is OpenAI's coding agent for the terminal. It edits a local repository, runs commands, and can use OpenAI models. The CLI is open source. Model access follows your OpenAI or ChatGPT plan — check site.

Codex CLI scores 7.5 in Coding and CLI agents (An agent that edits the repo). The 6 alternatives below are the other tools in that job, ordered by their StackPick score. How we score.

Initial editorial estimate. Not a measured benchmark. Affiliate links may be used to monetize, but they never affect scores or rankings, and rankings are never sponsored.

Some links may earn us a commission. It never changes scores or order.

The tool

Codex CLI

Also known as OpenAI Codex CLI

OpenAI's open-source terminal agent for editing a repo.

Best for A terminal agent on OpenAI models

Ranked alternatives

  1. 01

    Claude Code

    Pick this if Repo-sized edits from the terminal

    Anthropic's coding agent for the terminal and supported editors.

    Check site
  2. 02

    Cline

    Also known as Claude Dev

    Pick this if An agent inside stock VS Code

    Open-source coding agent inside VS Code. Bring your own model.

    Free
  3. 03

    Aider

    Pick this if Git-native pair programming from the terminal

    Open-source pair programming in the terminal. Git commits included.

    Free
  4. 04

    OpenCode

    Pick this if A local open-source terminal agent

    Open-source coding agent you run in the terminal.

    Free
  5. 05

    Gemini CLI

    Pick this if A terminal agent on Gemini

    Google's open-source terminal agent, wired to Gemini.

    Free
  6. 06

    Devin

    Pick this if Delegating a task to a cloud agent

    Cognition's cloud agent that takes a task and works on its own machine.

    Check site