# opencode · Coordination

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

- Runtime: [opencode](https://ai-agents-review.com/runtime/opencode.md)
- Column: [Coordination](https://ai-agents-review.com/column/coordination.md) (Specialist collaboration)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/opencode/coordination

## Rationale

Depth 1 enforced, per-job cancel; L3 unmet: no subagent concurrency cap found (Code Mode caps dev-only, codemode only)

## Rubric criteria for this column

- 0: No subagents
- 1: Children spawn but there is no depth limit, no concurrency cap, and no cancellation
- 2: A depth limit **or** a concurrency cap is enforced, but cancellation does not propagate to running children
- 3: Depth limit **and** concurrency cap enforced, **and** parent cancellation reaches running children
- 4: Level 3, plus parent–child or sibling messaging **and** a resource limit (budget or time) counted across the tree

## Review finding

Built in. Subagents always run in the background; the parent receives notices. Depth 1 by default (`experimental.subagent_depth`). Cancel per job or by deleting the session. The recursive interrupt tool and Code Mode fan-out are dev-only flags (off in release builds) [C102]–[C108].

## Evidence cited by the mark

- [C102] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/session/subagent-depth.ts#L1-L21 — `experimental.subagent_depth ?? 1` — [S]
- [C105] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/session.ts#L420-L431 — Removing a session cancels its jobs and removes children — [S]
- [C106] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/codemode/agents.ts#L121-L126 — Code Mode agent() caps 16 concurrent / 100 total (flagged) — [S]

## Evidence also cited by the review finding

- [C108] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/schema/src/config/flag.ts#L1-L44 — Feature flags (incl. full_codemode, codemode_agents) off in release builds — [S]

## Grading record

- Grader A (default / best): 2 / 2
- Grader B (default / best): 2 / 2
