Sitepeel

assistant-ui

assistant-ui.com · Component libraries · Open source

Visit site

Build the chat window of an AI app in React: message threads, streamed replies, tool calls and saved history.

  1. What it is

    This library handles the chat part of an AI app: the message thread, streaming replies, tool calls, attachments and approvals. You add a provider, a hook and a component, then connect any backend through adapters like the AI SDK or LangGraph. There are also versions for React Native, Vue and the terminal (Ink).

  2. Is it for you?

    Made for
    Developers adding a ChatGPT-style chat to their own React product.
    You need
    React and TypeScript, plus your own AI backend
    Price
    Open source (MIT), with an optional cloud service for hosted chat history (free tier, Pro from $50 a month)
  3. What you can do with it

    • Add a chat panel to a SaaS app
    • Show tool calls and approval steps in an agent UI
    • Swap AI backends without rewriting the interface

More like this

See all 227 resources