LangGraph
Stateful graphs of agents — supervisors, durable runs.
9 patterns supported.
Patterns this framework supports natively
- Supervisor — Place a coordinating agent above a set of specialised agents and route work to them.
- Orchestrator-Workers — An orchestrator dynamically breaks a task into subtasks at runtime and delegates each to a worker LLM, then synthesises results.
- ReAct — Interleave a single thought, a single tool call, and a single observation per step so the agent reasons over fresh evidence.
- Tool Use — Let the LLM produce typed calls against an external toolkit instead of producing free-form text the surrounding system has to parse.
- Handoff — Transfer the active conversation from one agent to another, carrying context across the switch.
- Agent Resumption — Persist agent execution state so a long-running run survives restarts, deploys, or user disconnects.
- Decision Log — Persist the agent's reasoning trace alongside its actions so post-hoc review can explain why.
- Subagent Isolation — Run subagents in isolated workspaces so their writes do not collide and parallelism is safe.
- Step Budget — Cap the number of tool calls or loop iterations the agent is allowed within a single request.