Streaming LangGraph.js from server to client. #19

Closed
opened 2026-02-15 17:05:33 -05:00 by yindo · 0 comments
Owner

Originally created by @sheldonj on GitHub (Apr 6, 2024).

Im trying to wrap my head around the best way to stream a LangGraph chain through an api (next.js). Then parse the node updates back into the same state on the client side.

Is the best way to get checkpointer values and pass those back to the client side and then recreate the local front end state from those values.

Or to base the node state updates and use some kinda front end channels implementation.

Anyone able to kick me in the right direction?

Originally created by @sheldonj on GitHub (Apr 6, 2024). Im trying to wrap my head around the best way to stream a LangGraph chain through an api (next.js). Then parse the node updates back into the same state on the client side. Is the best way to get checkpointer values and pass those back to the client side and then recreate the local front end state from those values. Or to base the node state updates and use some kinda front end channels implementation. Anyone able to kick me in the right direction?
yindo closed this issue 2026-02-15 17:05:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#19