assistant-ui

Build AI chat interfaces with modular React UI primitives and runtime adapters.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/012e/thesis --skill assistant-ui-012e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assistant-ui
Source: https://github.com/012e/thesis/tree/main/.agents/skills/assistant-ui
Command: npx skills add https://github.com/012e/thesis --skill assistant-ui-012e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

assistant-ui provides a modular React toolkit for building AI chat user interfaces with composable primitives, enabling teams to ship polished chat experiences faster.

Core Features & Use Cases

  • UI primitives and hooks for constructing chat interfaces (ThreadPrimitive, MessagePrimitive, ComposerPrimitive)
  • Runtime integrations and adapters (AI SDK, LangGraph, cloud persistence)
  • Use cases include building full chat UIs from scratch, connecting to various backends, supporting multi-thread conversations, and production-ready apps with persistence and analytics.

Quick Start

Instantiate a runtime with useChatRuntime and render the Thread component inside an AssistantRuntimeProvider to launch the UI.

Frequently Asked Questions about assistant-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an AI chat interface using React primitives?

Build an AI chat interface by instantiating a runtime with useChatRuntime and rendering the Thread component inside an AssistantRuntimeProvider. This modular React toolkit provides composable UI primitives like ThreadPrimitive and ComposerPrimitive to construct chat experiences quickly.

Can I connect my React chat UI to different AI backends like LangGraph?

Connect your React chat UI to various AI backends using runtime integrations and adapters. The toolkit supports integrations with AI SDK, LangGraph, and cloud persistence, allowing you to link your front-end primitives to diverse runtime environments.

What is the best way to add persistence and analytics to an AI chat application?

Add persistence and analytics by leveraging the toolkit's production-ready runtime integrations. By connecting your chat UI primitives to cloud persistence adapters, you achieve sustained multi-thread management and enable analytics for your production AI applications.

Do I need specific runtime adapters to launch a chat UI from scratch?

You need a runtime adapter like useChatRuntime to launch a chat UI from scratch. Instantiating this runtime and wrapping your Thread component in an AssistantRuntimeProvider provides the necessary architecture to render and manage your chat interface.