Product · Documentation · Examples · Discord Community · Contact Sales
assistant-ui is an open source TypeScript/React library for AI chat.
The library handles essential chat features such as auto-scrolling, accessibility, and real-time updates, while providing easy integration with LangGraph, AI SDK, and custom backends.
The API of assistant-ui is inspired by libraries like shadcn/ui and cmdk. Instead of a single monolithic chat component, developers get primitive components that can be fully customized.
We have wide model provider support (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) out of the box and the ability to integrate custom APIs.
You can get started by running npx assistant-ui create (new project) or npx assistant-ui init (existing project) in your terminal.
The API of assistant-ui is inspired by libraries like Radix UI and cmdk. Instead of a single monolithic chat component, we give you composable primitives and a great starter configuration. You have full control over the look and feel of every pixel while leaving auto-scrolling, LLM streaming and accessibility to us.

Sample customization to make a perplexity lookalike:

Hundreds of projects use assistant-ui to build in-app AI assistants, including companies like LangChain, AthenaIntelligence, Browser Use, and more.
With >200k monthly downloads, assistant-ui is the most popular UI library for building AI chat.

interrupt() support$ claude mcp add assistant-ui \
-- python -m otcore.mcp_server <graph>