Product overview
What is assistant-ui?
assistant-ui is an open-source set of React primitives for building AI chat interfaces. It gives frontend developers production-ready components and state management for experiences such as ChatGPT-style chat, copilots, and conversational agents. The library is intended to handle common interface and runtime requirements so application teams can focus on their agent logic and product-specific behavior.
Its components cover streaming responses, interruptions, retries, and multi-turn conversations. The UI can be themed and integrated with the Vercel AI SDK, LangChain, or other model providers. The project is available under the MIT License and includes examples, a playground, packages for additional environments, and an optional cloud product.
Core Features
- Chat interface primitives: Provides reusable React components for building complete conversational interfaces.
- State management: Handles streaming, interruptions, retries, and multi-turn conversation state.
- Theming and defaults: Supplies a ChatGPT-style starting experience that can be adapted to an application's visual system.
- Provider flexibility: Works with the Vercel AI SDK, LangChain, or another LLM provider.
- Performance-focused rendering: Optimizes rendering for responsive streaming interactions.
- Open-source distribution: Releases the core React library under the MIT License.
Use Cases
- AI agent frontends: Developers can build a user-facing chat surface for an agent that streams responses and uses tools.
- Application copilots: Product teams can add an embedded conversational assistant to an existing React application.
- Custom chat products: Startups can build branded ChatGPT-style experiences without recreating basic chat state and interaction patterns.
- Multi-turn support experiences: Teams can manage persistent conversational flows with retry and interruption behavior.
Frequently Asked Questions
Is assistant-ui open source?
Yes. The homepage identifies it as open source and links to an MIT License.
Which frontend framework does assistant-ui use?
The core library provides React primitives for AI chat interfaces.
Does it require a specific model provider?
No. The site states that it works with the Vercel AI SDK, LangChain, or any LLM provider.


