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 musl release assets when available, then gnu; 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.
If you want to manage hodex separately without affecting an existing codex install, you can use hodexctl.
macOS, Linux, WSL:
curl -fsSL https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/hodexctl/hodexctl.sh -o ./hodexctl.sh
chmod +x ./hodexctl.sh
./hodexctl.shWindows PowerShell:
$script = Join-Path $env:TEMP "hodexctl.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/stellarlinkco/codex/main/scripts/hodexctl/hodexctl.ps1 -OutFile $script
& $scriptSee Hodexctl guide for details.
codex --version
codex serveThis repository is licensed under the AGPL-3.0 License.

