LangGraph logo

LangGraph

Stateful graph orchestration for controllable agents.

Open source

Best when agent behavior must be represented as explicit nodes, edges, state, and recovery paths.

Selection advice

Choose LangGraph when production safety depends on knowing exactly where a run is and what can happen next.

Best for

  • stateful workflows
  • human review nodes
  • replayable orchestration

Not ideal for

  • simple one-shot assistants
  • teams that do not want to model state explicitly

Core concepts

nodesedgesstatecheckpoints

Minimal implementation shape

Model the workflow as retrieve -> decide -> act -> review, persist state between nodes, and trace every transition.

Sources