Skip to main content
A single agent is limited to what one model can do in one turn. Multi-agent orchestration breaks complex tasks into subtasks and routes them to specialized agents, each configured for a specific purpose. Lyzr provides two orchestration models: Manager Agent (dynamic) and SuperFlow (deterministic).

Manager Agent

A manager agent receives a user goal and dynamically decides which specialized worker agents to call, in what order, and with what inputs. The manager reasons about the best execution path at runtime rather than following a predefined script. When to use Manager Agent:
  • The workflow varies based on user input.
  • You want agents to decide which subtask to route where.
  • You are building assistants that may or may not invoke certain sub-agents depending on context.
How it works:
  1. The user sends a message to the manager agent.
  2. The manager determines which worker agents are relevant for the task.
  3. The manager delegates subtasks to workers in sequence or in parallel.
  4. The manager synthesizes worker outputs into a final response.
The usage_description you provide for each worker agent acts as the manager’s routing instruction. The more specific this description, the more accurately the manager routes.

SuperFlow

SuperFlow is a visual DAG-based workflow builder. You define the exact execution graph (which nodes run, in what order, and what happens on failure), and the workflow runs deterministically every time. When to use SuperFlow:
  • The steps are known and must always run in the same order.
  • You need human approval gates mid-workflow.
  • You need cron scheduling (for example, run this every Monday at 9 AM).
  • You need webhook triggers from external systems.
  • You need exactly-once execution guarantees (no duplicate API calls on retry).
  • The workflow includes non-agent steps: HTTP requests, code execution, or conditionals.

Choosing between them

RequirementManager AgentSuperFlow
Workflow varies by input
Guaranteed execution order
Human approval mid-flow
Cron scheduling
Webhook trigger
Exactly-once side effects
Multi-turn conversation interface
Complex branching on dynamic data

Combining both

Manager Agent and SuperFlow can work together in the same system. A common pattern:
  1. A Manager Agent handles the conversational interface with the user.
  2. When the task requires a deterministic multi-step process, the manager triggers a SuperFlow run.
  3. SuperFlow executes the workflow with retries, approvals, and exactly-once guarantees.
  4. SuperFlow returns results to the manager, which formats the final response for the user.

Next steps