Skip to main content

Module spawn

Module spawn 

Source
Expand description

Sub-agent spawning tool.

Allows an agent to delegate work to a child agent running its own perceive-reason-act loop. The child shares the parent’s LLM driver and memory substrate but gets its own loop guard.

Requires Capability::Spawn { max_depth } — recursion is bounded by depth tracking (Jidoka: stop on runaway spawning).

Structs§

SpawnTool
Tool that spawns a sub-agent, waits for completion, and returns the child’s response as the tool result.