Subagent Task Delegation
Enables task delegation to isolated execution environments, supporting both sequential and parallel subagent lifecycles with automated result aggregation.
Prompt Example
Delegate the following task to a subagent within an isolated execution environment: [TASK]. Specific constraints or requirements: [DETAILS].
Concrete examples
Delegate the following task to a subagent within an isolated execution environment: Analyze the current state of the Ariadne Academy Skill Redesign and create a status report. Specific constraints or requirements: List the critical paths.
Facilitates controlled task delegation by spawning child agents within isolated execution environments. Each subagent run is atomic: it executes a specific prompt, returns the resulting data, and terminates, preventing unnecessary interactive overhead.
Supports multiple execution patterns: Sequential mode blocks the master agent until the subagent completes, ensuring a linear dependency chain. Parallel mode enables concurrent task processing, significantly reducing latency for independent workloads.
Requires self-contained subagent prompts. To ensure predictable results, prompts must explicitly define objectives, constraints, environmental context, and expected output formats, minimizing the need for follow-up clarification.
Manage complex subagent lifecycles using observability tools: monitor concurrent runs with `inspect_background_process`, perform deep-dive analysis via `get_subagent_execution_trace_by_initiating_message`, or intercept and terminate tasks using `cancel_background_process`.
