Delegation

Delegation is how agents hand work to other agents or external CLI backends. Orchestrator-mode agents can use delegation too, but normal non-orchestrator agents can delegate just as well.

The Model

An agent can either:

  • delegate work, or
  • not delegate work

That is controlled by:

  • Can Delegate to Other Agents
  • Allowed Delegate Agents

Target Selection

Delegation target selection supports:

  • All Agents — default
  • Selected Agents — multi-select restricted target list

Runtime enforces the selected target set.

Types of Delegation

Agent-to-agent delegation

SwarmClaw can create delegated tasks/sub-runs for other agents.

Use this when you want:

  • one agent to review another’s work
  • specialization by role
  • durable task ownership for the delegated step

CLI delegation

SwarmClaw can also delegate to:

  • Claude Code
  • Codex CLI
  • OpenCode CLI
  • Gemini CLI

This is still delegation. Orchestrator mode is a separate wake/supervision behavior layered on top of the same delegation tools.

Background AI Uses the Same Config

Reflection, orchestrator wake cycles, observer-like helper work, and related background AI paths use the current session or owning agent config.

There is still no separate global orchestration provider layer to configure.