LangGraph
LangGraph is a Python framework for building stateful, multi-actor applications with LLMs. It models work as a graph of nodes with explicit state passed between them.
What data you can use with it
Whatever you build with LangGraph must follow Defra's data rules. Check Using data with AI for what you can put into each type of tool.
Why we are exploring it
The AI Capability and Enablement team is evaluating LangGraph. It is not yet a recommendation either way.
It offers more control than simple chains for complex workflows, and is being considered for proofs of concept where you need to model branching and human-in-the-loop steps explicitly.
Talk to the team before using it in delivery.
More information
For how Defra handles AI security and data, see Security and Keeping data safe.
Get help with LangGraph
The AI Capability and Enablement team is evaluating LangGraph. Talk to us before using it in delivery.