Codex CLI Alternatives
12 alternatives to Codex CLI — comparable AI coding tools for building with AI agents.
Aider
Open-source terminal AI pair programmer that edits files in your Git repo and auto-commits each change, working with Claude, GPT, and other models you bring.
Amp
Sourcegraph's agentic coding tool — a CLI and editor extensions tuned for frontier-model coding.
Claude Code
Anthropic’s official agentic coding tool that runs in the terminal, IDE, and web.
Factory
Factory is an agent-native software development platform whose Droids plan, write, test, and ship code from the terminal, IDE, and web with org context.
Gemini CLI
Google's open-source terminal AI agent powered by Gemini models, with a 1M-token context window and built-in tools.
Goose
Block's open-source, on-machine AI agent that is MCP-native and model-agnostic, with a CLI and desktop app.
Llama Cpp
The C/C++ inference engine that made local LLMs possible — GGUF quantization, every GPU backend, and an OpenAI-compatible server, with no dependencies.
Ollama
An open-source tool to run open-weight LLMs locally with a single command, including a local OpenAI-compatible API.
Opencode
The open-source AI coding agent — a terminal TUI from Anomaly with 75+ model providers, LSP-powered context, parallel agents, and shareable sessions.
pgroll
An open-source CLI for zero-downtime, reversible Postgres schema migrations using the expand-contract pattern behind versioned schema views.
Spec Kit
GitHub's open-source toolkit for spec-driven development — a specify CLI and /speckit slash commands that walk any coding agent from spec to implementation.
Warp
A modern, AI-powered terminal with an agent mode that can run and chain commands across your codebase.