Agent intelligence

OpenAI Codex

Source-backed Codex intelligence separates the product, model context, limited prompt excerpt, App Server integration evidence, and current CLI model-selection behavior.

Codex CLI is documented as an agentic coding interface whose harness can supply workspace context, update plans, use terminal and patch tools, and receive repository guidance through AGENTS.md. For client integrations, OpenAI has deprecated the codex mcp-server command and directs users to Codex App Server. The September 4, 2026 Codex CLI 0.153.4 entry separately records Astra's visibility in the bundled model picker, makes Astra the bundled default only when no model is explicitly configured, and limits Astra's asynchronous-question guidance to sessions where the relevant tool is available. This current product evidence does not update the pinned GPT-5.2 prompt snapshot or establish the complete runtime instruction assembly.

Scope: Codex CLI · GPT-5.2 · GPT-6-Astra · reviewed Sep 05, 2026

Reviewed product surfaces

Product Surface Schematic

Each layer links to the detailed evidence map. Its state applies only to the reviewed evidence.

Source-backed answers

Key behaviors

Each answer is scoped to the selected evidence. “Not established” means the evidence does not support the claim; it does not assert absence.

Repository / project instructions

Documented

AGENTS.md and AGENTS.override.md provide repository and project guidance in the documented Codex context assembly.

View source detail

Planning

Documented

The public excerpt names making and updating plans as a communication capability.

View prompt evidence

Tools and approvals

Documented

The excerpt lists terminal commands and patches, with configuration-dependent approval escalation.

View prompt evidence

Dynamic workspace context

Documented

The excerpt says the harness can provide workspace files and other context.

View prompt evidence

Memory / persistent guidance

Not established

The limited excerpt does not establish a memory mechanism.

Review evidence scope

Editorial guidance

What this means in practice

These conservative editorial implications come from the linked evidence. They add no vendor claims or generic prompt advice.

Editorial implication

Put durable repository guidance in the documented instruction files.

AGENTS.md and AGENTS.override.md are the established repository/project guidance mechanism in this source set.

Supporting evidence
Editorial implication

Treat tool access and approvals as runtime-dependent.

Plan updates and terminal/patch calls are established, but actual tool availability and approval escalation depend on configuration.

Supporting evidence
Editorial implication

Do not assume persistent memory from the selected evidence.

The selected excerpt does not establish a separate durable memory mechanism for Codex.

Supporting evidence

Useful next actions

Continue your research

Product scope

Codex CLI, its model context, and its harness are distinct.

Organization
OpenAI
Product
Open-source agentic coding interface
Surface
Codex CLIA terminal coding-agent surface described in the pinned source file.
Model context
GPT-5.2 · GPT-6-AstraThis model name comes from the selected public prompt file and is not generalized to every Codex runtime.

Evidence status

Coverage and review

The review maps a limited excerpt from a pinned first-party repository file, separately records App Server integration guidance, and records the current Codex CLI 0.153.4 model-selection behavior. It does not generalize the excerpt or the release note to every Codex configuration or runtime.

Coverage
partial
Primary source
Tier A · vendor-published
Review freshness
currentCurrent Codex CLI product evidence was reviewed through September 5, 2026, including the official 0.153.4 changelog entry. The prompt snapshot remains pinned to its source revision and does not establish the latest Codex instruction state. Targeted instruction discovery and web search evidence was consulted on September 14, 2026; see the separately dated sources. Other evidence was not re-reviewed.
Reviewed
Sep 05, 2026

Detailed instruction layers

Instruction-system map

The map distinguishes base instructions, dynamic harness context, project rules, tools, approvals, and unestablished memory behavior.

User instructionsdocumented

Codex home can supply AGENTS.override.md or AGENTS.md defaults across repositories; project guidance follows in discovery order.

Source detail
Base promptdocumented

A limited first-party excerpt is mapped in the public reader.

Evidence
Dynamic harness contextdocumented

The excerpt says the harness can provide workspace files and other context.

Evidence
Project instructionsdocumented

AGENTS.md and AGENTS.override.md provide repository and project guidance in the documented Codex context assembly.

Source detail
Tools and approvalsdocumented

Terminal and patch calls are named; availability and approval flow are configuration-dependent.

Evidence
Memorynot established

The limited excerpt does not establish a memory mechanism.

Source detail

Supporting instruction evidence

Prompt and snapshot evidence

A limited excerpt from the source is available for evidence-led reading; the complete runtime instruction assembly is not represented.

