assistant-ui
React library for building AI chat interfaces
Steal this
An AI chat split into parts (thread, message, composer) that you style pixel by pixel.
What it is
An open source TypeScript and React library with building blocks for AI chat: Thread, Message and Composer. It brings streaming, attachments, markdown, code highlighting and generative UI that renders tool calls as components.
What it’s for
For putting a ChatGPT-style chat inside a React app.
Benefits
- Composable pieces or a ready shadcn/ui theme
- Works with Vercel AI SDK, LangGraph and other backends
- Human approval and generative UI included
Caveats
- MIT license; a separate commercial plan covers support





