← All open source projects

OpenAI Codex

openai/codex

OpenAI Codex is OpenAI’s local coding agent for terminal, IDE, and desktop workflows, helping read, edit, and verify code.

Forks 13,252
Author openai
Language Rust
License Apache-2.0
Synced 2026-06-09

What it is

OpenAI Codex in this repository is a local coding agent that runs on the developer’s computer. It is not just a model and not only a cloud chat: the tool works next to a working copy, reads files, proposes changes, and runs commands.

The repository matters as the open part of Codex CLI. The documentation distinguishes terminal Codex, IDE integration, the desktop app, and cloud-based Codex Web because the Codex name covers several ways to work with an agent.

What is inside and how people use it

Inside are the CLI, documentation, install scripts, releases, and build material. It can be installed through an install script, npm, Homebrew cask, or GitHub Release binaries.

Install and run

This example shows the basic documented path: install the CLI and start the agent in a project.

Language: Bash
curl -fsSL https://chatgpt.com/codex/install.sh | sh

# или через npm
npm install -g @openai/codex

codex

A typical use case is opening a repository, running `codex`, describing the task, and letting the agent read or change files within the project. Verification through tests, linting, and builds is a core part of the process.

Strengths and limitations

The strength is closeness to the real working environment. The agent sees the project not as a pasted snippet, but as a filesystem, commands, and change history.

The limitation is permissions and trust. Codex can edit files and run commands, so task scope, secrets, destructive operations, and actually completed checks all need attention.