Best free 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.
5 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.
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 free 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.