assistant-ui

35 mods across 3 repositories, 806 stars between them.

markdown

25

assistant-ui/skills

Skill Claude CodeCodex

Render and customize assistant message text as markdown in assistant-ui. Use when displaying model output as formatted markdown with MarkdownTextPrimitive from @assistant-ui/react-markdown wired into the MessagePrimitive.Parts text branch, configuring remarkPlugins (remark-gfm, remark-math) and rehypePlugins…

22 1mo ago A 166 tokens

observability

26

assistant-ui/skills

Skill Claude CodeCodex

Adds tracing, telemetry, and observability to an assistant-ui backend. Use when wiring an AI SDK route handler (streamText/generateText, toUIMessageStream, createUIMessageStreamResponse) to a tracing backend: Langfuse via OpenTelemetry (LangfuseSpanProcessor and NodeSDK in instrumentation.ts, experimentaltelemetry…

22 1mo ago A 237 tokens

primitives

27

assistant-ui/skills

Skill Claude CodeCodex

Builds and customizes assistant-ui chat UI from composable, unstyled @assistant-ui/react primitives that follow Radix-style part composition. Use when assembling or styling a custom Thread, Composer, message rendering, action bar, or branch picker from building blocks: ThreadPrimitive (.Root, .Viewport…

22 1mo ago A 313 tokens

react-mcp

28

assistant-ui/skills

Skill Claude CodeCodex

Lets end users add, authenticate, and manage MCP servers from the browser in assistant-ui apps with @assistant-ui/react-mcp. Use when building user-managed MCP server UIs: mounting McpManagerResource via useAui({ mcp }), declaring presets with defineConnector, dropping in McpConfigDialog, or composing…

22 1mo ago A 306 tokens

runtime

29

assistant-ui/skills

Skill Claude CodeCodex

Guide to the assistant-ui runtime system, single-thread state, and the imperative aui client API in @assistant-ui/react. Use when creating a runtime (useLocalRuntime with a ChatModelAdapter, useExternalStoreRuntime for Redux/Zustand, useRemoteThreadListRuntime, useAssistantTransportRuntime), wiring…

22 1mo ago A 292 tokens

setup

30

assistant-ui/skills

Skill Claude CodeCodex

Installs and configures assistant-ui in a project via the CLI, and picks the right runtime for a backend. Use for first-time install, scaffold, or config: npx assistant-ui@latest create my-app (templates default, minimal, cloud, cloud-clerk, langchain, mcp, eve), npx assistant-ui@latest init [--yes] [--overwrite] in…

22 1mo ago A 267 tokens

streaming

31

assistant-ui/skills

Skill Claude CodeCodex

Streaming backends and wire protocols for assistant-ui via the assistant-stream package. Use when building a custom (non-AI-SDK) streaming endpoint with createAssistantStreamResponse or createAssistantStreamController, emitting parts through appendText/appendReasoning/appendSource/appendFile/addToolCallPart and…

22 1mo ago A 191 tokens

thread-list

32

assistant-ui/skills

Skill Claude CodeCodex

Implements multi-thread (conversation history) management in assistant-ui apps: rendering the prebuilt ThreadList next to Thread, or building a custom sidebar with ThreadListPrimitive and ThreadListItemPrimitive (Root, New, Items, Trigger, Title, Archive, Unarchive, Delete). Covers thread CRUD through the…

22 1mo ago A 227 tokens

tools

33

assistant-ui/skills

Skill Claude CodeCodex

Registers LLM tools and renders custom tool-call UI in assistant-ui (@assistant-ui/react). Covers the current authoring model: a "use generative" file exporting defineToolkit({...}) that co-locates schema, execute, and render and is split across the client/server boundary by the build plugin (withAui from…

22 1mo ago A 293 tokens

update

34

assistant-ui/skills

Skill Claude CodeCodex

Upgrades an existing assistant-ui project to current releases and executes the resulting migrations. Use when the user wants to update, upgrade, bump, or migrate @assistant-ui/react, @assistant-ui/react-ai-sdk, ai, or @ai-sdk/react, hits peer-dependency conflicts or post-upgrade type errors, or must apply renamed APIs…

22 1mo ago A 297 tokens