A2UI lets AI agents stream rich, interactive user interfaces—forms, cards, tabs, modals, sliders, date pickers, and dashboards—using safe declarative JSON instead of raw HTML or JavaScript.
PraisonAIUI ships built-in, end-to-end A2UI support across the React App Shell (style: app), Chat inline surfaces, Split Chat + Canvas, Full-Page Canvas, Artifacts viewer, and Legacy Dashboard (style: dashboard).
style: app
style: dashboard
| Capability | Status | Details |
|---|---|---|
| Protocol versions | Complete | v0.9 native, v0.10 compatible, automatic v0.8 → v0.9 upgrade (beginRendering, surfaceUpdate, dataModelUpdate) |
beginRendering
surfaceUpdate
dataModelUpdate
| Wire formats | Complete | JSON arrays, {"messages": [...]}, single message dicts, and JSONL (newline-delimited JSON) |
{"messages": [...]}
| Basic Catalog | All 18 components | Layout (Row, Column, List, Card, Tabs, Modal, Divider), Content (Text, Image, Icon, Video, AudioPlayer), Input (Button, TextField, CheckBox, ChoicePicker, Slider, DateTimeInput) |
Row
Column
List
Card
Tabs
Modal
Divider
Text
Image
Icon
Video
AudioPlayer
Button
TextField
CheckBox
ChoicePicker
Slider
DateTimeInput
| Client functions | All 14 functions | required, regex, length, numeric, email, formatString, formatNumber, formatCurrency, formatDate, pluralize, openUrl, and, or, not |
required
regex
length
numeric
email
formatString
formatNumber
formatCurrency
formatDate
pluralize
openUrl
and
or
not
| Reactive data model | Complete | updateDataModel, JSON Pointer { "path": "/..." } bindings, dynamic List templates, sendDataModel |
updateDataModel
{ "path": "/..." }
sendDataModel
| Lifecycle & actions | Complete | createSurface, updateComponents, updateDataModel, deleteSurface, and @aiui.surface_action round-trips |
createSurface
updateComponents
deleteSurface
@aiui.surface_action
| Capabilities discovery | Complete | GET /api/surfaces/capabilities & aiui surface capabilities |
GET /api/surfaces/capabilities
aiui surface capabilities
| Multi-surface | Complete | Try multiple surfaces on one page or across different pages (chat-canvas, canvas, @aiui.page) |
chat-canvas
canvas
@aiui.page
1. Step-by-Step Quickstart — Enable A2UI, push your first surface, and handle button clicks in 5 minutes.
2. Components & Functions — Copy-paste examples for all 18 Basic Catalog components and 14 client functions.
3. Data Binding & Actions — Connect live data models, two-way forms, validation checks, and action handlers.
4. Settings, Themes & Pages — Configure previews, themes, catalogs, custom renderers, same-page vs multi-page layouts, and v0.8 migration.
5. Interactive Response Examples — Live interactive simulations of every response type an agent can render from a chat prompt (KPIs, forms, approvals, charts, tables, pipelines, copyable snippets).
6. All-in-One Playground — Run and test every A2UI step, setting, and component on one page or across pages.