Skip to main content
Connect your agent to a chat UI with useStream, then render it with one of the component libraries below. useStream works with both local and deployed agents. For patterns like tool calls, human-in-the-loop, and time travel, see the frontend overview.

Component libraries

AI Elements

Composable shadcn/ui-based components for AI chat. Drop in Conversation, Message, Tool, and Reasoning and wire them directly to stream.messages.

CopilotKit

Full AI chat runtime with structured generative UI support. Add a custom CopilotKit endpoint to your LangGraph deployment, then render dynamic component trees in React.

assistant-ui

Headless React framework with a full runtime layer. Bridge useStream to AssistantRuntimeProvider via the useExternalStoreRuntime adapter.

OpenUI

Generative UI library that lets the agent produce complete, interactive dashboards in a declarative component DSL. Purpose-built for data-rich, report-style UIs.