- Автор
- BytePioneer-AI
- Размер
- 76.1 MB
- Звёзды
- 3.2K
- Обновлён
- КоммитNov 17Релизv0.21.0Nov 17
- Возраст
- 4 мес
- Коммиты · 90 дней
README проекта с github.com/BytePioneer-AI/codex-host. Одним файлом markdown: README.md.
Use 15+ Agents like Claude Code, Pi and Grok inside Codex Desktop, without switching apps
They get the same Diff review, Fork and approvals as Codex, and can hand work to each other.
There is also a Web app: the same Codex interface with lower memory use, so you can use every Agent on this computer remotely from your phone or any other computer.
⭐ If CodexHost is useful to you, please give it a star! ⭐
CodexHost Website · Download · Quick Start · Desktop · Cross-Agent Collaboration · 微信交流群 · 简体中文 · 한국어
![]() |
Thanks to VibeAPI for sponsoring this project! Built for power developers and teams, VibeAPI provides unified access to mainstream AI models, focusing on the Codex and Claude series with a self-managed, traceable account pool. It offers ultra-fast time to first token, 99.9% SLA availability, and cache hit rates of 95%+. Human technical support is available 24/7, with corporate invoicing and enterprise partnerships fully supported. Grab some cyber goodies → |
Option 1: npm (macOS / Windows / Linux)
npm install -g @codexhost/cli
codexhost # start Codex Desktop
codexhost web # start Web and open it in your browser
codexhost stop # stop all CodexHost background services
Option 2: Installer (macOS / Windows / Linux)
Grab the installer for your platform from Releases; Linux uses a .tar.gz archive, see the Linux guide. For Web: open codexhost after installing, then visit http://127.0.0.1:4400 locally.
Option 3: WinGet (Windows x64 / ARM64)
Install or upgrade with the same command:
winget install --id BytePioneer-AI.CodexHost --exact
Linux is supported on x64 and ARM64. See the Linux guide.
Upgrade and stop: run codexhost update to upgrade, and codexhost stop to stop all background services. Before installing over an existing npm installation, run codexhost stop first.
Keep Web access private: access tokens, login links and QR codes let anyone who has them operate your computer. Do not share them.
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 and Host Runtime logs, and can update codexhost while Codex is not running.
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_ROOT at the folder where you extracted Codex Desktop:
[Environment]::SetEnvironmentVariable("CODEXHOST_INSTALL_ROOT", "D:\CodexPortable", "User")
Completely quit any running Codex Desktop and codexhost processes (check notification area or Task Manager if necessary), open a fresh terminal, and run codexhost.
CodexHost discovers version metadata from
AppxManifest.xml,resources/app.asar, orpackage.json. The Console Overview displays the detected Desktop version, source (Portable / UnpackedvsWindows AppX/MSIX), and installation path.
No more switching apps: Pi, Claude Code, Grok Build and 15+ other Agents all run in the same Codex Desktop window. Every session is in the sidebar, and you can switch Agents from the bottom-right of the composer.
https://github.com/user-attachments/assets/c48192d7-23ff-4f6e-b61a-6345a655bb76
|
Diff review panel
|
Fork from any message
|
Visible Subagents
|
|
Tool calls and thinking
|
Usage at a glance
|
|
One-click account import
|
Better than a terminal
|
Type # in the chat input, pick an Agent, and hand it a self-contained task:
Have
#claude-codereview this change on its own and flag any compatibility risks.Have
#pifigure out why this test is flaky.Have
#ompimplement this feature while I keep working on the docs.
Every delegated task runs as a separate native session in the target Agent. It shows up in the conversation list, so you can open it anytime to check progress or continue the conversation. When it finishes, the result returns to the session that started it.
|
Agents work in parallel
|
Reports back when done
|
For developers: local programs such as terminal scripts, Claude Desktop and always-on bots can also hand tasks to these Agents and wait for results through the codexhost delegate / codexhost thread commands or MCP. See external clients.
Tasks run on the other machine while the UI stays in your local Codex Desktop. Both machines need the same CodexHost version.
| Remote machine | How to connect |
|---|---|
| macOS / Linux | SSH |
| Windows | Remote Control (experimental) |
Before you start, add the remote machine in Codex Desktop under Settings → Connections → SSH. Your local machine can run macOS, Linux or Windows.
Install and start codexhost on the remote machine:
npm install -g @codexhost/cli
codexhost remote install
codexhost remote start
codexhost remote status
On your local machine, launch Codex Desktop through codexhost and open the SSH workspace.
Pick an Agent from the composer's Agent / Model selector.
SSH setup, diagnostics and uninstall →
Use Agents on a Windows machine from another computer, built on the pairing and sign-in of Codex Desktop's official Remote Control.
Before you start, make sure official Remote Control can already run Codex tasks. No public services or ports are opened, and Agent credentials never leave the Windows machine.
|
微信交流群 Scan the QR code to add me on WeChat (note “CodexHost”) and I will invite you to our WeChat group.
|
|
Most multi-agent clients build their own chat UI and plug Agents in through a common protocol. CodexHost does it differently:
Please read the contributing guide before opening an issue or PR. See repository maintenance automation for PR title labels, CI summaries and pre-release checks.
Requirements: the official Codex Desktop, Node.js 22.19+ or 24, and Rust.
git clone https://github.com/BytePioneer-AI/codex-host
cd codex-host
npm ci
npm start
| Command | Purpose |
|---|---|
npm start |
Build and start Desktop. |
npm start web |
Build and start Web with Web UI hot reload (default). |
npm start web -- --no-watch |
Build and start Web without hot reload. |
npm stop |
Stop the current user's local codexhost services across worktrees. |
Using Pi as an example, here is how a single request flows from left to right: Desktop → shared layer → Pi plugin → native process.
Most of the work is implementing the plugin's Manifest, factory, Adapter and Session, plus the native communication and translation logic. The Renderer still has some hard-coded wiring, so full Desktop integration takes extra work. Tip: point your coding Agent at the in-repo codexhost-add-harness Skill. It covers plugin structure, the shared Adapter interface, capability implementation and testing requirements.
Thanks to everyone who has contributed to CodexHost.