# assistant-ui **Repository Path**: chadwickchen999/assistant-ui ## Basic Information - **Project Name**: assistant-ui - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-22 - **Last Updated**: 2026-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README assistant-ui Header

Product · Documentation · Examples · Discord Community · Contact Sales

[![npm version](https://img.shields.io/npm/v/@assistant-ui/react)](https://www.npmjs.com/package/@assistant-ui/react) [![npm downloads](https://img.shields.io/npm/dm/@assistant-ui/react)](https://www.npmjs.com/package/@assistant-ui/react) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/assistant-ui/assistant-ui) [![Weave Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.workweave.ai%2Fapi%2Frepository%2Fbadge%2Forg_GhSIrtWo37b5B3Mv0At3wQ1Q%2F722184017&cacheSeconds=3600)](https://app.workweave.ai/reports/repository/org_GhSIrtWo37b5B3Mv0At3wQ1Q/722184017) ![GitHub License](https://img.shields.io/github/license/assistant-ui/assistant-ui) ![Backed by Y Combinator](https://img.shields.io/badge/Backed_by-Y_Combinator-orange) [⭐️ Star us on GitHub](https://github.com/assistant-ui/assistant-ui) ## The UX of ChatGPT in your React app 💬🚀 **assistant-ui** is an open source TypeScript/React library to build production-grade AI chat experiences fast. - Handles streaming, auto-scrolling, accessibility, and real-time updates for you - Fully composable primitives inspired by shadcn/ui and cmdk — customize every pixel - Works with your stack: AI SDK, LangGraph, Mastra, or any custom backend - Broad model support out of the box (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) with easy extension to custom APIs ## Why assistant-ui - **Fast to production**: battle-tested primitives, built-in streaming and attachments - **Designed for customization**: composable pieces instead of a monolithic widget - **Great DX**: sensible defaults, keyboard shortcuts, a11y, and strong TypeScript - **Enterprise-ready**: optional chat history and analytics via Assistant Cloud ## Getting Started Run one of the following in your terminal: ```bash npx assistant-ui create # new project npx assistant-ui init # add to existing project ``` [![assistant-ui starter template](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/assistant-ui-starter.gif)](https://youtu.be/k6Dc8URmLjk) ## Features - **Build**: composable primitives to create any chat UX (message list, input, thread, toolbar) and a polished shadcn/ui theme you can fully customize. - **Ship**: production-ready UX out of the box — streaming, auto-scroll, retries, attachments, markdown, code highlighting, and voice input (dictation) — plus keyboard shortcuts and accessibility by default. - **Generate**: render tool calls and JSON as components, collect human approvals inline, and enable safe frontend actions. - **Integrate**: works with AI SDK, LangGraph, Mastra, or custom backends; broad provider support; optional chat history and analytics via Assistant Cloud (single env var). ## Backends - **Assistant Cloud**: managed chat persistence and analytics. Deploy with the Cloud Starter template; bring any model/provider. - **AI SDK**: integration with Vercel AI SDK; connect to any supported provider. - **LangGraph**: integration with LangGraph and LangGraph Cloud; connect via LangChain providers. - **Mastra**: integration with Mastra agents/workflows/RAG; model routing via Vercel AI SDK; optional Mastra Cloud. - **Custom**: use assistant-ui on top of your own backend/streaming protocol. ## Customization assistant-ui takes a Radix-style approach: instead of a single monolithic chat component, you compose primitives and bring your own styles. We provide a great starter config; you control everything else. ![Overview of components](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/components.png) Sample customization to make a Perplexity lookalike: ![Perplexity clone created with assistant-ui](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/perplexity.gif) ## Traction assistant-ui is the most popular UI library for building AI chat. Hundreds of companies and projects use assistant-ui to build in-app AI assistants, including Mastra, LangChain, Athena Intelligence, Browser Use, Stack, Inconvo, Iterable, Helicone, Gram, Coreviz, and more. ![Chart of assistant-ui's traction](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/traction.png) ## Demos
Short Demo Long Demo
## Community & Support - [Check out example demos](https://www.assistant-ui.com/) - [Read the docs](https://www.assistant-ui.com/docs/) - [Join our Discord](https://discord.com/invite/S9dwgCNEFs) - [Book a sales call](https://cal.com/simon-farshid/assistant-ui) --- Backed by Y Combinator. Building something with assistant-ui? We’d love to hear from you.