Overview
Work in progress
This page is under construction. Most links will not work yet.
Cloud
Runtime API
AI SDK
LangGraph
Local Runtime
External Store Runtime
Thread List Runtime
Edge (Legacy)
Runtime Adapters
Attachment
AttachmentAdapter
SimpleImageAttachmentAdapter
SimpleTextAttachmentAdapter
CompositeAttachmentAdapter
Feedback
Speech
Highest Level Context Providers
<AssistantRuntimeProvider runtime={runtime} />
<TextContentPartProvider text={text} />
Assistant Context
The context available to components inside <AssistantRuntimeProvider />
. You usually wrap your entire application in this context.
AssistantRuntime
Programmatically access the assistant's state and actions.
Instructions
Add system prompt instructions
Tool UI
Register tool UIs
Programmatically access the list of registered tool UIs (Experimental)
ThreadListPrimitive
Shows a list of threads and allows the user to switch between them.
Thread Context
The context for a single thread. Currently always corresponds to the runtime's main thread.
ThreadRuntime
Programmatically access the thread's state and actions.
ModelContext
ThreadViewportStore
ThreadPrimitive
A conversation thread.
AssistantModalPrimitive
A floating modal that usually appears in the lower right corner of the screen. Common for support use cases.
Composer Context
Manages the state and actions for the message composer
ComposerRuntime
ComposerPrimitive
Message Context
Manages the state and actions for individual messages
MessageRuntime
MessageUtilsStore
MessagePrimitive
<MessagePrimitive.Content />
<MessagePrimitive.Attachments />
ActionBarPrimitive
BranchPickerPrimitive
ContentPart Context
Manages the state and actions for content parts within messages
ContentPartRuntime
ContentPartPrimitive
MarkdownText
Attachment Context
Manages the state and actions for attachments in messages and composer
AttachmentRuntime
AttachmentPrimitive
ThreadListItem Context
Manages the state and actions for individual thread list items