# Best agent UI libraries

> 8 hand-picked agent UI libraries for the web, with pricing, licence and what each is best at.

Source: https://tastebase.ehsanulsiam.workers.dev/best/best-agent-ui-libraries

[Ehsanul Haque Siam](https://tastebase.ehsanulsiam.workers.dev/about)Nov 21, 2026 · updated Nov 27, 2026

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

- no preview ### [assistant-ui](https://tastebase.ehsanulsiam.workers.dev/browse/assistant-ui) React primitives and runtime for production AI chat: streaming, threads, tool UI, attachments.[assistant-ui alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/assistant-ui-alternatives)
- [AI Elements (shadcn/ui) alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ai-elements-alternatives)
- [prompt-kit alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/prompt-kit-alternatives)

- no preview ### [AI Elements (shadcn/ui)](https://tastebase.ehsanulsiam.workers.dev/browse/ai-elements) shadcn/ui patterns for agent interfaces: chat, messages, reasoning, tool calls, plans, citations.[AI Elements (shadcn/ui) alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ai-elements-alternatives)
- [assistant-ui alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/assistant-ui-alternatives)
- [prompt-kit alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/prompt-kit-alternatives)

- no preview ### [prompt-kit](https://tastebase.ehsanulsiam.workers.dev/browse/prompt-kit) Small shadcn registry of AI chat parts: prompt input, markdown, code block, reasoning, loaders.[prompt-kit alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/prompt-kit-alternatives)
- [assistant-ui alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/assistant-ui-alternatives)
- [AI Elements (shadcn/ui) alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ai-elements-alternatives)

- no preview ### [affectUI](https://tastebase.ehsanulsiam.workers.dev/browse/affect-ui) React components, screens and illustrations for AI agent products, each one self-contained .tsx file with no dependencies.[affectUI alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/affect-ui-alternatives)
- [UI Stacks alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ui-stacks-alternatives)

- no preview ### [UI Stacks](https://tastebase.ehsanulsiam.workers.dev/browse/ui-stacks) Animated React components for AI products: approvals, citations, tool runs, plus the dashboards, charts and checkout around them.[UI Stacks alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ui-stacks-alternatives)

- no preview ### [Libraries.dev](https://tastebase.ehsanulsiam.workers.dev/browse/libraries-dev) Small MIT React packages for AI interface states: thinking orbs, border beam, voice glow, gooey menus, bot avatars.
- no preview ### [ElevenLabs UI](https://tastebase.ehsanulsiam.workers.dev/browse/elevenlabs-ui) shadcn registry for voice and audio agents: orb, waveform, live mic visualiser, audio player, transcript viewer.[ElevenLabs UI alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/elevenlabs-ui-alternatives)

- no preview ### [mcpcn](https://tastebase.ehsanulsiam.workers.dev/browse/mcpcn) shadcn registry of widgets for ChatGPT apps and MCP Apps: cards, carousels, confirmations, checkouts.[Best free agent UI libraries](https://tastebase.ehsanulsiam.workers.dev/best/best-free-agent-ui-libraries)

## Compared

| Library | Pricing | Open source | Best for | Site | |
| --- | --- | --- | --- | --- | --- |
| [assistant-ui](https://tastebase.ehsanulsiam.workers.dev/browse/assistant-ui) | Free | Yes (MIT) | a full ChatGPT-style assistant with thread list, branching, edit, retry and attachments | [assistant-ui.com](https://www.assistant-ui.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/assistant-ui-alternatives) |
| [AI Elements (shadcn/ui)](https://tastebase.ehsanulsiam.workers.dev/browse/ai-elements) | Free | Yes (MIT) | a chat UI on the Vercel AI SDK (`useChat`) inside a shadcn/ui app | [ui.shadcn.com](https://ui.shadcn.com/docs/ai-elements?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ai-elements-alternatives) |
| [prompt-kit](https://tastebase.ehsanulsiam.workers.dev/browse/prompt-kit) | Free | Yes (MIT) | a polished prompt box with autosize, actions and tooltips on a landing page or app | [prompt-kit.com](https://www.prompt-kit.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/prompt-kit-alternatives) |
| [affectUI](https://tastebase.ehsanulsiam.workers.dev/browse/affect-ui) | Free, $249 one-time; team $699 one-time for more | Yes (MIT (free items); proprietary (Pro)) | agent UI without Tailwind or an animation library: each item is one file with its own styles | [affectui.com](https://www.affectui.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/affect-ui-alternatives) |
| [UI Stacks](https://tastebase.ehsanulsiam.workers.dev/browse/ui-stacks) | Free, Pro $199 once ($249 after launch) or $79/yr; Team of 10 $599 once or $299/yr for more | No (Proprietary (free and Pro); no redistribution) | an approval card for a risky agent action, with risk level, expiry and approve once or always (free Approval request) | [uistacks.dev](https://uistacks.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ui-stacks-alternatives) |
| [Libraries.dev](https://tastebase.ehsanulsiam.workers.dev/browse/libraries-dev) | Free, Pro $9/mo, Business $29/mo (3 seats); annual and lifetime options for more | Yes (MIT) | an AI waiting indicator that says what the agent is doing (searching, solving, composing), at avatar or inline size | [libraries.dev](https://libraries.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [ElevenLabs UI](https://tastebase.ehsanulsiam.workers.dev/browse/elevenlabs-ui) | Free | Yes (MIT) | a voice agent interface with an animated orb that reacts to speaking and listening states | [ui.elevenlabs.io](https://ui.elevenlabs.io/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/elevenlabs-ui-alternatives) |
| [mcpcn](https://tastebase.ehsanulsiam.workers.dev/browse/mcpcn) | Free | Yes (MIT) | UI widgets rendered inside ChatGPT or an MCP App host: event confirmation, product carousel, checkout card | [mcpcn.dev](https://mcpcn.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |

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

## Related

- [Best free agent UI libraries](https://tastebase.ehsanulsiam.workers.dev/best/best-free-agent-ui-libraries)
- [assistant-ui alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/assistant-ui-alternatives)
- [AI Elements (shadcn/ui) alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ai-elements-alternatives)
- [prompt-kit alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/prompt-kit-alternatives)
- [affectUI alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/affect-ui-alternatives)
