Skip to main content

Module delegate_tool

Module delegate_tool 

Source
Expand description

DelegateTool — a batch/parallel variant of AgentTool.

Where AgentTool spawns one sub-agent, DelegateTool spawns N in parallel with the isolation / blocklist / depth rules from crate::delegate.

The tool input accepts either a single goal or a tasks array. When both are present, goal is ignored in favor of tasks (matches the hermes-agent contract).

Structs§

DelegateTool