News Developer Tools

LangGraph release speeds up workflows and fixes child graph streaming

LangGraph, the LangChain framework for building AI agent workflows, now streams a child graph on its own thread and ships five performance changes.

LangGraph, the LangChain framework for building AI agent workflows, now streams a child graph on its own thread to a caller that is streaming subgraphs. The update also includes five performance changes. The project's GitHub release notes list the changes.

A child graph is a smaller workflow that runs inside a larger one. The fix covers the case where that child runs on a separate thread while the calling graph streams its subgraphs, so the caller receives the child's output as it is produced.

The performance changes target several parts of the engine. The add_messages function now skips message conversion when the messages are already plain messages. The runner checks only failed futures, meaning tasks still waiting on a result, when it decides whether to stop. LangGraph also finds untracked and delta channels once per run instead of repeatedly.

Two further changes affect state handling. On states with many keys, update keys are now matched against a set, a structure built for fast lookups. Pending writes are filtered down to the given tasks before their statuses are read. The release also bumps version numbers for the checkpoint, Postgres checkpoint, and prebuilt packages, which ship alongside the main library.

Source: Release langgraph==1.2.22 · langchain-ai/langgraph · GitHub.