# Beyond Walls of Text: Native Generative UI with A2UI 1.0 on Hanzo UI — Hanzo AI

> Since 2021, Hanzo built one cross-platform UI substrate. Google's A2UI 1.0 validates that exact architecture: declarative JSONL surfaces rendered by @hanzo/ui with zero-trust action context.

November 28, 20266 min read

Since 2021, Hanzo built one cross-platform UI substrate. Google's A2UI 1.0 standard validates that exact architecture: agents emit declarative JSONL surfaces rendered by your trusted @hanzo/ui catalog—no raw HTML, no eval, and zero-trust action context.

[Open Hanzo App](https://hanzo.app/chat)

[Open Hanzo App](https://hanzo.app/chat)

## Why walls of text break down

Modern agents can inspect a codebase, query a database, compare cloud deployments, and draft a migration plan. Then they collapse all of that structured state into six paragraphs of markdown and ask you to type back: option two, Tuesday at three, cap memory at sixteen gigabytes.

Teams tried two workarounds, and both failed in production. Hardcoded forms are safe, but they go stale the moment an agent encounters a workflow nobody anticipated. Letting a model emit raw HTML or JavaScript inside an iframe looks flexible in a demo, then collapses under security review: untrusted scripts, inconsistent styling, broken keyboard navigation, and zero connection to the host application's design system.

An agent should never invent DOM markup or execute arbitrary code just to ask a structured question. It should describe the interface declaratively and hand it to components you already audit and ship.

## One substrate since 2021

Since 2021, we built [ui.hanzo.ai](https://ui.hanzo.ai/) and [gui.hanzo.ai](https://gui.hanzo.ai/) around one architectural rule: one cross-platform substrate (`@hanzo/gui`), one canonical component library (`@hanzo/ui`), and one semantic token layer (`@hanzo/design`).

The original goal was straightforward: write a component once and run it identically across web, desktop, and native mobile without maintaining three parallel UI kits. That discipline paid an unexpected dividend the moment agents started needing interfaces. Because every `Card`, `Tabs`, `Slider`, `DateTimeInput`, `ChoicePicker`, `TextField`, and `Button` already obeys a strict, platform-agnostic contract, an agent can target that catalog directly—without ever touching raw HTML.

## How A2UI 1.0 works on the wire

Google's [A2UI 1.0](https://github.com/google/A2UI) specification formalizes that exact separation between layout declaration, data state, and executable code. Instead of streaming HTML or calling `eval`, an agent emits declarative JSONL messages (`createSurface`, `updateComponents`, `updateDataModel`, `deleteSurface`) referencing components from a trusted catalog (`https://hanzo.ai/a2ui/catalog/v1`).

Reactive two-way bindings use standard [RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901) JSON Pointers—for example `{ "@path": "/deploy/region" }` or `{ "@path": "/deploy/replicas" }`. When a user moves a slider or picks a date, the local surface model updates instantaneously and preserves those edits even while the agent streams additional components into the same surface.

Submission is zero-trust by construction. Every interactive button declares an explicit `action.event.context` map. When clicked, the renderer validates client-side `checks`, resolves only the pointers declared in `context`, blocks unsafe URI schemes (`javascript:`, `vbscript:`, `file:`), and sends a clean `a2ui.action` event back to the agent. Nothing outside the declared context ever leaves the client.

JSONL

```
{"version":"v1.0","createSurface":{"surfaceId":"release-gate","catalogId":"https://hanzo.ai/a2ui/catalog/v1"}}
{"version":"v1.0","updateDataModel":{"surfaceId":"release-gate","value":{"region":"us-west","canaryPct":10,"window":"2026-12-01T18:00Z"}}}
{"version":"v1.0","updateComponents":{"surfaceId":"release-gate","components":[
  {"id":"root","component":"Card","children":["region","canary","window","approve"]},
  {"id":"region","component":"ChoicePicker","label":"Region","value":{"@path":"/region"},"options":["us-west","us-east","eu-central"]},
  {"id":"canary","component":"Slider","label":"Canary traffic %","min":5,"max":100,"value":{"@path":"/canaryPct"}},
  {"id":"window","component":"DateTimeInput","label":"Rollout window","value":{"@path":"/window"}},
  {"id":"approve","component":"Button","label":"Approve rollout","action":{"event":{"name":"rollout.approve","context":{"region":{"@path":"/region"},"canaryPct":{"@path":"/canaryPct"},"window":{"@path":"/window"}}}}}
]}}
```

## Shipped live today: Hanzo UI, Gen, and Hanzo App

This is not a design mockup. Native A2UI 1.0 is live across our open-source packages and hosted workspace today.

**@hanzo/ui/a2ui (@hanzo/ui@8.35.0+):** splits pure TypeScript protocol parsing and RFC 6901 pointer resolution (`protocol.ts`, safe for servers, RSC, CLIs, and Node) from interactive React leaves (`<A2UISurface />` and `<A2UIWorkbench />`). Built-in `compileA2UIToJSX` compiles any validated A2UI surface deterministically into readable, type-checked `@hanzo/ui` TSX—no LLM round-trip required.

**hanzoai/gen:** exposes the native `render_ui` MCP tool in Rust. Every payload is validated against the Hanzo catalog before it reaches a client, returning structured error messages on malformed schemas so models self-correct immediately, and routing incoming `a2ui.action` events straight back into the active agent loop.

**hanzo.app:** renders A2UI 1.0 surfaces natively inside `/chat`, Deep Research, and `/dev`. Every surface opens in `<A2UIWorkbench />` so you can inspect the live JSONL stream, tweak bindings in place, view the compiled `@hanzo/ui` TSX, and Save, Load, or Run the interface inside your workspace—turning an ephemeral agent panel into production software you own.

- **@hanzo/gui**PrimitivesCross-platform layout and token engine for web, desktop, and native mobile.
- **@hanzo/ui/a2ui**RendererTrusted A2UI 1.0 catalog, Workbench inspector, and deterministic TSX compiler.
- **hanzoai/gen**HarnessNative render\_ui MCP tool with schema validation and a2ui.action event capture.
- **hanzo.app**WorkspaceLive surfaces across /chat, Deep Research, and /dev with workspace persistence.

## From chat to the Open Personal, Business, and Creative OS

Chat is only the first surface. Under **HIP-0504** (Unified Design System) and **HIP-1415** (Generative UI & A2UI 1.0 Protocol), this same `@hanzo/ui` and A2UI 1.0 contract extends natively across Hanzo's Personal OS, Business OS, and open beta Creative and Audio Suite—spanning Studio, Image, Film, Effects, Clips, Sound, and DJ (HIP-1406 through HIP-1413).

Whether an agent is helping you configure an approval workflow in Business OS, inspect a model evaluation in Deep Research, or build a custom parameter rack for audio and video production, it targets one open catalog with one security model. Interfaces stop being frozen artifacts shipped quarterly and become inspectable, compilable, user-owned surfaces generated on demand.

A2UI 1.0November 28, 2026

- **Hanzo GUI**SubstrateOne cross-platform rendering layer across web, desktop, and native mobile
- **Hanzo UI**CatalogNative A2UI 1.0 renderer, Workbench, and deterministic TSX compiler in @hanzo/ui@8.35.0+
- **Gen**Agent ToolValidated render\_ui MCP tool and incoming a2ui.action loop in hanzoai/gen
- **Hanzo App**Live SurfaceShipped today across /chat, Deep Research, and /dev with workspace Save, Load, and Run

- [Kai 1: Decisions, Not CompletionsKAI 1September 28, 20263 min read](https://hanzo.ai/blog/kai-decision-models)
- [A New Pareto FrontierHanzo GenOctober 18, 20263 min read](https://hanzo.ai/blog/pareto-frontier)
- [The Next Frontier Will Be SynthesisSynthesisOctober 18, 20265 min read](https://hanzo.ai/blog/synthesis)
- [Unfettered Intelligence: Local Hardware, Decentralized Compute, and the Open Personal & Business OSOpen IntelligenceNovember 28, 20267 min read](https://hanzo.ai/blog/unfettered-open-intelligence)

A2UI 1.0

## Build with native A2UI 1.0 today

[Open Hanzo App](https://hanzo.app/chat)

- [Hanzo UI](https://ui.hanzo.ai/)
- [Hanzo GUI](https://gui.hanzo.ai/)
- [Hanzo Gen](https://hanzo.ai/gen)
