LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
LangGraph
Web
Channels
Pregel
Prebuilt
Remote
Stream
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
Client
Auth
React
Logging
React Ui
Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
LangGraph Checkpoint Redis
Shallow
Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Python
JavaScript
Theme
Light
Dark
JavaScript
@langchain/langgraph-sdk
react-ui
Module
v2.0.0 (latest)
●
Since v1.10
react-ui
Copy
import
{ ... }
from
"@langchain/langgraph-sdk/react-ui"
;
Functions
function
experimental_loadShare
function
isRemoveUIMessage
→
message
is
RemoveUIMessage
function
isUIMessage
→
message
is
UIMessage
<
string
,
Record
<
string
,
unknown
>>
function
LoadExternalComponent
→
Element
function
uiMessageReducer
→
UIMessage
<
string
,
Record
<
string
,
unknown
>>[]
function
useStreamContext
→
UseStreamContext
<
StateType
,
Bag
>
Interfaces
interface
RemoveUIMessage
interface
UIMessage
View source on GitHub
Version History