AI Elements (shadcn/ui) alternatives
Written from the tastebase registry, so it changes when an entry does.
AI Elements (shadcn/ui) is shadcn/ui patterns for agent interfaces: chat, messages, reasoning, tool calls, plans, citations. It's the right pick for a chat UI on the Vercel AI SDK (`useChat`) inside a shadcn/ui app.
Look elsewhere when you're dealing with you need threads, branching, retries and backend adapters handled: use assistant-ui. These 3 agent UI libraries do the same job differently.
3 AI Elements (shadcn/ui) alternatives

assistant-ui
React primitives and runtime for production AI chat: streaming, threads, tool UI, attachments.
prompt-kit
Small shadcn registry of AI chat parts: prompt input, markdown, code block, reasoning, loaders.
Kobra
A polished shadcn registry on Base UI: quiet gray UI, tuned motion, AI and agent components.
Compared
Questions
Is AI Elements (shadcn/ui) free?
Yes, AI Elements (shadcn/ui) is free (MIT).
What is the best alternative to AI Elements (shadcn/ui)?
assistant-ui: react primitives and runtime for production AI chat: streaming, threads, tool UI, attachments. It's best for a full ChatGPT-style assistant with thread list, branching, edit, retry and attachments.
When should I not use AI Elements (shadcn/ui)?
You need threads, branching, retries and backend adapters handled: use assistant-ui.
Which AI Elements (shadcn/ui) alternatives are open source?
assistant-ui (MIT) and prompt-kit (MIT).