AI for Developers
OpenAI Codex logo

Best OpenAI Codex alternatives

8 tools developers use instead of OpenAI Codex, ranked by popularity. 7 offer a free plan and 5 are open source. Updated October 2026.

Free Open source Showing 1–8 of 8
  1. Claude Code logo

    Claude Code

    Free plan

    Anthropic's agentic coding tool, running in the terminal, IDE, desktop app, and browser, reading your codebase and editing files with explicit approval.

  2. Aider logo

    Aider

    Free Open source

    Open-source, git-aware AI pair programmer that runs in your terminal. Same project as "Aider Chat" elsewhere in this directory, now maintained at Aider-AI/aider.

  3. Devin logo

    Devin

    Free plan

    Cognition AI's autonomous software engineer that plans, writes, debugs, and ships code with limited human oversight, across several model backends.

  4. OpenCode logo

    OpenCode

    Free Open source

    Open-source terminal coding agent with a TUI that works with any model provider, including local models, and supports LSP, MCP and custom agents.

  5. OpenHands logo

    OpenHands

    Free Open source

    Open-source platform for autonomous coding agents built by All Hands AI, running in a sandboxed Docker environment to fix issues and open pull requests.

  6. Codename Goose logo

    Codename Goose

    Free Open source

    Open-source AI agent from Block, runnable as a desktop app or CLI, connecting to external systems via MCP and now governed by the Agentic AI Foundation.

  7. Factory AI logo

    Factory AI

    Paid

    Enterprise AI coding platform built around autonomous "Droids" that plan, code, test, and open pull requests across a codebase, with human review built into the loop.

  8. Gemini CLI logo

    Gemini CLI

    Free Open source

    Google's open-source terminal coding agent built on Gemini models with a 1M-token context window. Shut down for free consumer accounts June 18, 2026.