Open Source Alternatives
Open source alternatives to OpenAI Codex
Open source alternatives to OpenAI Codex, ranked by GitHub stars and freshness.
5 open-source alternatives in the index, ranked by GitHub stars and freshness.
Aider
Paul Gauthier
Terminal-first AI pair programmer. Edits files in your repo, commits with sensible messages, runs your tests.
Alternative to Claude Code, Cursor, Github Copilot +2 more
Best for: Engineers who live in the terminal and want a tight, scriptable AI loop
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Alternative to Aider, Openai Codex, Cursor +2 more
Best for: Senior engineers who want a real terminal agent, not just autocomplete
Cursor Background Agent
Anysphere
Cloud-based async coding agent that clones your repo, works on a branch, and ships a PR while you keep coding.
Alternative to Openai Codex, Openhands, Claude Code
Best for: Teams who want to parallelize coding work across isolated cloud environments
GitHub Copilot
GitHub / Microsoft
The original AI pair programmer, now with Agent Mode, Workspaces, and multi-model selection.
Alternative to Cursor, Claude Code, Codeium +2 more
Best for: Large orgs already on GitHub Enterprise
OpenHands
All Hands AI
Open-source autonomous coding agent platform. Spins up a sandboxed dev environment, ships PRs end to end.
Alternative to Openai Codex, Claude Code, Aider +4 more
Best for: Teams who want a real autonomous coding agent and can run their own infra