Inspect instruction evidence
Selected snapshot
gpt_5_2_prompt.md · limited public excerpt
Evidence coverage
Through Aug 10, 2026gpt_5_2_prompt.md · limited public excerpt
Latest known vendor version
Codex CLI 0.153.4Sep 04, 2026
Current product state
Not established by selected evidence
Publication
Limited excerpt and analysis
Instruction page
Available and indexablePinned first-party open-source excerpt with provenance and publication notes.

Evidence-backed capabilities

Capabilities with evidence

Each capability links to its supporting prompt section or first-party source and keeps its stated confidence level.

OpenAI Codex capability evidence
CapabilityWhat the source establishesConfidenceEvidence
User instructionsCodex home defaults to ~/.codex unless CODEX_HOME changes it. Global AGENTS.override.md takes precedence over AGENTS.md; only the first non-empty file is used. At startup, project discovery walks from project root to working directory, selecting at most one file per directory: override, AGENTS.md, then configured fallback names. Deeper guidance follows earlier guidance. Empty files are skipped; the combined limit defaults to 32 KiB. This is authored guidance, not automatic memory. high Primary source
CLI web searchInteractive Codex CLI defaults to cached web search; --search selects live web search. This tool capability does not establish unrestricted shell network access or every session configuration. high Primary source
Workspace contextThe public excerpt says the harness can provide workspace files as context. high Prompt section
Plan updatesThe public excerpt names making and updating plans as a communication capability. high Prompt section
Terminal and patch callsThe excerpt lists terminal commands and patches, with configuration-dependent approval escalation. high Prompt section

Version evidence

Snapshots and meaningful changes

The prompt evidence pins one source revision. App Server guidance and the Codex CLI 0.153.4 release note are product-integration evidence, not prompt versions or instruction snapshots.

  1. selected gpt_5_2_prompt.md · limited public excerptReviewed Aug 10, 2026
    Instruction evidence

Provenance

Source ledger

Every source lists its origin, retrieval date, completeness, publication limits, and rights separately.

Tier A · vendor-published

Codex custom instructions with AGENTS.md

Publisher
OpenAI
Retrieved
Sep 14, 2026
Upstream ref
Live official documentation consulted 2026-09-14
Rights posture
Original summary; no prompt text republished.

Codex home defaults to ~/.codex unless CODEX_HOME changes it. Global AGENTS.override.md takes precedence over AGENTS.md; only the first non-empty file is used. At startup, project discovery walks from project root to working directory, selecting at most one file per directory: override, AGENTS.md, then configured fallback names. Deeper guidance follows earlier guidance. Empty files are skipped; the combined limit defaults to 32 KiB. This is authored guidance, not automatic memory.

Open primary source
Tier B · first-party open source

OpenAI Codex prompt file

Publisher
OpenAI
Retrieved
Aug 10, 2026
Upstream ref
a603d7ca5c0fc5f965abfba09366ae5fb091350e
Rights posture
Limited excerpt from Apache-2.0 first-party repository source.

The public file contains more content than this excerpt package; runtime assembly and configuration-dependent additions are not established.

Open primary source
Tier A · vendor-published

Unrolling the Codex agent loop

Publisher
OpenAI
Retrieved
Aug 11, 2026
Upstream ref
OpenAI technical article on Codex context assembly
Rights posture
Original summary of official OpenAI documentation; no instruction-file contents copied.

Establishes AGENTS.md and AGENTS.override.md aggregation from the Git/project root to the working directory, subject to the documented size limit; it does not describe every runtime instruction input.

Open primary source
Tier A · vendor-published

OpenAI product release notes — Codex MCP server command deprecated

Publisher
OpenAI
Retrieved
Aug 30, 2026
Upstream ref
Codex release note published 2026-08-24
Rights posture
Original summary of official OpenAI documentation; no prompt text copied.

Deprecates the codex mcp-server command and directs integrations to Codex App Server. It does not document every App Server interface or alter the pinned prompt snapshot.

Open primary source
Tier A · vendor-published

ChatGPT & Codex changelog — Codex CLI 0.153.4

Publisher
OpenAI
Retrieved
Sep 05, 2026
Upstream ref
Codex CLI 0.153.4 entry published 2026-09-04
Rights posture
Original summary of official OpenAI changelog; no prompt text copied.

Documents Astra's bundled model-picker visibility, no-explicit-model default, and session-tool availability qualification for asynchronous-question guidance; it does not establish every Codex model-selection path, tool configuration, or the complete instruction stack.

Open primary source

Available pages

Search Promptcred

Type to search available pages.