A2UI separates layout structure (updateComponents) from live data (updateDataModel). Agents can update values in place without resending the whole component tree.
updateComponents
updateDataModel
Bind any component property to a JSON Pointer path such as {"path": "/user/name"}:
{"path": "/user/name"}
Later, push only the changed field—the UI updates immediately:
Interactive components (TextField, CheckBox, ChoicePicker, Slider, DateTimeInput) write back to their bound data path as the user types or toggles.
TextField
CheckBox
ChoicePicker
Slider
DateTimeInput
Set send_data_model=True on createSurface so client actions can carry current form state back to the server:
send_data_model=True
createSurface
Render arrays of arbitrary length using a List template:
List
Attach checks to inputs using the built-in validation functions (required, email, regex, length, numeric):
checks
required
email
regex
length
numeric
When a user clicks an A2UI Button, PraisonAIUI posts to POST /api/surfaces/{surface_id}/action (and accepts /actions, v0.9 action, and v0.8 userAction envelopes).
Button
POST /api/surfaces/{surface_id}/action
/actions
action
userAction
Tear down a surface cleanly from Python or an agent: