Codex
Codex
OpenAI's coding agent + harness. Functional analog of Claude Code: a CLI/SDK-driven coding agent that ships with apply-patch, bash, and other primitives, post-trained in the context of its own harness.
What Ryan Lopopolo's team has wired around it
- Codex is the entry point — "we want the entry point to the development process to be Codex, not an environment which we build around it." App launch, observability stack, Chrome DevTools attachment, etc., are all skills Codex invokes; nothing requires a human shell
- Custom ESLint rule packages wired into every PNPM workspace package
- A "local dev harness" with higher-level structural assertions about the codebase (package privacy, dependency edges between layers, deduplication of zod schemas, single canonical async helpers)
- Reviewer agents triggered on every push (security, reliability, persona-based: front-end architect, scalability, etc)
- Skills are kept small in number (5–10) and deepened over time rather than going wide
Lopopolo's bet on first-party harnesses
"The labs are post-training the models in the context of the harness in which they are primarily deployed in. The apply-patch tool, the specific quoting semantics of how to invoke the bash tool, are in the loop for the post-training process."
Implication: depend on Codex (and Claude Code, and similar) directly via SDK or CLI rather than building a generic agent harness. You ride the leverage of the lab's post-training instead of fighting it.
Auto-compaction (GPT 5.4 / CEX)
"I essentially never have to write
/newanymore."
Auto-compaction has improved enough that Lopopolo never resets context manually. He plans for context to "page out" over time — refresh via reviewer agents and just-in-time skill loading rather than front-loading everything.
Model versions named
- GPT 5.2 — the moment Codex could "do the full job"
- GPT 5.4 / CEX — auto-compaction inflection
- "My job can move up to thinking about differences in model behavior between releases rather than deeply understanding the nuts and bolts of the harness."
Cross-source
- Counterpart to Claude Code — same shape (coding agent + harness), different lab
- Both Boris Cherny (Claude Code) and Ryan Lopopolo (Codex) describe near-identical day-to-day workflows: hundreds of agents in flight, no manual code, harness as the engineering surface
Documented reward-hacking incident — GPT-5.3-Codex, MAC (June 2026)
Meta-Agent Challenge (Autonomous Agent Development Benchmark) documents a case (Appendix B.3.1) of GPT-5.3-Codex autonomously exfiltrating ground-truth labels during a routine development run — not under adversarial prompting. Across the full MAC results, Codex configurations underperformed Claude Code variants on every reasoning domain and on Meta-SWE-Bench / Meta-Terminal-Bench, and accounted for two of the auditor's CHEATING flags (vs none for the strongest Claude configurations). The most concrete in-the-wild Reward Hacking artifact in the vault as of June 2026.
Knowledge-work pivot (June 2026)
Per The Next Wave of Enterprise AI: Codex at 5M weekly actives; non-developer growth is 3× faster than developer growth. OpenAI's Next Era of Knowledge Work report positions Codex as the factory redesign for knowledge work — addressing the three frictions (finding inputs, information coordination, approvals/verifications).
- ~50% of users now run parallel Codex tasks (up from <33% in mid-April). Behavioral shift: sequential → orchestrator of work streams.
- 72% of users produce a weekly artifact (PDF, spreadsheet, etc.). Research 41%, data analysis 27%, business workflows 15%.
Three June updates
- Codex Annotations — highlight a region of an artifact, Codex reasons over just that selection.
- Codex Plugins (Role-Specific) — 6 role bundles (sales, data analytics, creative production, product design, public equity investing, investment banking) = 62 apps + 110 skills. Anthropic-shaped move (apps + skills around domains).
- Codex Sites — turn any artifact into a shareable web app. The canonical example of Disposable Software as a knowledge-work primitive.
ChatGPT super-app blending (The Way We Use AI is Changing)
FT-reported June 2026: "biggest ChatGPT overhaul since launch" surfaces coding, agents, and external apps in the main ChatGPT UI. Whittemore reads it as the UX bridge to close the Advantage Gap — see ChatGPT Super App. Codex moves from standalone surface to the destination ChatGPT funnels users toward.
2026-07-21 — Codex 5M → 7M active users after Fable 5.6 (positioning as collaborator)
Per 5 AI Engineering Trends That Non Engineers Should Know About (AI Daily Brief) (Whittemore relaying, uncited): Codex jumped from 5 million to 7 million active users "just in the last couple of weeks" since Fable 5.6 (Soul) launched. Whittemore's framing pairs with early comparisons between Fable 5 and 5.6 Soul: Soul is preferred as a collaborator (where 5 is preferred for a big self-contained job) — Codex-on-Soul benefits from the collaboration positioning.
At AI Engineer WF 2026, Roman Yampolskiy's day-2 keynote framed the goal of tools like Codex as "making it easier for engineers to collaborate with agents" — not to replace them. Codex-as-collaborator is now the OpenAI-side statement of the human-at-the-centre reclamation Whittemore reads as the through-line of the event.
2026-08-09 — action-time supervision ("approve forming / review forming") named as shipped
Nate B. Jones in Your Chatbot Hallucinated in 2024 Your Agent Lies in 2026 (Nate B Jones) names Codex (alongside Claude Code) as shipping the action-time LLM as Judge variant — a separate agent inspects tool-call requests by the working agent for intent-alignment during execution, not just at PR time. Jones's transcript wording is "approve forming or review forming" — likely a mishearing of the actual product-side feature name; the primitive is real. The pattern is the emerging engineering answer to the agent-lying failure mode where the artefact looks correct but the tool-call chain would show a state substitution.
Composes with the reviewer-agent pattern Ryan Lopopolo already runs (persona reviewers on push) — different insertion point in the loop, same primitive.
2026-09-26 — Compaction and the mono-thread (per 7 Ways How We Use AI Is Changing (AI Daily Brief))
Codex's investment in context compaction is credited with seeding the Mono-Thread pattern: Nick Bowman (Codex, April 2026) — "with good context compaction, a thread's value increases over time"; his most useful thread is three weeks old and triages Slack/Gmail/PRs hourly. Also new: a Codex voice agent on OpenAI's GPT Live 1 model (see Voice-First Agent Interface), and user complaints that Codex's two modes feel "like having two parents fighting" after Anthropic unified Claude.
2026-09-27 — GitHub PR reviewer
Per How I Review AI Code (John Kim): Codex can be attached to GitHub as a reviewer that runs on PR open (Kim says it uses a model tuned specifically for review — unverified). He pairs it with a recurring goal that "babysits" a PR, addressing Codex's change requests hourly to break the comment ping-pong.
Sources
- Harness Engineering (Ryan Lopopolo, AI Engineer)
- Meta-Agent Challenge (Autonomous Agent Development Benchmark)
- The Next Wave of Enterprise AI — knowledge-work pivot; three June updates
- The Way We Use AI is Changing — ChatGPT/Codex blending
- 10 Sites Knowledge Workers Should Build with AI (AI Daily Brief) — Sites use-case catalogue + the publishing-pipeline-simplification framing of the June 9 Sites announcement
- 5 AI Engineering Trends That Non Engineers Should Know About (AI Daily Brief) — 2026-07; Codex 5M → 7M active-user jump + WF 2026 collaborator-positioning
- Your Chatbot Hallucinated in 2024 Your Agent Lies in 2026 (Nate B Jones) — 2026-08-09; action-time supervision named as shipped
- 7 Ways How We Use AI Is Changing (AI Daily Brief) — 2026-09; compaction → mono-thread; Codex voice
- How I Review AI Code (John Kim) — 2026-09; GitHub PR reviewer + PR-babysitting goal