mrkeyoor.com_
Tue 15 Sept 23:57 UTC
AI Toolsevaluationupdated 27 Aug 2026

codex review

Codex CLI is OpenAI's local coding agent for working on repositories from a terminal. It can inspect files, edit code, run commands under sandbox and approval rules, and connect the work to a ChatGPT account or OpenAI API key.

+1,588stars / 7d
Verdict

Our Codex checkout installed 1 pnpm package in 21 seconds but exposed no build or test target, so that run validates only a thin Node workspace path and not the 1.5-million-line Rust project. The released CLI is worth using for developers who want an agent inside a real terminal with visible edits, commands, and approval boundaries. Skip it when cloud model access is disallowed or when your team cannot define what the agent may read and execute.

We ran it

Lab card: what happened when we ran codexScreenshot of codex (github.com/openai/codex)
Install✓ · 21s1 packages · 170 MB
Buildn/ano build script
Testsn/ano test script
Repo6446 files~1,529,062 lines of source · 65 MB · 27 CI workflows

Answers from our run

Does codex build from source?

Dependencies installed in 21 seconds (1 packages), and the project has no separate build step. We cloned commit 343074d into a clean Debian container with 3 CPUs and no project-specific setup.

Does codex have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Who should not use codex?

Developers seeking a fully offline coding assistant: the README requires ChatGPT sign-in or separate API-key setup for model access.

What are the alternatives to codex?

Aider, Goose, Continue. Our Codex checkout installed 1 pnpm package in 21 seconds but exposed no build or test target, so that run validates only a thin Node workspace path and not the 1.

Setup4/5Standalone, npm, and Homebrew installs; account setup required
Docs4/5Official guides cover auth, configuration, sandboxing, and IDE use
Community5/5118,894 stars and same-day release and issue activity
Maturity4/5Frequent releases, with a very large active issue and PR queue

Discussed on

  1. hnCodex Security598 points
  2. hnOpenAI Codex CLI: Lightweight coding agent that runs in your terminal516 points
  3. hnCodex logging bug may write TBs to local SSDs510 points
  4. hnCodex starts encrypting sub-agent prompts425 points
  5. hnOpenAI's Codex sure knows a lot about HN [video]374 points

Who it’s for

Developers who want an agent to inspect, edit, test, and explain a real local repository.
Teams already using eligible ChatGPT plans or willing to configure API billing.
Engineers who value terminal workflows, version control review, sandboxing, and explicit command approvals.
Advanced users who need configuration, MCP connections, skills, or scripted noninteractive runs.

Who it’s NOT for

Developers seeking a fully offline coding assistant: the README requires ChatGPT sign-in or separate API-key setup for model access.
Teams that cannot allow source context to reach the configured model service, even with local command execution and sandbox controls.
Windows users who want a Unix-identical path: the README provides a separate PowerShell installer, platform binaries differ, and current issue activity includes Windows startup and WSL transport reports.
Contributors expecting pnpm install to validate the Rust codebase: our harness found no build or test target after the one-package install.

Setup reality

Our sandbox installed 1 pnpm package in 21 seconds and used 170 MB. The 65 MB checkout had 6,446 files and about 1,529,062 source lines. No build or test target was detected, so both steps were skipped; our run did not compile the primary Rust workspace.

Using the released CLI needs either ChatGPT sign-in or an OpenAI API key with separate setup. Repository work may also need Git credentials, project dependencies, MCP service credentials, and approval for commands that cross the configured sandbox boundary.

Official installers cover macOS, Linux, and Windows, with npm and Homebrew routes also documented. Building from source follows separate contributor instructions. Model access, account limits, network policy, and sandbox permissions affect the experience more than the small npm dependency count suggests.

Codex works directly in a local repository

Codex CLI is a terminal coding agent. You point it at a working directory, describe an outcome, and let it inspect files, propose edits, and run relevant commands. The local process gives the agent access to repository context and tools according to sandbox and approval settings. This is closer to collaborating with a command-line developer than asking a chat window for a code snippet, because the useful result is a reviewed change in the actual worktree.

The repository is primarily Rust, despite the npm installation option. GitHub showed 118,894 stars and 14,016 open issues and pull requests combined when fetched. The last push and release 0.150.1 both landed on August 27, 2026. That pace signals active engineering and a large user funnel, while the combined queue warns that behavior changes and platform-specific reports are common. Pinning versions is sensible for team automation.

The installer is short; the trust decision is not

The README offers standalone shell and PowerShell installers, npm install -g @openai/codex, Homebrew, and downloadable binaries. Running codex then starts the sign-in flow. OpenAI recommends ChatGPT sign-in for eligible Plus, Pro, Business, Edu, or Enterprise plans. An API key is another route, with separate configuration and billing. Those options make first launch easy for an existing OpenAI customer.

