Task Chaining

Task chaining lets a parent task create or unblock a child task when a trigger condition is met. This supports planner-to-implementer handoffs and multi-step delegation.

Chain Configuration

FieldPurpose
enabledWhether chaining is active
triggerTrigger condition such as on_completion or on_planning_complete
child_agent_idAgent to use for child task; empty means default
child_modelModel override for the child
child_categoryCategory for child task; empty means same as parent
child_titleExplicit title, otherwise derived from parent
child_prompt_prefixPrefix added to parent output for child prompt
child_chain_configNested chain configuration for multi-level workflows

Lifecycle Behavior

Child tasks can be pre-created for visibility and marked blocked until the parent reaches the configured trigger. lineage_depth, base_branch, and base_commit_sha preserve chain context for repository work.

When To Use Chaining

Use chaining when one task's output should directly feed a known next step. Use Multi-Agent Workflows when you need explicit parallelism, votes, gates, handoffs, budgets, or adaptive routing.