Skip to content
Like what we’re building? Star on GitHub

Delegation ​

claw is the only harness iterion builds on (ADR-178): an implementer that edits files, runs a shell and drives git is a claw node whose tools: list is its whole tool surface. backend: chooses the executor; model: pins the wire model independently. When backend: is absent, the normal workflow, environment, and credential resolution chain chooses one — model: alone does not force a direct API call, and today's detection still prefers claude_code where its OAuth is present, so write backend: "claw" to choose the harness:

iter
agent implementer:
  backend: "claw"
  model: "anthropic/claude-sonnet-5"
  input: plan_schema
  output: result_schema
  system: implementation_prompt
  tools: [read_file, write_file, file_edit, bash, glob, grep]

Delegation to a coding-agent CLI is a legacy bridge. Six backends still drive another vendor's CLI with its own tool loop. claude_code is a frozen bridge that keeps serving the Claude subscription until v9; the five others are deprecated and retire in v8 with a typed refusal that names the remedy. They run until their retirement ships, and the table below says what each does meanwhile:

BackendStatusWhat it does
clawthe only harnessIn-process multi-provider LLM client (Anthropic, OpenAI, …) with Iterion's native declared tools — select it explicitly with backend: "claw" and pair it with model: "openai/gpt-5.4-mini", etc. It is also the last-resort backend when credential detection finds nothing.
claude_codefrozen bridge until v9Runs the claude CLI as a subprocess with full tool access; gains no capability, and a capability it lacks is refused with a typed diagnostic
codexdeprecated, retires in v8; explicit opt-inRuns the codex CLI through the Codex Agent SDK, using its login, native tool loop and sandbox. Iterion cannot generally narrow its built-in tool set, with one explicit exception: DSL tools: [web_search] enables hosted live search and omitting it disables search. Codex cannot run inside the outer Docker/Kubernetes sandbox; see Backends → codex.
pideprecated, retires in v8; opt-inRuns the pi multi-provider agent harness (~36 providers: anthropic, openai, google, vertex, bedrock, azure, github-copilot, xai, zai, groq, cerebras, …). Reports a provider-computed cost (not an estimate), carries its own credential store, and from v3.15.0 supports the permission gate, ask_user/async questions, board capabilities:, and workflow mcp_server: blocks via the iterion pi extension (RPC transport only). Small tool set, no subagents/web. See Backends → Third-party agent CLIs and ADR-085.
kimideprecated, retires in v8; opt-inRuns Moonshot's kimi-code CLI, whose argv is disjoint from claude-code's (kimi -p <prompt> --output-format stream-json [-m <alias>]). A concrete instance of iterion's generic CLI-agent backend. See Backends → Third-party agent CLIs and ADR-065.
grokdeprecated, retires in v8; opt-inRuns xAI's grok Build CLI through the same CLI-agent seam (grok -p <prompt> --output-format json [-m <model>]); system: appends via --rules, reasoning_effort maps to --reasoning-effort, headless approval forced with --permission-mode bypassPermissions --always-approve. Credentials come from the CLI's own Grok Build login (~/.grok). Distinct from the metered xAI HTTP path (backend: claw + model: "xai/…"). See Backends → Third-party agent CLIs and ADR-065.
opencodedeprecated, retires in v8; opt-inRuns the opencode agent CLI through the same CLI-agent seam (opencode run --format json [-m provider/model[#variant]], prompt on stdin; the 2.x parser refuses a flag before the subcommand, and ITERION_OPENCODE_ARGV=1 re-emits the 1.x order). Multi-provider like pi, with a provider-computed cost read off its step_finish events. It cannot enforce iterion's permission gate in any mode, and it executes the target repository's .opencode/plugin[s]/ as code unless ITERION_OPENCODE_TRUST_PROJECT=1. See Backends → Third-party agent CLIs and ADR-065.

💡 claude_code spends your Claude subscription (Pro/Max/Team/Enterprise) as its plan — no separate API key required — which is why it stays as a bridge until v9, once the cost of moving has been measured. claw calls provider APIs directly with the corresponding API key (ANTHROPIC_API_KEY, OPENAI_API_KEY, …), or a subscription token billed to extra usage (backends.md).

For a review, judge, or plan, pin both the claw backend and the model. readonly: true classifies the node as non-mutating for parallel workspace safety whatever the backend, but only codex, pi and claude_code read it as a bound on the delegate: claw, opencode and cliagent do not read the flag at all, so there the node's tools: list is its only bound — the reviewer below declares none, which is what leaves it no way to write (#1816; the lever each backend has is in dsl.md):

iter
agent reviewer:
  backend: "claw"                      # Force an in-process provider call
  model: "anthropic/claude-sonnet-5"
  readonly: true

agent implementer:
  backend: "claw"                      # The harness — its tools: list is its surface
  model: "anthropic/claude-sonnet-5"
  tools: [read_file, write_file, file_edit, bash]

Leaving backend: out instead opts into automatic credential detection, which may select the claude_code bridge over claw where its OAuth is present.