
Framework AgentbaseAI Inc.
assistant-ui
Open-source TypeScript/React library of composable primitives for building ChatGPT-style chat interfaces.
What it is
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.
What it's 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)
How to use it
Before you start
- React or Next.js project
npx assistant-ui@latest createnpm install @assistant-ui/react @assistant-ui/ai-sdk aiCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- React only
- Managed thread history and storage need Assistant Cloud (free tier, Pro $50/month)
Alternatives
Open-source frontend stack for putting agents in front of users: chat, generative UI, shared state and human-in-the-loop.
Vercel's provider-agnostic TypeScript toolkit for AI apps and agents, with UI hooks for React and other frameworks.
Vercel's open-source TypeScript SDK for building one chat bot that runs on Slack, Teams, Discord, Telegram, WhatsApp and more.
MCP servers for this
Figma's MCP server that gives coding agents design context from Figma files and can write back to the canvas.
Open-source MCP server that gives coding agents simplified Figma layout and styling data to implement designs.
Skills for this
Anthropic skill that steers Claude toward deliberate, non-generic visual design when building or reshaping UI.
Design skill for coding agents with 24 commands to steer, critique and audit UI, plus a rule-based detector for AI-slop patterns.
Meng To's collection of 200+ agent skills for landing pages, Three.js 3D scenes, games, illustration and design workflows.
Related resources
StackBlitz's in-browser AI builder that creates websites, web apps and mobile apps from text prompts.
Vercel's open-source Next.js and AI SDK template for building a full chatbot app with auth and saved history.
Figma's prompt-to-app tool that turns prompts and Figma designs into code-backed prototypes and web apps you can publish.
Browser-based AI builder that turns plain-language descriptions into full-stack web apps backed by editable code.