# codex vs goose

> 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-goose

## Programmable capabilities

| Column | codex | goose | 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/goose/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→4 [opt: goose serve --enable-scheduler] s](https://ai-agents-review.com/cell/goose/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) | [2 s](https://ai-agents-review.com/cell/goose/capability-transfer.md) | yes |

## Evidence and memory

| Column | codex | goose | 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) | [2 s](https://ai-agents-review.com/cell/goose/durable-evidence.md) | no |
| [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) | [2 s](https://ai-agents-review.com/cell/goose/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) | [0→2 [opt: bundled memory MCP server] s](https://ai-agents-review.com/cell/goose/memory-maintenance.md) | yes |

## Specialist collaboration

| Column | codex | goose | 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) | [3 s](https://ai-agents-review.com/cell/goose/specialist-definition.md) | yes |
| [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/goose/continuation.md) | no |
| [Coordination](https://ai-agents-review.com/column/coordination.md) | [2 s](https://ai-agents-review.com/cell/codex/coordination.md) | [3 s](https://ai-agents-review.com/cell/goose/coordination.md) | yes |

## Execution controls

| Column | codex | goose | Marks differ |
|---|---|---|---|
| [Confinement](https://ai-agents-review.com/column/confinement.md) | [3 s](https://ai-agents-review.com/cell/codex/confinement.md) | [0→2 [opt: --container (stdio/goose-mcp extensions only)] s](https://ai-agents-review.com/cell/goose/confinement.md) | yes |
| [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) | [1 s](https://ai-agents-review.com/cell/goose/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) | [1→2 [opt: lower GOOSE_MAX_TURNS] s](https://ai-agents-review.com/cell/goose/budget-enforcement.md) | yes |

## Product integration

| Column | codex | goose | 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/goose/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) | [1 s](https://ai-agents-review.com/cell/goose/declarative-configuration.md) | yes |
| [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) | [2 s](https://ai-agents-review.com/cell/goose/durable-execution.md) | yes |

## Operations and verification

| Column | codex | goose | 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) | [E (+R opt: goose serve) s](https://ai-agents-review.com/cell/goose/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) | [2 s](https://ai-agents-review.com/cell/goose/execution-records.md) | no |
| [Result checks](https://ai-agents-review.com/column/result-checks.md) | [2 s](https://ai-agents-review.com/cell/codex/result-checks.md) | [3 s](https://ai-agents-review.com/cell/goose/result-checks.md) | yes |

## Rationales

### Capability interface

- codex: Two or more mechanisms with policy filtering; host-executed dynamicTools (experimental API counts per R8); tool_search deferral
- goose: Extensions are MCP servers (plugins bundle MCP); platform extensions compiled in; one mechanism, so L3 unmet

### Reusable computation

- codex: Skills with scripts and rules rediscovered; no unit re-run with inputs; code-mode store/load in memory only
- goose: Recipes re-run as unit with typed parameters, each run a session; cron scheduling only with --enable-scheduler

### Capability transfer

- codex: Skill MCP dependencies checked with install offer; thread/fork and fork_context give fork-vs-fresh choice; no closure-packaging operation
- goose: Git-cloned plugins and shared skill dirs; binaries not bundled and no dependency check found (level 3 unmet)

### Durable evidence

- codex: Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet)
- goose: Full messages in sessions.db; no retention policy; replace/retry delete rows (level 3 unmet)

### Context recovery

- codex: Rollout stored, default reachable only by file re-read; memories tools list/read/search when enabled
- goose: Compacted rows stored agent-invisible; chatrecall off, LIKE search, first/last 3 messages. unresolved: compacted-row visibility

### Memory maintenance

- codex: memories off by default; when on, phase-2 consolidation agent runs; retry/leases only [D] (level 4 unmet)
- goose: No default memory facility shown; opt memory server gives remember/retrieve/remove; no consolidation (level 3 unmet)

### Specialist definition

- codex: Roles set prompt/model and can only disable tools; approval, permission profile copied from parent turn (inherit-only); no widening path
- goose: Recipes set instructions, model, extension set; L4 unmet: recipe extensions not intersected with parent's, only goose_mode copied

### Continuation

- codex: Child rollout reloaded by resume_agent after restart; L4 unmet: v2 mailbox off by default; unresolved: mailbox durability across crash
- goose: Persisted SubAgent session resumable via delegate(resume) incl. after restart; L4 unmet: no durable queue for busy child

### Coordination

- codex: Depth 1, 6 concurrent, close_agent cascades below a closed child; no evidence that interrupting the parent stops running children (R5, unresolved)
- goose: Depth 1 hard, 5 concurrent, shared cancel token; L4 unmet: no peer messaging, no tree-wide budget (separate max_turns)

### Confinement

- codex: Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed
- goose: Default Auto allows all calls, no OS boundary; --container confines only a subset, developer shell/edit stay on host

### Credential handling

- codex: Default denylist *KEY*/*SECRET*/*TOKEN*; a named config key gives an allowlisted env (R1); auth.json likely readable
- goose: Keychain option exists, but shell/hooks/stdio inherit full env; L2 unmet: no default env denylist

### Budget enforcement

- codex: Default token_budget only steers, cost display only; rollout_budget is pre-call tree-wide admission, in-flight calls billed
- goose: Default 1000-turn ceiling is coarse (L1); a practical turn cap via the named setting is a level-2 work limit (R3)

### 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
- goose: ACP over stdio and HTTP+WS, with typed session updates, new/prompt/cancel/load, and `request_permission` approvals to the client

### 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
- goose: Free-form YAML, keys read ad hoc, unknown keys silently ignored; only a few keys parse strictly. No general type validation

### 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
- goose: Second run rejected, steps persisted. An interrupted turn is lost except confirmation-paused ones, so level 3 detect/close-out is unmet

### Service dependencies

- codex: Single local process with embedded SQLite; MCP children; nothing idle. The daemon is optional
- goose: CLI is one process with embedded SQLite and stdio MCP children; `goose serve` stays resident

### Execution records

- codex: Rollout JSONL persists TurnAborted, but rollout policy marks Error events transient, so failures are not structured records. Level 3 unmet; mutable
- goose: Transcript with error messages and optional OTel; whether aborts are structured events is unresolved, so the lower level is kept

### 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
- goose: Recipe `retry.checks` retry up to `max_retries`, then emit an error (fails closed). No default verifier, so not level 4
