Open Source Codex Alternatives
Discover community-maintained, privacy-focused open source software tools that can replace Codex. Save subscription costs and gain total ownership over your data.
Codex
Proprietary SoftwareAI coding agent from OpenAI that reads your codebase, writes and edits code, runs tests, and handles multi-step tasks via natural language.
At a glance: Codex alternatives
We list 23 open source replacements for Codex in the AI & Machine Learning category. The most starred is Orca, with 124,551 stars under the MIT license. Licenses in this list include Apache-2.0, FCL-1.0, MIT. The most recently updated is T3 Code (last commit Nov 2026).
- Vendor lock-in to a single model provider and its pricing.
- Sending prompts and data to third-party clouds with unclear retention.
- Per-token costs that grow with usage.
Open-source replacements are free software when self-hosted on your own infrastructure. Managed hosting, API keys, or provider credits may carry separate costs.
- Bring-your-own-model support: local models or any API provider.
- Data stays on your infrastructure when self-hosted.
- License terms that allow commercial use.
Run multiple AI coding agents in parallel, side by side
Minimal terminal coding agent you can fully customize
Autonomous coding agents that complete real engineering tasks
Coding agent that runs on local and open-weight models
AI-powered coding made simple and efficient
General-purpose AI agent for code, workflows, and more
AI-powered code completion for seamless development
Open source AI coding agent for the terminal and IDE
AI coding agent for VS Code, JetBrains, CLI, and Cloud
AI coding agent and CLI for complex terminal workflows
Step-by-Step Guides for Codex Replacements
How to Choose an AI Coding Assistant: Cursor vs Claude Code vs Aider vs Cline
Compare AI coding editors, terminal agents, and IDE extensions by workflow fit, repository access, approval controls, model choice, privacy, and total cost.