CreateWithAIHub

Framework AgentbaseAI Inc.

assistant-ui

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

Chat UI toolkitFreeOpen source
Visit website ↗
Save

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
New project
npx assistant-ui@latest create
Packages
npm install @assistant-ui/react @assistant-ui/ai-sdk ai

Commands 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.

FreeOpen source

Vercel's provider-agnostic TypeScript toolkit for AI apps and agents, with UI hooks for React and other frameworks.

FreeOpen source

Vercel's open-source TypeScript SDK for building one chat bot that runs on Slack, Teams, Discord, Telegram, WhatsApp and more.

FreeOpen source

MCP servers for this

Figma's MCP server that gives coding agents design context from Figma files and can write back to the canvas.

Free plan + paid

Open-source MCP server that gives coding agents simplified Figma layout and styling data to implement designs.

Free plan + paidOpen source

Skills for this

Anthropic skill that steers Claude toward deliberate, non-generic visual design when building or reshaping UI.

FreeOpen source

Design skill for coding agents with 24 commands to steer, critique and audit UI, plus a rule-based detector for AI-slop patterns.

FreeOpen source

Meng To's collection of 200+ agent skills for landing pages, Three.js 3D scenes, games, illustration and design workflows.

FreeOpen source

Related resources

StackBlitz's in-browser AI builder that creates websites, web apps and mobile apps from text prompts.

Free plan + paidDeal

Figma's prompt-to-app tool that turns prompts and Figma designs into code-backed prototypes and web apps you can publish.

Free plan + paid

Browser-based AI builder that turns plain-language descriptions into full-stack web apps backed by editable code.

Free plan + paid

Type to search. Use ↑ ↓ and Enter.