AI chat, in the terminal.

Thread, Composer, and Message primitives for Ink. The same runtime and adapters as the web SDK, rendered in ANSI.

Read the docs
~ assistant-ui · inklive
fig. 01a real Ink render loop — click and type

The setup

app.tsx · abridged from examples/with-react-ink

demo-agent ~/acme-app

model: assistant-ui · 2 messages · streaming

 

> what is assistant-ui?

 

A React library for AI chat

with the same runtime as the

web, rendered in ANSI:

## In the terminal

• markdown and tables

• syntax-highlighted code

• tool calls with live status

> search_docs · done

fig. 02what it renders

The primitives

19

ThreadThreadListThreadListItemMessageMessagePartComposerTextInputActionBarAttachmentBranchPickerChainOfThoughtChecklistDiffErrorLoadingQueueItemStatusBarSuggestionToolCall

Composable and unstyled — the web component model, adapted to rows, cells, and ANSI.

Built for Ink

React components, ANSI color, and terminal layout. Same component model as the web SDK.

ANSI markdown

Headings, tables, links, and syntax-highlighted code via @assistant-ui/react-ink-markdown.

Shared runtime

The same engine as the web and React Native SDKs. Tools and adapters carry over.