Open Source Replacements

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 Software

AI coding agent from OpenAI that reads your codebase, writes and edits code, runs tests, and handles multi-step tasks via natural language.

Visit Codex Official Website

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).

Why Teams Look for Codex Alternatives
  • 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.
Hosting & Inference Reality

Open-source replacements are free software when self-hosted on your own infrastructure. Managed hosting, API keys, or provider credits may carry separate costs.

Key Selection Factors
  • 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.
Sort:
License:
Orca
AI & Machine Learning
AI

Run multiple AI coding agents in parallel, side by side

TypeScript
124,551↑+2491
MIT
pi logo
pi
AI & Machine Learning
AI

Minimal terminal coding agent you can fully customize

TypeScript
121,923↑+2438
MIT
OpenHands
AI & Machine Learning
AI

Autonomous coding agents that complete real engineering tasks

TypeScript
93,447↑+1869
MIT
Open Interpreter
AI & Machine Learning
AI

Coding agent that runs on local and open-weight models

Rust
68,884↑+1378
Apache-2.0
T3 Code
AI & Machine Learning
AI

AI-powered coding made simple and efficient

TypeScript
59,890↑+1198
MIT
Goose
AI & Machine Learning
AI

General-purpose AI agent for code, workflows, and more

Rust
56,579↑+1132
Apache-2.0
Tabby
AI & Machine Learning
AI

AI-powered code completion for seamless development

Rust
33,936↑+679
Apache-2.0
Qwen Code
AI & Machine Learning
AI

Open source AI coding agent for the terminal and IDE

TypeScript
30,132↑+603
Apache-2.0
Kilo
AI & Machine Learning
AI

AI coding agent for VS Code, JetBrains, CLI, and Cloud

TypeScript
27,980↑+560
MIT
Aider logo
Developer Tools
AI

AI pair programming terminal assistant in your git repo

PythonGitTerminal+1
27,800↑+1600
Apache-2.0
Grok Build
AI & Machine Learning
AI

AI coding agent and CLI for complex terminal workflows

Rust
27,767↑+555
Apache-2.0
Paseo
AI & Machine Learning
AI

Run coding agents from your phone, desktop, or terminal

TypeScript
24,025↑+480
Apache-2.0
Migration & Workflow Tutorials

Step-by-Step Guides for Codex Replacements

Browse all guides →
coding

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.

#coding#cursor#claude-code
7 min read
Read Guide