🦜🕸️LangGraph⚡ Building language agents as graphs ⚡OverviewLangGraph is a library for building stateful, multi-actor applications with LLMs, built on top of (and intended to be used with) LangChain.
It extends the LangChain Expression Language with the ability to coordinate multiple chains (or actors) across multiple steps of computation in a cyclic manner.
It is inspired by Pregel and Apache Beam.
The current interface exposed is one inspired by NetworkX.The main use is for adding cycles to your LLM application.
Crucially, this is NOT a DAG framework.
If you want to build a DAG, you should use just use LangChain Expression Language.Cycles are important for agent-like behaviors, where you call an LLM in a loop, asking it what action to take next.