Codex Host
Run Pi and Claude Code directly in Codex Desktop. 在 Codex Desktop 中直接运行 Pi 和 Claude Code。
Install: npm install -g @codexhost/cli
Works with Claude Code, Codex · 3,163 GitHub stars
Install
npm install -g @codexhost/cliInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →CodexHost
Run Pi and other Harnesses inside Codex Desktop
We believe Codex Desktop offers the best desktop development experience today.
But Codex isn't the only great Agent Harness — Claude Code and Pi are great too.
CodexHost lets you run other Harnesses natively inside Codex Desktop and have them work together.
⭐ If CodexHost is useful to you, please give it a star! ⭐
Download · Cross-Agent Collaboration · Remote · 微信交流群 · 简体中文 · 한국어
Sponsors
Click to collapse
Interface Preview
No more switching apps: Pi, Claude Code, Grok Build, and ten-plus other Harnesses all run right inside the same Codex Desktop window.
https://github.com/user-attachments/assets/c48192d7-23ff-4f6e-b61a-6345a655bb76
Interface
Quick Start
Option 1: npm (macOS / Windows / Linux)
npm install -g @codexhost/cli
codexhost
Option 2: Installer (macOS / Windows)
Grab the installer for your platform from Releases.
Linux is supported on x64 and ARM64. See the Linux guide.
Run codexhost update to check for the latest release and prepare an upgrade from your terminal. Quit Codex Desktop first if an upgrade is available. Once preparation completes, the background updater installs it and restarts codexhost. An up-to-date installation exits without changes.
Installation troubleshooting
codexhost does not start, or Codex opens without codexhost features
Run codexhost console (Windows: Start Menu → "codexhost console") to open the local console at http://127.0.0.1:4399/. It shows why the last start failed, the Codex Desktop version, Host Runtime logs, and can update codexhost while Codex is not running. It starts together with codexhost: installer launches open it in your browser, and terminal launches print its address.
macOS: "App can't be verified" on first launch
xattr -dr com.apple.quarantine /Applications/codexhost.app
Windows: using a portable Codex Desktop
Point
CODEXHOST_INSTALL_ROOTat the folder where you extracted Codex Desktop:[Environment]::SetEnvironmentVariable("CODEXHOST_INSTALL_ROOT", "D:\CodexPortable", "User")Quit Codex Desktop completely, open a new terminal, and run
codexhost.
Highlights
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…