Expand description
Session host for nested agent runs (dynamic multi-agent delegation).
§Limits (fail-closed)
agent_budget— absolute number of admitted spawns for this hostmax_spawn_depth— max nesting index (depthonSpawnOpts);depth >= maxrejectsmax_concurrent_children— simultaneous in-flight spawns (try-acquire; no queue)
Structs§
- Agent
RunResult - Result of a nested agent run.
- InProcess
Host - In-process host: nested
TurnRuntimewith shared sampler, tool pool, and limits. - Spawn
Opts - Options for spawning a nested agent.
Constants§
- DEFAULT_
MAX_ CONCURRENT_ CHILDREN - Default max concurrent in-flight nested agents.
- DEFAULT_
MAX_ SPAWN_ DEPTH - Default max nesting depth for nested agents (
0..DEFAULT_MAX_SPAWN_DEPTH).
Traits§
- Session
Host - Host capable of spawning nested agents.