OpenAI 已将整个 Codex Harness 开源 > OpenAI 的 Codex:开源终端编程智能体 + 完整运行框架(CLI、技能、沙箱运行时)。
看原文
OpenAI has open-sourced the entire Codex Harness > OpenAI’s Codex: open-source terminal coding agent + full harness (CLI, skills, sandbox runtime).
完整内容(AI 读出来的中文全文)
作者 Rµ§† ߥ†ê§ 🎃(@rustaceans_rs)
原文 ``` OpenAI has open-sourced the entire Codex Harness
> OpenAI’s Codex: open-source terminal coding agent + full harness (CLI, skills, sandbox runtime). ``` 译文:OpenAI 已将整个 Codex Harness 开源。
> OpenAI 的 Codex:开源的终端编程代理 + 完整 harness(CLI、skills、sandbox runtime)。
配图 一张文档页截图。上方一行说明文字,中间是紫色底上的深色终端窗口,下方是白色背景的安装说明,底部命令行被裁切。
图中可读文字: Codex CLI is a coding agent from OpenAI that runs locally on your computer. codex-rs — codex — 119×30 OpenAI Codex (v0.0.0) model: gpt-5.2-codex medium /model to change directory: ~/code/codex/codex-rs Tip: Use /feedback to send logs to the maintainers when something looks off. Explain this code base to me I need to clarify the user's request to "explain this code base" in codex-rs. I'll start by inspecting the repository structure, using the shell to list files and read documentation. Since there's no network involved, I might rely on commands like ls and rg --files. I want to provide a clear explanation, focusing on crates and architecture. I need to follow the instructions without making modifications, so I'll map out a plan first. Then, I can proceed to explore. Updated Plan Get a high-level map of the codex-rs workspace, then zoom into the main crates (core/protocol/tui/common) and the key runtime flows, and finally point you to the best docs/entrypoints for deeper reading. Inventory workspace layout: Cargo workspace members, top-level docs, and crate purposes from manifests/READMEs Trace the main runtime flow (CLI/TUI -> core -> protocol -> external services) by locating entrypoints and key types Summarize important subsystems (config, sandbox/process execution, networking, events/streaming, UI rendering) and where to look in code Call out testing strategy, snapshots, and common developer workflows (`just` targets) Explored If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE. If you want the desktop app experience, run codex app or visit the Codex App page. If you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex. Quickstart Installing and running Codex CLI Run the following on Mac or Linux to install Codex CLI: curl -fsSL https://chatgpt.com/codex/install.sh | sh
要点 - OpenAI 已开源整个 Codex Harness。 - Codex 被写成开源的终端编程代理,并带有完整 harness。 - 该 harness 包含 CLI、skills 和 sandbox runtime。