codex vs opencode
Programmable capabilities
Reusable computation marks differ
2 codex Skills with scripts and rules rediscovered; no unit re-run with inputs; code-mode store/load in memory only3 opencode Default-on automations re-run code/shell on triggers with runCount/lastOutput; args untyped JSON (level 4 unmet)Capability transfer marks differ
3 codex Skill MCP dependencies checked with install offer; thread/fork and fork_context give fork-vs-fresh choice; no closure-packaging operation2 opencode Skills from dirs/paths/URLs; session fork exists; plugin/MCP executables not dependency-checked (level 3 unmet)Evidence and memory
Durable evidence
2 codex Full JSONL rollouts kept, revert writes new file; no explicit rollout retention policy (logs only) (level 3 unmet)2 opencode Messages with tool parts in SQLite; revert deletes rows; no message retention policy (level 3 unmet)Context recovery
2 ↑3 codex opt: memories feature Rollout stored, default reachable only by file re-read; memories tools list/read/search when enabled2 ↑3 opencode dev-only: sqlite_fts flag Release: summary plus re-reading saved tool-output paths; session search/read only under sqlite_ftsMemory maintenance marks differ
0 ↑3 codex opt: memories feature memories off by default; when on, phase-2 consolidation agent runs; retry/leases only [D] (level 4 unmet)0 ↑1 opencode dev-only: home_memory Release: none. Dev home_memory uses plain dirs edited with file tools (L2 unmet), so its daily merge job cannot lift it past 1 (rule 3)Specialist collaboration
Specialist definition marks differ
4 codex Roles set prompt/model and can only disable tools; approval, permission profile copied from parent turn (inherit-only); no widening path3 opencode Config/.md agents set model, prompt, permission rules; L4 unmet: parent agent denies not intersected (plan→general edits)Continuation marks differ
3 codex Child rollout reloaded by resume_agent after restart; L4 unmet: v2 mailbox off by default; unresolved: mailbox durability across crash4 opencode Durable child session resumed at boot; follow-ups to running child go through SQLite session_inbox (read in code)Coordination
2 codex Depth 1, 6 concurrent, close_agent cascades below a closed child; no evidence that interrupting the parent stops running children (R5, unresolved)2 opencode Depth 1 enforced, per-job cancel; L3 unmet: no subagent concurrency cap found (Code Mode caps dev-only, codemode only)Execution controls
Confinement marks differ
3 codex Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed1 opencode Allow/ask/deny ruleset (allow *, *.env ask); no OS sandbox in release or dev buildsCredential handling marks differ
2 ↑3 codex opt: shell_environment_policy inherit=core/none Default denylist KEY/SECRET/TOKEN; a named config key gives an allowlisted env (R1); auth.json likely readable1 opencode Full env inherited, plaintext credential DB; only *.env read-tool ask and host per-session env replacementBudget enforcement marks differ
1 ↑4 codex opt: rollout_budget (under development) Default token_budget only steers, cost display only; rollout_budget is pre-call tree-wide admission, in-flight calls billed1 ↑2 opencode opt: per-agent steps steps unset by default, cost reporting only; setting the named per-agent steps key gives a level-2 work limit (R3)Product integration
Embedding interfaces marks differ
2 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 names4 opencode In-process SDK plus HTTP API with typed events, prompt/interrupt/fork/inbox, permission replies and an ACP agent, all in releaseDeclarative configuration marks differ
3 codex Unknown keys only warn by default, but a documented--strict-config meets level 3. Level 4 not met because strictness is not the default2 opencode Effect Schema type decode, but onExcessProperty: "ignore"; a malformed document is dropped with a warningDurable execution marks differ
2 ↑3 codex opt: app-server daemon recovery 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 rule4 opencode Durable inbox outlives disconnect; one execution per session; boot sweep resumes claims, documented as at-least-onceOperations and verification
Service dependencies marks differ
E * codex Single local process with embedded SQLite; MCP children; nothing idle. The daemon is optionalR * opencode Clients ensure a localopencode serve --service process that stays resident when idleExecution records marks differ
2 codex Rollout JSONL persists TurnAborted, but rollout policy marks Error events transient, so failures are not structured records. Level 3 unmet; mutable3 opencode Typed step/tool/execution failure events, optional OTLP. Revert and delete remove rows, so not protectedResult checks marks differ
2 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 unmet3 opencode Built-in/goal judge re-prompts with stated caps (50 rounds, 3 stalls) and pauses; the caps are constants, not configurable per checkcodex vs goosehermes-agentletta-codenullclawopenclawpisoftware-agent-sdkspore
opencode vs goosehermes-agentletta-codenullclawopenclawpisoftware-agent-sdkspore