# codex vs spore

> 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/compare/codex-vs-spore

## Programmable capabilities

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Capability interface](https://ai-agents-review.com/column/capability-interface.md) | [4 s](https://ai-agents-review.com/cell/codex/capability-interface.md) | [2 s](https://ai-agents-review.com/cell/spore/capability-interface.md) | yes |
| [Reusable computation](https://ai-agents-review.com/column/reusable-computation.md) | [2 s](https://ai-agents-review.com/cell/codex/reusable-computation.md) | [3 s](https://ai-agents-review.com/cell/spore/reusable-computation.md) | yes |
| [Capability transfer](https://ai-agents-review.com/column/capability-transfer.md) | [3 s](https://ai-agents-review.com/cell/codex/capability-transfer.md) | [4 s](https://ai-agents-review.com/cell/spore/capability-transfer.md) | yes |

## Evidence and memory

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Durable evidence](https://ai-agents-review.com/column/durable-evidence.md) | [2 s](https://ai-agents-review.com/cell/codex/durable-evidence.md) | [4 s](https://ai-agents-review.com/cell/spore/durable-evidence.md) | yes |
| [Context recovery](https://ai-agents-review.com/column/context-recovery.md) | [2→3 [opt: memories feature] s](https://ai-agents-review.com/cell/codex/context-recovery.md) | [4 s](https://ai-agents-review.com/cell/spore/context-recovery.md) | yes |
| [Memory maintenance](https://ai-agents-review.com/column/memory-maintenance.md) | [0→3 [opt: memories feature] s](https://ai-agents-review.com/cell/codex/memory-maintenance.md) | [2→3 [opt: idle dream cell] s](https://ai-agents-review.com/cell/spore/memory-maintenance.md) | yes |

## Specialist collaboration

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Specialist definition](https://ai-agents-review.com/column/specialist-definition.md) | [4 s](https://ai-agents-review.com/cell/codex/specialist-definition.md) | [4 s](https://ai-agents-review.com/cell/spore/specialist-definition.md) | no |
| [Continuation](https://ai-agents-review.com/column/continuation.md) | [3 s](https://ai-agents-review.com/cell/codex/continuation.md) | [3 s](https://ai-agents-review.com/cell/spore/continuation.md) | no |
| [Coordination](https://ai-agents-review.com/column/coordination.md) | [2 s](https://ai-agents-review.com/cell/codex/coordination.md) | [2 s](https://ai-agents-review.com/cell/spore/coordination.md) | no |

## Execution controls

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Confinement](https://ai-agents-review.com/column/confinement.md) | [3 s](https://ai-agents-review.com/cell/codex/confinement.md) | [3 s](https://ai-agents-review.com/cell/spore/confinement.md) | no |
| [Credential handling](https://ai-agents-review.com/column/credential-handling.md) | [2→3 [opt: shell_environment_policy inherit=core/none] s](https://ai-agents-review.com/cell/codex/credential-handling.md) | [4 s](https://ai-agents-review.com/cell/spore/credential-handling.md) | yes |
| [Budget enforcement](https://ai-agents-review.com/column/budget-enforcement.md) | [1→4 [opt: rollout_budget (under development)] s](https://ai-agents-review.com/cell/codex/budget-enforcement.md) | [4 s](https://ai-agents-review.com/cell/spore/budget-enforcement.md) | yes |

## Product integration

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Embedding interfaces](https://ai-agents-review.com/column/embedding-interfaces.md) | [2 s](https://ai-agents-review.com/cell/codex/embedding-interfaces.md) | [4 s](https://ai-agents-review.com/cell/spore/embedding-interfaces.md) | yes |
| [Declarative configuration](https://ai-agents-review.com/column/declarative-configuration.md) | [3 s](https://ai-agents-review.com/cell/codex/declarative-configuration.md) | [3 s](https://ai-agents-review.com/cell/spore/declarative-configuration.md) | no |
| [Durable execution](https://ai-agents-review.com/column/durable-execution.md) | [2→3 [opt: app-server daemon recovery] s](https://ai-agents-review.com/cell/codex/durable-execution.md) | [3 s](https://ai-agents-review.com/cell/spore/durable-execution.md) | yes |

## Operations and verification

| Column | codex | spore | Marks differ |
|---|---|---|---|
| [Service dependencies](https://ai-agents-review.com/column/service-dependencies.md) | [E (+R opt: app-server daemon) s](https://ai-agents-review.com/cell/codex/service-dependencies.md) | [O (+R opt: API/schedule units) s](https://ai-agents-review.com/cell/spore/service-dependencies.md) | yes |
| [Execution records](https://ai-agents-review.com/column/execution-records.md) | [2 s](https://ai-agents-review.com/cell/codex/execution-records.md) | [3 s](https://ai-agents-review.com/cell/spore/execution-records.md) | yes |
| [Result checks](https://ai-agents-review.com/column/result-checks.md) | [2 s](https://ai-agents-review.com/cell/codex/result-checks.md) | [2 s](https://ai-agents-review.com/cell/spore/result-checks.md) | no |

## Rationales

### Capability interface

- codex: Two or more mechanisms with policy filtering; host-executed dynamicTools (experimental API counts per R8); tool_search deferral
- spore: Fixed tools; plugins add exec-run programs, one mechanism; MCP arrives through that plugin system (R8); grant filtering

### Reusable computation

- codex: Skills with scripts and rules rediscovered; no unit re-run with inputs; code-mode store/load in memory only
- spore: Agent-written programs granted as enzymes, re-run by path; schedules opt. unresolved: typed parameters and per-run result record

### Capability transfer

- codex: Skill MCP dependencies checked with install offer; thread/fork and fork_context give fork-vs-fresh choice; no closure-packaging operation
- spore: define --from clones definition, precursors, enzyme closure and deps; refuses missing deps; excludes transcript/memory; fork separate

### Durable evidence

- codex: Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet)
- spore: Transcript never pruned, retain configurable; compaction appends; replace_* host-side for forks; agent cannot write DB (enforced)

### Context recovery

- codex: Rollout stored, default reachable only by file re-read; memories tools list/read/search when enabled
- spore: Default pull recall and SQL over outside-context rows; default definition pushes ≤5 relevant hits automatically

### Memory maintenance

- codex: memories off by default; when on, phase-2 consolidation agent runs; retry/leases only [D] (level 4 unmet)
- spore: BM25 memory store with recall (L2); dream consolidation is opt-in, so it counts at B only (R6)

### Specialist definition

- codex: Roles set prompt/model and can only disable tools; approval, permission profile copied from parent turn (inherit-only); no widening path
- spore: Strict precursor files set tools, model, limits; cells nested under agent Landlock (inherit-only), broker model allowlist

### Continuation

- codex: Child rollout reloaded by resume_agent after restart; L4 unmet: v2 mailbox off by default; unresolved: mailbox durability across crash
- spore: --keep is a per-call flag (R1); kept cells persist and resume after restart; no durable queue to cells

### Coordination

- codex: Depth 1, 6 concurrent, close_agent cascades below a closed child; no evidence that interrupting the parent stops running children (R5, unresolved)
- spore: Depth 1 guard, turn-abort cancel, tree-wide cost; L3 unmet: cap only on fanout/kept cells; unresolved: general running-cell cap

### Confinement

- codex: Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed
- spore: Default Landlock+seccomp+namespaces, fatal on failure; L4 unmet: outbound network and unix sockets reachable

### Credential handling

- codex: Default denylist *KEY*/*SECRET*/*TOKEN*; a named config key gives an allowlisted env (R1); auth.json likely readable
- spore: Cleared env plus allowlist for agent and cells; provider keys and source secrets held in runner brokers

### Budget enforcement

- codex: Default token_budget only steers, cost display only; rollout_budget is pre-call tree-wide admission, in-flight calls billed
- spore: Mandatory limits; broker refuses calls once tree spend reaches hard cost; settlement of dispatched calls stated

### Embedding interfaces

- codex: 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
- spore: Node library plus HTTP over unix or TCP with NDJSON events and messages/stop/approvals routes

### Declarative configuration

- codex: Unknown keys only warn by default, but a documented `--strict-config` meets level 3. Level 4 not met because strictness is not the default
- spore: Unknown fields, tools and models are refused, and limits are checked, by default; no published JSON Schema, so not level 4

### Durable execution

- codex: 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
- spore: Detached runner, `requestId` idempotency and flock; a crashed turn is finalized as error. There is no automatic resume, so level 4 is unmet

### Service dependencies

- codex: Single local process with embedded SQLite; MCP children; nothing idle. The daemon is optional
- spore: Zero processes idle; a turn spawns a detached runner that exits

### Execution records

- codex: Rollout JSONL persists TurnAborted, but rollout policy marks Error events transient, so failures are not structured records. Level 3 unmet; mutable
- spore: Runner records failures and unrecorded turns; optional OTel. Agent write protection is [D], so level 4 is capped

### Result checks

- codex: 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
- spore: Owner answer check sends the answer back once, then releases; a failed check or timeout releases
