Inside The Machine
Coding agents
Coding agents

Codex CLI

OpenAI's lightweight terminal coding agent.

Turns a model into something that edits your code.

—PENDING
Gap ScorePending test on Mac Studio
Where it sits
Catalog entryVerified it exists. Install steps not tested yet.
.md .json
AGENT VIEW · text/markdown · or send Accept: text/markdown
---
schema: "https://insidethemachine.ai/schema/listing.schema.json"
slug: "codex-cli"
name: "Codex CLI"
kind: "repo"
tier: "catalog"
category: "coding"
category_label: "Coding agents"
stack_layer: "harness"
homepage: null
repo: "https://github.com/openai/codex"
license: "Apache-2.0"
stars: 129383
last_push: "2026-10-15"
archived: false
tags: []
seen_in_videos: []
gap_score: null
gap_score_status: "pending test on Mac Studio"
verified_on: "2026-10-15"
---

# Codex CLI

**What:** OpenAI's lightweight terminal coding agent.

**Why:** Turns a model into something that edits your code.

**Category:** Coding agents · **Stack layer:** harness

## Status

Catalog entry. Existence and repo metadata checked 2026-10-15 via the GitHub API. Install commands below are auto-extracted from the README and have NOT been executed or verified. Read the README before running anything; prefer a sandbox or venv.

## Install (unverified)

1. [any] source: README (auto-extracted); status: unverified, not executed

```bash
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```

2. [any] source: README (auto-extracted); status: unverified, not executed

```bash
npm install -g @openai/codex
```

3. [macos] source: README (auto-extracted); status: unverified, not executed

```bash
brew install --cask codex
```

## Verify

No verified check yet. Minimum: the install command exits 0 and the tool's own help/version flag runs (exact flag: see README).

## Rollback (unverified)

1. source: derived inverse of install command

```bash
npm uninstall -g @openai/codex
```

2. source: derived inverse of install command

```bash
brew uninstall --cask codex
```

## Links

- Repo: https://github.com/openai/codex
- README: https://github.com/openai/codex#readme