Expand description
AgentTool: spawn a sub-agent to handle complex sub-tasks.
Each sub-agent runs its own agentic loop with independent message history,
cost tracking, and tool access. The Agent tool is filtered out of
sub-agents to prevent infinite recursion.
Structs§
- Agent
Tool - The AgentTool — spawns independent sub-agents.