LangGraph (original) (raw)

LangGraph Logo LangGraph Logo

LangGraph Logo

Version Downloads Open Issues Docs

LangGraph is a low-level orchestration framework for building controllable agents. While LangChain provides integrations and composable components to streamline LLM application development, the LangGraph library enables agent orchestration — offering customizable architectures, long-term memory, and human-in-the-loop to reliably handle complex tasks.

Get started

First, install LangGraph:

There are two ways to get started with LangGraph:

Once you have a LangGraph application and are ready to move into production, use LangGraph Platform to test, debug, and deploy your application.

What LangGraph provides

LangGraph provides low-level supporting infrastructure that sits underneath any workflow or agent. It does not abstract prompts or architecture, and provides three central benefits:

Persistence

LangGraph has a persistence layer, which offers a number of benefits:

Streaming

LangGraph provides support for streaming workflow / agent state to the user (or developer) over the course of execution. LangGraph supports streaming of both events (such as feedback from a tool call) and tokens from LLM calls embedded in an application.

Debugging and deployment

LangGraph provides an easy onramp for testing, debugging, and deploying applications via LangGraph Platform. This includes Studio, an IDE that enables visualization, interaction, and debugging of workflows or agents. This also includes numerous options for deployment.

LangGraph’s ecosystem

While LangGraph can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools for building agents. To improve your LLM application development, pair LangGraph with:

Additional resources

Acknowledgements

LangGraph is inspired by Pregel and Apache Beam. The public interface draws inspiration from NetworkX. LangGraph is built by LangChain Inc, the creators of LangChain, but can be used without LangChain.