Reference Examples Additional resources Graph API concepts¶ Graphs¶ At its core, LangGraph models agent workflows as graphs. You define the behavior of your agents using three key components: State: A shared data structure that represents the current snapshot of your application. It can be any data type, but is typically defined using a shared state schema. Nodes: Functions that encode the logic o