Agentic.Subagent.DelegateTask
(agentic v0.2.2)
Copy Markdown
Tool definition for delegating tasks to subagents.
The delegate_task tool allows the main agent to spawn a bounded subagent
that runs Agentic.run/1 with a separate context. The subagent inherits
the workspace and callbacks but runs with reduced max_turns and an
incremented subagent_depth.
Subagents are synchronous in V2.0 — the main agent blocks until the subagent completes.