Best agent UI libraries
Written from the tastebase registry, so it changes when an entry does.
These are the agent UI libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.
assistant-ui leads: react primitives and runtime for production AI chat: streaming, threads, tool UI, attachments. If it doesn't fit, AI Elements (shadcn/ui) is the next pick: shadcn/ui patterns for agent interfaces: chat, messages, reasoning, tool calls, plans, citations.
8 picks

assistant-ui
React primitives and runtime for production AI chat: streaming, threads, tool UI, attachments.
AI Elements (shadcn/ui)
shadcn/ui patterns for agent interfaces: chat, messages, reasoning, tool calls, plans, citations.
prompt-kit
Small shadcn registry of AI chat parts: prompt input, markdown, code block, reasoning, loaders.
affectUI
React components, screens and illustrations for AI agent products, each one self-contained .tsx file with no dependencies.
UI Stacks
Animated React components for AI products: approvals, citations, tool runs, plus the dashboards, charts and checkout around them.
Libraries.dev
Small MIT React packages for AI interface states: thinking orbs, border beam, voice glow, gooey menus, bot avatars.
ElevenLabs UI
shadcn registry for voice and audio agents: orb, waveform, live mic visualiser, audio player, transcript viewer.
mcpcn
shadcn registry of widgets for ChatGPT apps and MCP Apps: cards, carousels, confirmations, checkouts.
Compared
Questions
What is the best agent UI library?
assistant-ui: react primitives and runtime for production AI chat: streaming, threads, tool UI, attachments. Reach for it for a full ChatGPT-style assistant with thread list, branching, edit, retry and attachments.
Which of these are completely free?
assistant-ui, AI Elements (shadcn/ui), prompt-kit, ElevenLabs UI and mcpcn. The rest are free to start with a paid tier.