All integrations
Chat framework

assistant-ui

Render streaming OpenUI programs as assistant-ui Tool UI while assistant-ui retains its conversation lifecycle.

Integration overview

How it connects to OpenUI

The @openuidev/assistant-ui toolkit registers display and human-input tools, generates matching model instructions, renders partial OpenUI Lang, and sends validated form actions back through assistant-ui's tool result flow.

The integration path

  1. 1

    Describe the interface

    Generate a component prompt from the same OpenUI library that will render the response.

  2. 2

    Stream structured output

    Let assistant-ui own its part of the stack while OpenUI Lang travels as incremental text or mapped agent events.

  3. 3

    Render and interact

    Parse the stream with the matching OpenUI runtime, render real components, and return validated actions to the application.

Start here

Install or scaffold

npm install @openuidev/assistant-ui @assistant-ui/react

What stays consistent

One schema for prompting and rendering
Progressive rendering while output streams
Typed components instead of arbitrary markup
Host application retains its runtime behavior