- Published on
LangGraph is a new open-source module built on top of the popular LangChain framework. It is designed to enable the creation of cyclical graphs, which are often needed for developing AI agent runtimes.
While LangChain already supported the creation of custom chains, it lacked an easy way to introduce cycles into these chains. LangGraph solves this problem by providing a simple interface for defining state machines as graphs, with nodes representing different components or actions, and edges defining the flow between them.
The release includes two pre-built agent runtimes: the Agent Executor and the Chat Agent Executor.