Skip to content

Supervisor Agent

🤖 AI Drafted (Not reviewed)

Orchestrates multiple worker agents to accomplish complex tasks

Tool id supervisor_agent
Category agent
Uses a language model yes
Needs a generative model no
Runs over many items no
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Task (task) text yes Task to delegate to worker agents
Context (context) any no Additional context for coordination

What it emits

Port Type Required What it is
Result (result) text Final aggregated result
Worker Results (worker_results) json Results from each worker agent
Execution Log (execution_log) array Log of supervisor decisions and worker executions

Options

Option Type Default What it does
aggregation_strategy string sequential How to combine worker results. One of: sequential, parallel, best_of.
max_iterations integer 5 Maximum delegation rounds.
supervisor_prompt string You are a supervisor coordinating multiple specialized workers. Analyze the task and decide which worker(s) should handle it. You can delegate to one or more workers and aggregate their results. Available workers: {workers_description} Respond with your delegation decision and reasoning. System prompt for supervisor.
workers array [] Worker agent configurations.

The prompt it sends

This tool does not send a prompt — it does its work in code.