assistant-ui: React components for AI chat
Open-source React components and runtimes for AI chat. Streaming, tool calls, and persistence in TypeScript. This is the library I start from for an agent UI.
assistant-ui is an open-source React library for AI chat. Streaming, tool calls, and persistence, in TypeScript. Components and the runtime, so the thread is not a demo you have to throw away.
Why it stays bookmarked
A chat UI looks small until you meet the edges: a tool call that should render as a card, a stream that gets interrupted, a thread that has to exist tomorrow. I start here because those edges are the product. The primitives are real components, and the code is open.
Nexus UI is what I look at for citations and the smaller AI-native pieces. CometChat’s React UI Kit is the one I open when the job is human chat, with receipts and threads, and the model is not the point.