Assistant UI is a React/TypeScript component library for building AI chat interfaces. It provides pre-built, customizable components for chat messages, input, streaming, tool calls, and more — all accessible and production-ready out of the box.
Assistant UI provides the building blocks for AI chat interfaces in React. Instead of building chat components from scratch, use pre-built, accessible, and customizable components that handle streaming, tool calls, markdown rendering, and more.
import { Thread } from "@assistant-ui/react";
function ChatApp() {
return <Thread />;
}
import { Thread, Composer, Messages } from "@assistant-ui/react";
function CustomChat() {
return (
<Thread>
<Messages />
<Composer placeholder="Ask anything..." />
</Thread>
);
}
AI agents that work well with Assistant UI.
Injects up-to-date, version-specific documentation into LLM context — eliminates hallucination from stale training data.
Build AI copilot experiences in your React app — in-app chat, AI-powered forms, and generative UI.
AI-powered code review that catches bugs, security issues, and style violations before they reach production.