Skip to content
OpenAlternative

Open Source Codex Alternatives

A curated collection of the 3 best open source alternatives to Codex.

The best open source alternative to Codex is OpenCode. If that does not suit you, we have compiled a ranked list of other open source Codex alternatives to help you find a suitable replacement.

Codex alternatives are mainly AI Agent Platforms 21. Browse these if you want a narrower list of alternatives or are looking for a specific functionality of Codex.

Written by OpenAlternative Last updated: June 2, 2026
#1

OpenCode

Open source AI coding agent that works in your terminal, IDE, or desktop app, supporting 75+ LLM providers with no code storage.

Open source AI coding agent that works in your terminal, IDE, or desktop a...

#2

OpenHands

AI agent platform that runs autonomous coding agents to plan, write, and ship changes across codebases end-to-end, with support for any model and self

AI agent platform that runs autonomous coding agents to plan, write, and s...

#3

T3 Code

Advanced AI coding assistant that enhances development workflow with intelligent code suggestions, automated debugging, and seamless integration.

Advanced AI coding assistant that enhances development workflow with intel...