Codex (fork) is a Rust-first coding agent forked from openai/codex.
This fork aims to match Claude Code-style workflows: agent teams, hooks, Anthropic API agent, and a Web UI served by codex serve.
Goal: a Rust OpenCode with multi-model support, multi-agent collaboration, and long-running orchestration.
![]() |
Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our software users: register using this link and enter the "houcode" promo code during first recharge to get 10% off. |
macOS, Linux, WSL:
curl -fsSL https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/install.sh | bashThe shell install command above prefers gnu release assets on Linux and falls back to musl when needed; gnu builds require glibc >= 2.35 (Ubuntu 22.04+).
Windows PowerShell:
irm https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/install.ps1 | iexCopy/paste the command for your platform above to download the latest Release binary for your OS/arch. The shell command installs codex to ~/.local/bin and prints a PATH reminder.
Use hodexctl if you want to manage hodex separately without affecting an existing codex install.
macOS, Linux, WSL:
curl -fsSL https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/install-hodexctl.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/install-hodexctl.ps1 | iexAfter install, use hodexctl, hodexctl install, or hodexctl list.
More details: Hodexctl guide.
codex --version
codex serveThis repository is licensed under the AGPL-3.0 License.

