# assistant-ui

CreateWithAI Hub page: https://createwithaihub.com/frameworks/assistant-ui
Latest version of this file: https://createwithaihub.com/frameworks/assistant-ui.md

- Type: Framework · Category: Harnesses & Frameworks
- Publisher: AgentbaseAI Inc.
- Pricing: Free · License: MIT
- Runs on: Web

Open-source TypeScript/React library of composable primitives for building ChatGPT-style chat interfaces.

assistant-ui is an open-source TypeScript and React library for building AI chat interfaces. Instead of one monolithic component it provides composable primitives such as Thread, Message, Composer and ThreadList, with streaming, auto-scroll, retries, attachments, markdown and accessibility handled, and a shadcn/ui-based starter the CLI copies into your project. Runtimes connect it to the Vercel AI SDK, LangGraph, AG-UI, A2A, Google ADK or a custom backend. Assistant Cloud is an optional paid service for thread persistence.

Useful for: Building a custom-styled chat UI in a Next.js app on top of the Vercel AI SDK, including rendering tool calls as React components.

## Key features

- Composable chat primitives (Thread, Message, Composer, ThreadList, ActionBar)
- Streaming, retries, attachments, markdown, code highlighting and voice dictation
- Generative UI: render tool calls as components and collect inline approvals
- Runtimes for Vercel AI SDK, LangGraph/LangChain, AG-UI, A2A, Google ADK and custom backends
- CLI that scaffolds a project or adds styled components (Base UI or Radix)

## Connection

- Language: TypeScript / JS
- Focus: Chat UI & streaming
- Model support: Multi-provider

## Before you start

- React or Next.js project

## Install steps from the official documentation

New project:

```
npx assistant-ui@latest create
```

Packages:

```
npm install @assistant-ui/react @assistant-ui/ai-sdk ai
```

## Limitations

- React only
- Managed thread history and storage need Assistant Cloud (free tier, Pro $50/month)

## Official links

- Website: https://www.assistant-ui.com
- Source repository: https://github.com/assistant-ui/assistant-ui
- Documentation: https://www.assistant-ui.com/docs/
- Source: https://github.com/assistant-ui/assistant-ui (README: description, install commands, features, backend integrations, model support, license note; LICENSE: MIT (AgentbaseAI Inc.))
- Source: https://www.assistant-ui.com/pricing (Library free and open source; Assistant Cloud Free $0, Pro $50/month, Enterprise custom)