A coding agent can read source and execute commands, so setup includes policy as well as installation. Decide which repositories it may access, which commands require approval, whether network access is allowed, and how secrets appear in the environment. A 21-second package install does not answer those questions. Teams should begin in a disposable branch, inspect diffs, keep tests authoritative, and avoid placing production credentials in a workspace the agent can read.

What happened when we ran it

Our sandbox cloned commit 343074d into a fresh unprivileged Debian container with 3 CPUs and 8 GB of RAM. The checkout measured 65 MB, contained 6,446 files, and held about 1,529,062 source lines. The detected pnpm install succeeded in 21 seconds, adding 1 package and occupying 170 MB on disk. No secrets were available.

The harness found no build script or target, so it skipped the build. It also found no test script or target and skipped tests. The scan saw 27 CI workflow files, no Dockerfile, no tests directory, and monorepo workspaces. These facts describe the generic Node path at commit 343074d. They do not show that the Rust CLI compiled, that its own test suites passed, or that an authenticated agent session completed.

This distinction changes the buying conclusion. One installed package sounds tiny, while the repository contains roughly 1.5 million source lines across CLI, application, protocol, and support work. Users installing a published binary can ignore most contributor machinery. Anyone changing Codex itself should follow the repository's source-build guide and project-specific checks rather than treating our skipped generic targets as a pass.

Sandboxing limits commands, while review remains mandatory

Codex exposes approval and sandbox controls so a developer can decide how freely it reads, writes, runs commands, and reaches beyond the workspace. That boundary is a product strength because agent-generated commands are not inherently safe. It is also configuration that teams must understand. A broad approval profile can turn a mistaken instruction into a real system change, while a narrow profile can interrupt ordinary package installation or integration tests.

Version control is the practical safety layer. Start from a known status, preserve unrelated edits, and review the resulting diff before merging. Tests catch behavior regressions but do not catch every unwanted edit, credential exposure, or scope expansion. For noninteractive jobs, use a dedicated checkout and a limited identity. Codex can accelerate repository work; the person or pipeline accepting the patch still owns the result.

MCP and configuration can widen the agent's reach

The official documentation covers configuration and MCP connections, which let Codex use additional tools and data sources. That can turn a local coding session into a workflow spanning issue trackers, documentation, browsers, or internal systems. Each connection also adds permissions and credentials. Give an MCP server only the access its tools require, and separate read-only research from tools that can publish, delete, or deploy.

Skills and repository instructions can make repeated work more consistent, but they should be reviewed like executable process documentation. A stale instruction may send a correct agent down the wrong path. Teams adopting Codex across 20 repositories should maintain a small shared baseline for tests, formatting, secrets, and deployment boundaries, then keep repository-specific commands close to the code. The agent follows what it can see; contradictory instructions increase review work.

Fast releases reward pinning and staged updates

Release 0.150.1 fixes remote compaction so retained images count toward the token budget, trimming older images when necessary. That is a narrow change, but it shows how conversation state behavior can shift between releases. An automated workflow that depends on context retention should test a pinned version before updating. Interactive users can upgrade faster, provided they can roll back when a platform regression appears.

The current issue list includes Windows startup, WSL transport, macOS authentication, connector, and desktop-history reports. Some concern desktop surfaces rather than the terminal CLI, so they should not be treated as one CLI defect count. They do show the breadth now housed in this repository. Codex is easiest to recommend as an interactive terminal agent with human review. Fully unattended use needs stricter permissions, pinned versions, isolated credentials, and an independent acceptance test.

Alternatives

ProjectWhat it isPick it when
Aider gh↗A terminal coding assistant built around Git-aware editing and many model providers.pick this instead when provider choice and an established pair-programming loop matter most.
Goose gh↗An extensible local coding agent with a terminal interface and tool extensions.pick this instead when you want an open agent shell with several model-provider options.
Continue gh↗An open coding assistant centered on IDE workflows and configurable models.pick this instead when inline editor use matters more than a terminal-first agent.

What people are saying

  1. [velocity-scout] Yeachan-Heo/oh-my-codex
  2. [openai] How loveholidays is making everyone a builder with Codex
  3. [openai] Introducing the Admin plugin for ChatGPT Work and Codex
  4. [github-trending] openai/codex-plugin-cc
  5. [hackernews] A week of using Codex more than Claude
  6. [hackernews] Codex on AWS bedrock bug causing 10x charges

Sources

  1. Codex README
  2. Codex 0.150.1 release
  3. Official Codex documentation
  4. Official Codex authentication documentation

More ai tools reviews

LocalMiniDrama · agents-towards-production · Marinara-Engine · AI-Engineering-Coach · sdf-js · TradingAgents-astock · the whole board →