# nullclaw vs opencode

> 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/nullclaw-vs-opencode

## Programmable capabilities

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

## Evidence and memory

| Column | nullclaw | opencode | Marks differ |
|---|---|---|---|
| [Durable evidence](https://ai-agents-review.com/column/durable-evidence.md) | [1 s](https://ai-agents-review.com/cell/nullclaw/durable-evidence.md) | [2 s](https://ai-agents-review.com/cell/opencode/durable-evidence.md) | yes |
| [Context recovery](https://ai-agents-review.com/column/context-recovery.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/context-recovery.md) | [2→3 [dev-only: sqlite_fts flag] s](https://ai-agents-review.com/cell/opencode/context-recovery.md) | yes |
| [Memory maintenance](https://ai-agents-review.com/column/memory-maintenance.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/memory-maintenance.md) | [0→1 [dev-only: home_memory] s](https://ai-agents-review.com/cell/opencode/memory-maintenance.md) | yes |

## Specialist collaboration

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

## Execution controls

| Column | nullclaw | opencode | Marks differ |
|---|---|---|---|
| [Confinement](https://ai-agents-review.com/column/confinement.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/confinement.md) | [1 s](https://ai-agents-review.com/cell/opencode/confinement.md) | yes |
| [Credential handling](https://ai-agents-review.com/column/credential-handling.md) | [3 s](https://ai-agents-review.com/cell/nullclaw/credential-handling.md) | [1 s](https://ai-agents-review.com/cell/opencode/credential-handling.md) | yes |
| [Budget enforcement](https://ai-agents-review.com/column/budget-enforcement.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/budget-enforcement.md) | [1→2 [opt: per-agent steps] s](https://ai-agents-review.com/cell/opencode/budget-enforcement.md) | yes |

## Product integration

| Column | nullclaw | opencode | Marks differ |
|---|---|---|---|
| [Embedding interfaces](https://ai-agents-review.com/column/embedding-interfaces.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/embedding-interfaces.md) | [4 s](https://ai-agents-review.com/cell/opencode/embedding-interfaces.md) | yes |
| [Declarative configuration](https://ai-agents-review.com/column/declarative-configuration.md) | [1 s](https://ai-agents-review.com/cell/nullclaw/declarative-configuration.md) | [2 s](https://ai-agents-review.com/cell/opencode/declarative-configuration.md) | yes |
| [Durable execution](https://ai-agents-review.com/column/durable-execution.md) | [1→2 [opt: queue_mode=serial/latest/debounce] s](https://ai-agents-review.com/cell/nullclaw/durable-execution.md) | [4 s](https://ai-agents-review.com/cell/opencode/durable-execution.md) | yes |

## Operations and verification

| Column | nullclaw | opencode | Marks differ |
|---|---|---|---|
| [Service dependencies](https://ai-agents-review.com/column/service-dependencies.md) | [E (+R opt: daemon) s](https://ai-agents-review.com/cell/nullclaw/service-dependencies.md) | [R (+E alt: in-process SDK) s](https://ai-agents-review.com/cell/opencode/service-dependencies.md) | yes |
| [Execution records](https://ai-agents-review.com/column/execution-records.md) | [2 s](https://ai-agents-review.com/cell/nullclaw/execution-records.md) | [3 s](https://ai-agents-review.com/cell/opencode/execution-records.md) | yes |
| [Result checks](https://ai-agents-review.com/column/result-checks.md) | [1 s](https://ai-agents-review.com/cell/nullclaw/result-checks.md) | [3 s](https://ai-agents-review.com/cell/opencode/result-checks.md) | yes |

## Rationales

### Capability interface

- nullclaw: Compiled-in tools plus one mechanism, MCP client; no runtime plugins (level 3 unmet)
- opencode: Plugins (npm/local/SDK) plus MCP; denied/hidden filtering; SDK plugins host-executed in-process; Code Mode defers catalog by default

### Reusable computation

- nullclaw: cron.json shell jobs are stored executables re-run as scheduled actions; no typed parameters (level 4 unmet)
- opencode: Default-on automations re-run code/shell on triggers with runCount/lastOutput; args untyped JSON (level 4 unmet)

### Capability transfer

- nullclaw: Skill install from path/git/index; requires_bins/env checked; no conversation fork option (level 3 unmet)
- opencode: Skills from dirs/paths/URLs; session fork exists; plugin/MCP executables not dependency-checked (level 3 unmet)

### Durable evidence

- nullclaw: Only user and final assistant text persisted; tool calls/results not stored (level 2 unmet)
- opencode: Messages with tool parts in SQLite; revert deletes rows; no message retention policy (level 3 unmet)

### Context recovery

- nullclaw: Default memory_recall and injection over stored chat memories, but tool outputs never stored: capped at 2
- opencode: Release: summary plus re-reading saved tool-output paths; session search/read only under sqlite_fts

### Memory maintenance

- nullclaw: Dedicated store/recall/forget tools; hygiene archives by age only, not consolidation (R6); LLM summarizer dormant
- opencode: 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 definition

- nullclaw: Named profiles set provider, model, prompt; L3 unmet: no per-profile tool or permission scope
- opencode: Config/.md agents set model, prompt, permission rules; L4 unmet: parent agent denies not intersected (plan→general edits)

### Continuation

- nullclaw: Spawned subagent is single-turn in-memory thread; no follow-ups, nothing survives restart
- opencode: Durable child session resumed at boot; follow-ups to running child go through SQLite session_inbox (read in code)

### Coordination

- nullclaw: 4-concurrent cap enforced, children lack spawn tools; L3 unmet: running subagents cannot be interrupted
- opencode: Depth 1 enforced, per-job cancel; L3 unmet: no subagent concurrency cap found (Code Mode caps dev-only, codemode only)

### Confinement

- nullclaw: Sandbox enabled, auto backend wraps shell only if installed; file tools, subagents, cron, MCP stdio unwrapped; L3 unmet
- opencode: Allow/ask/deny ruleset (allow *, *.env ask); no OS sandbox in release or dev builds

### Credential handling

- nullclaw: Shell env cleared plus allowlist, MCP fixed list; L4 unmet: secret key file on same disk, no broker
- opencode: Full env inherited, plaintext credential DB; only *.env read-tool ask and host per-session env replacement

### Budget enforcement

- nullclaw: 20 actions/hour admission on tool calls enforced; L3 unmet: $ limits never checked (checkBudget tests-only)
- opencode: steps unset by default, cost reporting only; setting the named per-agent steps key gives a level-2 work limit (R3)

### Embedding interfaces

- nullclaw: A2A JSON-RPC with SSE covers part of the lifecycle; tasks are in memory only (no resume); ACP cancel is a no-op
- opencode: In-process SDK plus HTTP API with typed events, prompt/interrupt/fork/inbox, permission replies and an ACP agent, all in release

### Declarative configuration

- nullclaw: Hand-walked parsing silently drops unknown keys and wrong-typed values (level-1 anchor); semantic validate() does not lift it
- opencode: Effect Schema type decode, but `onExcessProperty: "ignore"`; a malformed document is dropped with a warning

### Durable execution

- nullclaw: Default `queue_mode=off` drops busy-session input; the turn is persisted only after completion, so a crash loses it
- opencode: Durable inbox outlives disconnect; one execution per session; boot sweep resumes claims, documented as at-least-once

### Service dependencies

- nullclaw: One binary, vendored SQLite, no external service by default; the daemon is only if run
- opencode: Clients ensure a local `opencode serve --service` process that stays resident when idle

### Execution records

- nullclaw: Session store with history; `success=false` tool results; an OTLP observer is optional, but aborted turns are not recorded (lost); mutable
- opencode: Typed step/tool/execution failure events, optional OTLP. Revert and delete remove rows, so not protected

### Result checks

- nullclaw: Structural only (JSON arguments); no hooks, schema-checked output or verifier
- opencode: Built-in `/goal` judge re-prompts with stated caps (50 rounds, 3 stalls) and pauses; the caps are constants, not configurable per check
