@Tao100086: Codex 的核心 Agent Harness 已经公开,并采用 Apache-2.0 许可证。官方 GitHub 地址是: OpenAI Codex 官方仓库:https://github.com/openai/codex Rust 版…

X AI KOLs Timeline 工具

摘要

OpenAI 开源了 Codex 的核心 Agent Harness,采用 Apache-2.0 许可证,提供 Rust 版本的实现,并通过 GitHub 公开。

Codex 的核心 Agent Harness 已经公开,并采用 Apache-2.0 许可证。官方 GitHub 地址是: OpenAI Codex 官方仓库:https://github.com/openai/codex Rust 版 Harness 主体:codex-rs,https://github.com/openai/codex/tree/main/codex-rs… 核心 Agent Loop:codex-rs/core https://github.com/openai/codex/tree/main/codex-rs/core… OpenAI 没有另外建立一个名为 codex-harness 的独立仓库。大家所说的 Codex Harness,主要就是 openai/codex 仓库里的 codex-rs,特别是 codex-rs/core。 OpenAI 把它称为 Codex harness,定义为负责模型、用户与工具之间编排的核心 Agent Loop。 自己的Agent架构还在开发,这一个一个的都在开源,怎么办,继续学习去.....
查看原文
查看缓存全文

缓存时间: 2026/08/21 21:17

Codex 的核心 Agent Harness 已经公开,并采用 Apache-2.0 许可证。官方 GitHub 地址是: OpenAI Codex 官方仓库:https://github.com/openai/codex Rust 版 Harness 主体:codex-rs,https://github.com/openai/codex/tree/main/codex-rs… 核心 Agent Loop:codex-rs/core https://github.com/openai/codex/tree/main/codex-rs/core…

OpenAI 没有另外建立一个名为 codex-harness 的独立仓库。大家所说的 Codex Harness,主要就是 openai/codex 仓库里的 codex-rs,特别是 codex-rs/core。

OpenAI 把它称为 Codex harness,定义为负责模型、用户与工具之间编排的核心 Agent Loop。

自己的Agent架构还在开发,这一个一个的都在开源,怎么办,继续学习去…..


openai/codex

Source: https://github.com/openai/codex

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

Codex CLI splash


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

Run the following on Windows to install Codex CLI:

powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

The standalone installers download from https://releases.openai.com/codex by default and fall back to GitHub Releases if a metadata or asset download is unavailable. To force GitHub Releases, set CODEX_INSTALLER_USE_RELEASES_OPENAI_COM to false (0 and no are also accepted):

curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_INSTALLER_USE_RELEASES_OPENAI_COM=false sh
$env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iex

Codex CLI can also be installed via the following package managers:

# Install using npm
npm install -g @openai/codex
# Install using Homebrew
brew install --cask codex

Then simply run codex to get started.

You can also go to the latest GitHub Release and download the appropriate binary for your platform.

Each GitHub Release contains many executables, but in practice, you likely want one of these:

  • macOS
    • Apple Silicon/arm64: codex-aarch64-apple-darwin.tar.gz
    • x86_64 (older Mac hardware): codex-x86_64-apple-darwin.tar.gz
  • Linux
    • x86_64: codex-x86_64-unknown-linux-musl.tar.gz
    • arm64: codex-aarch64-unknown-linux-musl.tar.gz

Each archive contains a single entry with the platform baked into the name (e.g., codex-x86_64-unknown-linux-musl), so you likely want to rename it to codex after extracting it.

Using Codex with your ChatGPT plan

Run codex and select Sign in with ChatGPT. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Business, Edu, or Enterprise plan. Learn more about what’s included in your ChatGPT plan.

You can also use Codex with an API key, but this requires additional setup.

Docs

This repository is licensed under the Apache-2.0 License.

OpenAI Developers (@OpenAIDevs): Teams are using the open-source Codex harness to bring agents into the tools they already use, from internal apps to operations dashboards.

Their applications control the interface, context, tools, and approvals while the harness handles the agent loop.

相似文章

在OpenAI安全运行Codex

OpenAI Blog

OpenAI详细介绍了如何部署Codex并配备安全控制措施,包括沙箱隔离、审批策略、网络策略以及智能体原生遥测,以确保企业环境中编码智能体的安全运行。