Expand description
§Subagent Manager
Spawns independent agent tasks in the background, each with its own session state and tool registry but sharing the parent’s LLM port.
§Design
- Each subagent runs in its own
tokio::spawntask - Results are delivered via
tokio::sync::oneshot - Recursive spawning is prevented by always denying
subagent/spawn - Cancellation is supported via
CancellationToken
Structs§
- Default
Subagent Manager - Default subagent manager implementation.
- Subagent
Tool Port - Subagent tool port — exposes
subagent/spawnas a callable tool.