Skip to main content
This article separates product experience, public documentation, pinned source code, offline demos, and real API wiring. Code samples are for teaching purposes and do not represent Codex’s internal implementation.
Verification date: 2026-09-10. Subject: user-provided social media screenshots from 2026-09-07. The technical thesis is: a coding agent’s capability comes not only from the model, but also from the runtime that hosts the model, the tool execution protocol, context management, memory, and interaction systems. When these mechanisms match model training, an agent can complete long tasks more efficiently. This thesis is worth learning, but the vendor put-downs, absolute rankings, and originality claims in the screenshots cannot be used directly as interview conclusions. This article proceeds as: “what the quote means → public evidence → how it works → how to implement it → comparison with a baseline harness → interview follow-ups.” The code is an original teaching implementation, not an attempt to impersonate Codex’s internal code. Real API examples are called out separately. Keeping only this Markdown gives you the full tutorial and code.

Reading guide

  1. Line-by-line screenshot check
  2. Harness fundamentals and layering
  3. Unified Runtime Host and App Server
  4. Technical implementation of the Agent GUI
  5. Async tool calls and reasoning while executing
  6. Mid-turn steering
  7. PTC, Code Mode, and MCP
  8. Compaction, window switching, and history retrieval
  9. Memory and dreaming
  10. How post-training pairs with the harness
  11. Computer Use
  12. Benchmarks and causal attribution
  13. Fair comparison with traditional harnesses and Claude
  14. Interview delivery and common follow-ups
  15. Hands-on runs and acceptance
  16. Source code navigation and references
  17. Full code appendix

1. Which claims in the screenshots can you take at face value?

“Verified” below only means that public materials or source code support the mechanism. It does not mean every account, platform, or version has it enabled, nor that it will necessarily do better on your task. The screenshots repeat the async tool calling claim, which this article merges into one explanation. Evidence entry points: App Server, Astra capability notes, Memories. Specific implementation evidence is given near each chapter.

1.1 Three “Codex”es you must not confuse

  • Model: for example gpt-6-astra, which generates text, tool requests, and other model output.
  • Agent runtime / harness: receives model output, executes tools, keeps state, controls permissions, and handles failures.
  • Product client: the desktop app, CLI, IDE, and so on, which surface tasks to the user and accept operations.
Saying “the product experience is good, therefore the model architecture is advanced,” or “this API feature was invented by the desktop app,” are both cross-layer attributions.

1.2 Evidence boundaries for this article

The public source is pinned to openai/codex commit ddea03ad049142943bdbf13e937b1d67e8c1ba0c, committed 2026-09-10 03:40:55 UTC. This is the main snapshot read for this article. It is not necessarily the build commit of any locally installed binary. The local verification environment is Codex CLI 0.153.4, Python 3.14.7, and Node.js 26.7.0. A handler, type, or test existing in the source only proves that code path exists. To decide whether it is enabled by default, actually routed, or available on your account, you still have to check feature gates, registration conditions, release notes, and run traces. Without an official backend, training logs, or a cross-platform internal deployment diagram, this article does not fill those details in.

2. First, understand what a harness is: it is not just wrapping a prompt

2.1 The most basic agent loop

Suppose a user says, “Fix the failing login test.” The model cannot change the file system by itself. It emits requests like “read file” and “run tests.” An external program executes them, hands results back, and the loop continues. Below is teaching pseudocode that illustrates a basic serial harness. It is not any current vendor implementation:
This is enough to be an agent, but it does not reliably solve: users changing requirements mid-run, tests that take minutes, history exceeding the window, process crashes, tool timeouts, task reconnection, multi-client observation, permission revocation, cross-task memory, and so on.

2.2 An engineering-usable layering

This is the conceptual layering used in this article, not a one-to-one map of Codex’s process deployment. The boundary between “runtime” and “harness” is not consistent across teams: some call every outer system the harness, others call the execution environment the runtime and reserve “harness” for the loop and policy layer. In an interview, agreeing on terms up front matters more than arguing over naming.

2.3 Three kinds of state you must keep separate

Rolling back the conversation is not rolling back files. Interrupting the model is not killing child processes. A history summary that says “tests passed” is not the same as tests passing against the latest code. Every mechanism that follows is built on top of these three distinctions.