# codex

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

Page: https://ai-agents-review.com/runtime/codex

## Programmable capabilities

| Column | Mark | Rationale |
|---|---|---|
| [Capability interface](https://ai-agents-review.com/cell/codex/capability-interface.md) | 4 s | Two or more mechanisms with policy filtering; host-executed dynamicTools (experimental API counts per R8); tool_search deferral |
| [Reusable computation](https://ai-agents-review.com/cell/codex/reusable-computation.md) | 2 s | Skills with scripts and rules rediscovered; no unit re-run with inputs; code-mode store/load in memory only |
| [Capability transfer](https://ai-agents-review.com/cell/codex/capability-transfer.md) | 3 s | Skill MCP dependencies checked with install offer; thread/fork and fork_context give fork-vs-fresh choice; no closure-packaging operation |

## Evidence and memory

| Column | Mark | Rationale |
|---|---|---|
| [Durable evidence](https://ai-agents-review.com/cell/codex/durable-evidence.md) | 2 s | Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet) |
| [Context recovery](https://ai-agents-review.com/cell/codex/context-recovery.md) | 2→3 [opt: memories feature] s | Rollout stored, default reachable only by file re-read; memories tools list/read/search when enabled |
| [Memory maintenance](https://ai-agents-review.com/cell/codex/memory-maintenance.md) | 0→3 [opt: memories feature] s | memories off by default; when on, phase-2 consolidation agent runs; retry/leases only [D] (level 4 unmet) |

## Specialist collaboration

| Column | Mark | Rationale |
|---|---|---|
| [Specialist definition](https://ai-agents-review.com/cell/codex/specialist-definition.md) | 4 s | Roles set prompt/model and can only disable tools; approval, permission profile copied from parent turn (inherit-only); no widening path |
| [Continuation](https://ai-agents-review.com/cell/codex/continuation.md) | 3 s | Child rollout reloaded by resume_agent after restart; L4 unmet: v2 mailbox off by default; unresolved: mailbox durability across crash |
| [Coordination](https://ai-agents-review.com/cell/codex/coordination.md) | 2 s | Depth 1, 6 concurrent, close_agent cascades below a closed child; no evidence that interrupting the parent stops running children (R5, unresolved) |

## Execution controls

| Column | Mark | Rationale |
|---|---|---|
| [Confinement](https://ai-agents-review.com/cell/codex/confinement.md) | 3 s | Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed |
| [Credential handling](https://ai-agents-review.com/cell/codex/credential-handling.md) | 2→3 [opt: shell_environment_policy inherit=core/none] s | Default denylist *KEY*/*SECRET*/*TOKEN*; a named config key gives an allowlisted env (R1); auth.json likely readable |
| [Budget enforcement](https://ai-agents-review.com/cell/codex/budget-enforcement.md) | 1→4 [opt: rollout_budget (under development)] s | Default token_budget only steers, cost display only; rollout_budget is pre-call tree-wide admission, in-flight calls billed |

## Product integration

| Column | Mark | Rationale |
|---|---|---|
| [Embedding interfaces](https://ai-agents-review.com/cell/codex/embedding-interfaces.md) | 2 s | Full lifecycle, approvals and several transports exist, but app-server is labelled [experimental] (codex-rs/cli/src/main.rs:177), which the L2 anchor names |
| [Declarative configuration](https://ai-agents-review.com/cell/codex/declarative-configuration.md) | 3 s | Unknown keys only warn by default, but a documented `--strict-config` meets level 3. Level 4 not met because strictness is not the default |
| [Durable execution](https://ai-agents-review.com/cell/codex/durable-execution.md) | 2→3 [opt: app-server daemon recovery] s | Steer and writer lock serialize input. A crash cold-resumes without closing out the turn; only the opt daemon resumes eligible turns, with no idempotency rule |

## Operations and verification

| Column | Mark | Rationale |
|---|---|---|
| [Service dependencies](https://ai-agents-review.com/cell/codex/service-dependencies.md) | E (+R opt: app-server daemon) s | Single local process with embedded SQLite; MCP children; nothing idle. The daemon is optional |
| [Execution records](https://ai-agents-review.com/cell/codex/execution-records.md) | 2 s | Rollout JSONL persists TurnAborted, but rollout policy marks Error events transient, so failures are not structured records. Level 3 unmet; mutable |
| [Result checks](https://ai-agents-review.com/cell/codex/result-checks.md) | 2 s | Owner Stop hooks re-prompt with no stated cap. The schema is enforced provider-side only, so level 3's stated-cap/block condition is unmet |

## Compare

- [codex vs goose](https://ai-agents-review.com/compare/codex-vs-goose.md)
- [codex vs hermes-agent](https://ai-agents-review.com/compare/codex-vs-hermes-agent.md)
- [codex vs letta-code](https://ai-agents-review.com/compare/codex-vs-letta-code.md)
- [codex vs nullclaw](https://ai-agents-review.com/compare/codex-vs-nullclaw.md)
- [codex vs openclaw](https://ai-agents-review.com/compare/codex-vs-openclaw.md)
- [codex vs opencode](https://ai-agents-review.com/compare/codex-vs-opencode.md)
- [codex vs pi](https://ai-agents-review.com/compare/codex-vs-pi.md)
- [codex vs software-agent-sdk](https://ai-agents-review.com/compare/codex-vs-software-agent-sdk.md)
- [codex vs spore](https://ai-agents-review.com/compare/codex-vs-spore.md)
