ACAgentic Craft

Advanced~60 minHazelJS

Orchestration and Multi-Agent

Compose AgentGraph, SupervisorAgent, @Delegate, pipeline, and @hazeljs/flow when paths are deterministic.

Authors
editorial-team
Published
Last reviewed

Use documented multi-agent APIs (@Delegate, AgentGraph, SupervisorAgent, pipeline)—not undocumented callAgent. Prefer flow for stable business graphs.

Learning outcomes

  • Build sequential, conditional, and parallel AgentGraph topologies
  • Choose flow vs multi-agent correctly

Lessons

  1. 01AgentGraph, Supervisor, and Delegate
    Compose multi-agent topologies with documented AgentGraph, createSupervisor, @Delegate, and pipeline—full examples.
  2. 02Flow vs Multi-Agent Orchestration
    Choose @hazeljs/flow for deterministic durable graphs vs AgentGraph for LLM-routed work—with both code paths.

Related patterns