Use assistant-ui library components
assistant-uiskillsetup L2★135
compozy/agh ↗What it does
Build composable React AI chat UI with streaming and state management
Best for
When building AI chat interfaces with composable primitives and streaming backends, versus monolithic UI libraries.
Inputs
- · AI backend (AI SDK / LangGraph / custom)
- · chat messages JSON schema
Outputs
- · React components (Thread, Message, Composer)
- · runtime state hooks
Requires
- · React
- · @assistant-ui/react
- · Vercel AI SDK v6 (recommended)
Preconditions
React project initialized; backend API or SDK available; streaming protocol compatible
Failure modes
- · Custom streaming protocol requires custom runtime adapter
- · state management race on concurrent updates
- · cloud persistence requires authentication setup
Trust signals
- · llms.txt reference provided
- · architecture diagram with layered runtime
- · packages guide for adapter selection