assistant-ui is an open-source TypeScript/React library of composable primitives that delivers ChatGPT-like chat UX out of the box. It is designed to address the problem that building production-grade AI chat UX in React apps from scratch is slow and hard.
Project overview
Rather than a single monolithic chat component, it offers composable primitives you can assemble with your own styles, while shipping production chat features such as streaming, retries, attachments, and accessibility from the start.
Project type
AI Agent
Use cases
Coding & Development
Deployment
Refer to project documentation
License
MIT
Best for
Developers who need ChatGPT-like chat UX in a TypeScript/React application and want to compose and style the interface themselves rather than use a monolithic component.
Key capabilities
Streaming, auto-scroll, retries, attachments, markdown, code highlighting, voice dictation, keyboard shortcuts, and accessibility are provided out of the box.
Getting started
Setup difficulty is documented as easy; it requires coding, since the library is integrated into a React application by a developer.
Evidence and sources
README: assistant-ui: the frontend library for AI agents
README: **assistant-ui** is an open-source TypeScript/React library to build production-grade AI chat experiences fast.
README: npx assistant-ui@latest create # new project
README: `useChatRuntime` connects to the Vercel AI SDK out of the box.
README: **Production UX out of the box**: streaming, auto-scroll, retries, attachments, markdown, code highlighting, voice dictation, keyboard shortcuts, and accessibility.