codex-host

Run Pi and Claude Code directly in Codex Desktop. 在 Codex Desktop 中直接运行 Pi 和 Claude Code。

380
Stars
17
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/BytePioneer-AI/codex-host

快速入门

使用 codex-host 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

CodexHost

在 Codex Desktop 中运行 Pi 和其他 Harness

我们认为 Codex Desktop 提供了目前最好的桌面开发交互体验。

Codex 并不是唯一优秀的 Agent Harness,也有人偏好 Claude CodePi Agent

CodexHost 让你在 Codex Desktop 中选择真正执行任务的 Agent,同时保留 Codex 的原生体验。

⭐ 如果这个项目对你有帮助,请给我们一个 Star!⭐

license MIT LINUX DO

Pi Codex Claude Code DeepSeek Harness Grok

简体中文 · English · 한국어

界面预览

无需切换应用,Pi、Claude Code、Grok Build 和 DeepSeek Harness 都可以在同一个 Codex Desktop 窗口中直接使用。

Pi 与 Claude Code 在 Codex Desktop 中运行的完整演示

界面

Pi、Claude Code 和 DeepSeek Harness 作为独立 Thread 运行在 Codex Desktop 中

功能状态

能力CodexPiClaude CodeGrok BuildDeepSeek Harness
流式回复原生
Thinking原生
工具状态原生
Edit Diff原生
提问 / 取消原生
Model / Thinking 选择原生🚧
工具审批原生
权限模式原生
Usage原生
会话恢复原生
Fork原生
上下文压缩原生
斜杠命令原生🚧
修订上一条消息原生🚧

SSH 远程 Harness:✅ 支持通过 Codex Desktop 原生 SSH 工作区使用远程节点上的 Harness。

快速使用

方式一:使用 npm

npm install -g @codexhost/cli
codexhost

npm 支持 macOS、Windows 和 x64 Linux

方式二:下载安装包

GitHub Releases 下载最新版安装包,并选择与你的操作系统和 CPU 架构对应的文件。目前安装包支持 macOS 和 Windows。

macOS 安装后,如果首次打开时提示 Apple 无法验证该应用,请在终端执行:

xattr -dr com.apple.quarantine /Applications/codexhost.app

然后重新打开 codexhost

Windows 上如果使用绿色解压版 Codex Desktop,请在启动 codexhost 前手动设置 CODEXHOST_INSTALL_ROOT,将其指向包含 app\ChatGPT.exe 的目录:

[Environment]::SetEnvironmentVariable("CODEXHOST_INSTALL_ROOT", "D:\CodexPortable", "User")

然后重新打开终端并启动 codexhost。NPM 命令和 Windows 安装版都适用。

SSH 远程 Harness

在本机的 Codex Desktop 中,通过 SSH 连接并控制其他开发节点上的 Harness,在远程机器执行任务,同时继续使用 Codex Desktop 的统一界面。

两端需要安装相同版本的 codexhost,并确保 Codex Desktop 原生 SSH 工作区已经可以正常使用。

客户端 ↓ / 远程 Host →macOSLinuxWindows
macOS
Linux
Windows

Windows 可以作为客户端,但暂不支持作为远程 Host;远程 Host 目前仅支持 macOS 和 Linux。

在 SSH 远程主机上执行:

npm install -g @codexhost/cli
codexhost remote install
codexhost remote status

然后通过本地 codexhost 启动 Codex Desktop,打开 SSH 工作区,在远程输入框的 Agent/Model 选择器中选择目标 Harness。

查看远程 SSH 配置、诊断与卸载文档 →

怎么做的

多数「多 Agent 客户端」通过 ACP 协议接入不同 Harness。接入快,但工具、审批、权限、Diff、提问等原生能力会先被削平,再在 UI 里补一层近似实现。

CodexHost 尽量不走这条路:

  • Desktop 侧:用 CDP / Electron Inspector 在官方 Codex Desktop 上增强 Agent 选择与会话界面,不重做聊天壳,也不改官方安装包
  • 协议侧:用 CLI Shim 透明接入官方 app-server;Codex 请求原样转发
  • Harness 侧:按各自原生接口接入——Pi 走官方 RPC,Claude Code 走 Agent SDK / CLI——再投影到 Desktop 已有的流式输出、工具、Diff、审批和提问

目标是保真,不只「能聊」。流式、工具状态、可靠 Patch、原生审批和提问,都尽量来自 Harness 自己,而不是 Host 猜测或伪造。

交互展示

Agent 与 Model 选择

提交前选择真正执行任务的 Agent 与 Model,Grok 已加入列表

Usage 与费用信息

Usage 面板展示上下文、缓存命中与费用估算

Mermaid 图表可视化渲染

Pi + Codex Desktop 与 Pi Agent TUI 的 Mermaid 图表可视化渲染对比

Grok 效果展示

Grok 效果展示:账户额度与每周用量、重置时间一目了然

鸣谢

  • 感谢 LINUX DO 社区一直以来的支持。
  • 感谢 Paseo 项目在多 Harness 接入思路与架构设计方面带来的启发与参考。

常见问题

What is codex-host?

codex-host is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BytePioneer-AI. Run Pi and Claude Code directly in Codex Desktop. 在 Codex Desktop 中直接运行 Pi 和 Claude Code。. It has 380 GitHub stars.

Is codex-host safe to use?

codex-host returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install codex-host?

Clone the repository with "git clone https://github.com/BytePioneer-AI/codex-host" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is codex-host written in?

codex-host is primarily written in TypeScript. It is open-source under BytePioneer-AI on GitHub, so you can review or fork the full source.

Are there alternatives to codex-host?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codex-host against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情