Data stream protocol support #88

Closed
opened 2026-02-15 17:15:36 -05:00 by yindo · 7 comments
Owner

Originally created by @kdawgwilk on GitHub (Sep 22, 2024).

It would be fantastic if langgraph supported vercels new data stream protocol so that langgraph could basically be drop in for react apps already using the vercel ai SDK client side https://vercel.com/blog/ai-sdk-3-4#data-stream-protocol

Originally created by @kdawgwilk on GitHub (Sep 22, 2024). It would be fantastic if langgraph supported vercels new data stream protocol so that langgraph could basically be drop in for react apps already using the vercel ai SDK client side https://vercel.com/blog/ai-sdk-3-4#data-stream-protocol
yindo closed this issue 2026-02-15 17:15:37 -05:00
Author
Owner

@jacoblee93 commented on GitHub (Sep 23, 2024):

Hey @kdawgwilk, yes would be great - for now you can use useChat with streamMode: "text":

https://github.com/langchain-ai/langchain-nextjs-template/blob/main/components/ChatWindow.tsx#L51

Will look into better support in general! I owe you a few things...

@jacoblee93 commented on GitHub (Sep 23, 2024): Hey @kdawgwilk, yes would be great - for now you can use `useChat` with `streamMode: "text"`: https://github.com/langchain-ai/langchain-nextjs-template/blob/main/components/ChatWindow.tsx#L51 Will look into better support in general! I owe you a few things...
Author
Owner

@yamz8 commented on GitHub (Sep 24, 2024):

if you can make the Vercel adapter to support the graph state with useObject would be awesome

@yamz8 commented on GitHub (Sep 24, 2024): if you can make the Vercel adapter to support the graph state with useObject would be awesome
Author
Owner

@gcalabria commented on GitHub (Jan 5, 2025):

No news about this? @yamz8's idea is actually pretty great!

@gcalabria commented on GitHub (Jan 5, 2025): No news about this? @yamz8's idea is actually pretty great!
Author
Owner

@jacoblee93 commented on GitHub (Jan 5, 2025):

Yeah would love to improve interoperability in general!

@jacoblee93 commented on GitHub (Jan 5, 2025): Yeah would love to improve interoperability in general!
Author
Owner

@gcalabria commented on GitHub (Jan 8, 2025):

I would be glad to help :)

@gcalabria commented on GitHub (Jan 8, 2025): I would be glad to help :)
Author
Owner

@hanzotruong0804 commented on GitHub (Mar 31, 2025):

langgraph provided an example: https://www.assistant-ui.com/examples/stockbroker
It adopted Stream Protocol, however using langgraph server is required :(

@hanzotruong0804 commented on GitHub (Mar 31, 2025): langgraph provided an example: https://www.assistant-ui.com/examples/stockbroker It adopted Stream Protocol, however using langgraph server is required :(
Author
Owner

@dqbd commented on GitHub (Jun 17, 2025):

Hello! Closing this as Won't Fix

  1. Upcoming AI SDK v5 will likely steer away from custom streaming protocol in favour of SSE (https://ai-sdk.dev/docs/announcing-ai-sdk-5-alpha#server-sent-events-sse)
  2. We do now have a useStream hook that is tailor made for integrating LangGraph into React apps!
@dqbd commented on GitHub (Jun 17, 2025): Hello! Closing this as Won't Fix 1. Upcoming AI SDK v5 will likely steer away from custom streaming protocol in favour of SSE (https://ai-sdk.dev/docs/announcing-ai-sdk-5-alpha#server-sent-events-sse) 2. We do now have a `useStream` hook that is tailor made for integrating LangGraph into React apps!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#88