← All posts
The A2UI Protocol: How Agents Can Build and Modify Their Own Dashboards
TUTORIALSMarch 17, 2026· 4 min read

The A2UI Protocol: How Agents Can Build and Modify Their Own Dashboards

By Karsten Wade
# The A2UI Protocol: How Agents Can Build and Modify Their Own Dashboards We have reached the end of the "Sidecar Era" for AI. For the past few years, we have been content to let our agents live in a thin strip of real estate on the right side of our screens. We chat, they respond, and occasionally they might trigger a pre-defined "tool" that we, the developers, have meticulously hard-coded into the interface. But as any distinguished engineer will tell you, a hard-coded interface is a brittle interface. If we want true agentic autonomy, we must give our agents the keys to the workshop. We invite you to consider a different architecture: one where the agent isn't just a passenger in your app, but a fellow builder at the workbench. This is the promise of the A2UI (Agent-to-User Interface) protocol. It is the declarative jig that allows an agent to manifest its own dashboard, modify its tools on the fly, and create "throwaway apps" that evaporate the moment the task is complete. ## From Static Maps to Living Workbenches In traditional software development, we build static maps. We define every button, every chart, and every layout long before the user ever logs in. But agents operate in a state of constant discovery. An agent might start a task needing a simple data table, but ten minutes later, it realizes it needs a three-dimensional visualization of a vector space to explain a specific insight. If we haven't pre-built that visualization component, the agent is stuck. A2UI solves this by moving the responsibility of UI _intent_ to the agent while keeping UI _implementation_ safely in the hands of the client. Using the `@ainative/ai-kit-a2ui-core` library, the agent sends a declarative JSON payload that describes the structure it needs. It doesn't send raw JavaScript (which would be a security nightmare); it sends a blueprint. ## The Architecture of a Dashboard Surface The core of the A2UI protocol is the _Surface_. Think of a surface as a designated claim in a prospecting field—a piece of the UI where the agent has the authority to render and update components. When an agent "claims" a surface, it can begin to populate it with a catalog of vetted components, from simple buttons to complex video players. ```text +-------------------+ A2UI (JSON) +-----------------------+ | | ---------------------> | | | AI Agent | | A2UI Controller | | (Intent Engine) | <--------------------- | (Registry & State) | | | Bidirectional | | +-------------------+ Sync +-----------------------+ | | Renders into V +--------------------------+ | | | A2UI Surface | | (Dashboards / Widgets) | | | +--------------------------+ ``` (Prompt for image generation: A technical blueprint showing a bidirectional flow between an "AI Agent" and an "A2UI Controller". The controller maps JSON intent to a "Surface" containing modular dashboard widgets like charts, tables, and buttons. Style: Industrial, schematic, high-contrast.) ## Modifying the Stream in Real-Time What makes A2UI truly "AI-native" is its use of JSON Pointer (RFC 6901) for state manipulation. An agent doesn't just "re-render" the whole dashboard every time something changes. Instead, it can surgically update a single value in a chart or add a new row to a table by pointing to the specific location in the UI state tree. This allows for a level of fluidity that feels more like organic growth than software execution. We call this _Vibe Engineering_ at its most functional level. The agent senses the need for a change, identifies the coordinates in the A2UI stream, and "prunes" or "grafts" the interface to match its new reasoning state. It is the snicker-snack of the vorpal blade against the jabberwock of static, legacy UI. ## The OpenClaw Connection and Throwaway Apps We are already seeing the first harvest of this approach in the OpenClaw community. Agents are now building "throwaway apps"—temporary, purpose-built interfaces that solve a single, complex problem. Perhaps you need to assay a massive dataset of astronomical observations. The agent doesn't just give you a link to a CSV; it builds a custom dashboard with filters, search bars, and a ZeroDB-powered semantic search widget. Once you have found the "vein of discovery" you were looking for, the dashboard can evaporate. It served its season. It was a perennial tool for an annual task. By using the A2UI protocol, we ensure that these ephemeral interfaces remain accessible, responsive, and, most importantly, secure. ## An Invitation to the Core We are still in the early seasons of the agentic web. The `@ainative/ai-kit-a2ui-core` repository is our shared greenhouse, and we invite you to help us cultivate it. Whether you are building in React, Svelte, or Flutter, the protocol remains the same. It is the common language of intent that allows our agents to finally step out of the sidecar and into the driver's seat. If you are ready to stop building apps and start building workbenches, the stream is waiting. Let's see what we can manifest, together. #AI #A2UI #AgenticUI #GenerativeUI #OpenSource #Workshop --- #AIAgents #SDKs #AI #Workshop #ZeroDB #Real-time
ZeroDBAI Development

Check your site's AX Score

Free scan, 6 categories, under 60 seconds. See how your site ranks on the agentic web.

Run a free audit →