langgraph-supervisor
library to create a supervisor multi-agent system:
langgraph-swarm
library to create a swarm multi-agent system:
langgraph-supervisor
(supervisor hands off to individual agents) and langgraph-swarm
(an individual agent can hand off to other agents).
To implement handoffs with create_react_agent
, you need to:
Command
primitive allows specifying a state update and a node transition as a single operation, making it useful for implementing handoffs.