@assistant-ui/react weekly downloads statistics
By assistant-ui (6 listings) · npm · MCP servers
Open-source TypeScript/React library for building production-grade AI chat experiences
@assistant-ui/react has 3,576,311 recorded weekly downloads on npm, an increase of 17.5% over the past 30 days, ranking #189 of 3,247 tracked listings.
About @assistant-ui/react
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.
<a href="https://www.assistant-ui.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset=".github/assets/demo.webp" /> <source media="(prefers-color-scheme: light)" srcset=".github/assets/demo-light.webp" /> <img src=".github/assets/demo-light.webp" alt="An assistant-ui chat: a hotel search tool call, a streamed reply, an approval card that the user allows, and follow-up suggestions" width="100%" /> </picture> </a>Installation
The fastest path is the CLI, which scaffolds a Next.js app or adds the styled components to an existing project:
npx assistant-ui@latest create # new project
npx assistant-ui@latest init # add to existing project
Or install the packages directly:
npm install @assistant-ui/react @assistant-ui/ai-sdk ai
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/cli-init.webp" />
<source media="(prefers-color-scheme: light)" srcset=".github/assets/cli-init-light.webp" />
<img src=".github/assets/cli-init-light.webp" alt="Running npx assistant-ui@latest init in a terminal" width="100%" />
</picture>
Usage
"use client";
import { AssistantRuntimeProvider } from "@assistant-ui/react";
import { useChatRuntime } from "@assistant-ui/ai-sdk";
import { Thread } from "@/components/assistant-ui/elements/thread.aui";
export function Chat() {
const runtime = useChatRuntime();
return (
<AssistantRuntimeProvider runtime={runtime}>
<Thread />
</AssistantRuntimeProvider>
);
}
useChatRuntime connects to the Vercel AI SDK out of the box. Swap it for useLangGraphRuntime, useDataStreamRuntime, or any custom runtime to integrate with your own backend.
What you get
- Composable primitives: build any chat UX from
Thread,Message,Composer,ThreadList,ActionBar, and friends. Style every pixel yourself, or start from a polished shadcn/ui theme that the CLI copies into your project. - Production UX out of the box: streaming, auto-scroll, retries, attachments, markdown, code highlighting, voice dictation, keyboard shortcuts, and accessibility.
- Generative UI: render tool calls and JSON as React components, collect inline human approvals, and expose safe frontend actions to the model.
- Strong TypeScript: typed runtime APIs, tool schemas, message parts, and adapters end to end.
Backends
| Integration | Package |
|---|---|
| Vercel AI SDK | @assistant-ui/ai-sdk |
| LangGraph / LangChain | @assistant-ui/react-langgraph, @assistant-ui/react-langchain |
| AG-UI / A2A protocols | @assistant-ui/react-ag-ui, @assistant-ui/react-a2a |
| Google ADK / OpenCode | @assistant-ui/react-google-adk, @assistant-ui/react-opencode |
| Custom data-stream backend | @assistant-ui/react-data-stream |
| Managed thread history, telemetry, and file storage | assistant-cloud |
Broad model support out of the box (OpenAI, Anthropic, Google Gemini, Mistral, Perplexity, AWS Bedrock, Azure, Fireworks, Ollama) plus community providers via the AI SDK, and easy extension to any custom HTTP backend.
Customization…
Description from the npm listing.
- ai
- ui
- sdk
- mcp
- agent
- agentic
- generative
- components
- assistant
- chat
- chatbot
- shadcn
- radix-ui
- tailwind
- javascript
- openai
- anthropic
- claude
- xai
- chatgpt
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm MCP servers plugins
All 20 @assistant-ui/react alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@assistant-ui/react. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.