In 30 seconds
A2UI lets an agent describe an interface assembled from a supplied catalog, which a client renderer displays on its own platform. Product manager Vishal Motwani argues that restricting an LLM to known components can make its output easier to evaluate than unrestricted text, though the combinations remain numerous. He recommends starting with a few high-value decisions, preserving familiar controls, and measuring whether the result helps. For simple predictable rules, he and host Aja Hammerly say an ordinary conditional may be enough.
- 1Complex trips expose the limits of a text-only answerMotwani describes a multi-city trip with different passenger counts and loyalty considerations. He wants options laid out so he can compare and select them instead of managing multiple tabs and typing every revision.
- 2Known components narrow what the model can outputMotwani argues that assembling existing components can be easier to test than unrestricted text because the response space is constrained, even though many combinations remain.
- 3The model describes a composition; the client renders itGiven a component catalog and user input, the agent outputs instructions for arranging components. A platform-specific renderer interprets those instructions.
- 4Start with a few high-value choices and measure their valueMotwani recommends a small number of flows, such as prominent warnings about fees or insurance, rather than replacing an entire interface at once.
- 5Preserve muscle memory while tailoring unusual tasksMotwani says familiar controls should stay predictable. The opportunity for generated composition is the long tail of trips, content requests and other situations that differ from the default path.
- 6A simple if-else rule can be better than another model callWhen Hammerly proposes progressively revealing controls to new users, Motwani notes that predictable rules can often be implemented with ordinary conditional logic.
Takeaways
- Start with three to five high-value situations where interactive controls make an agent’s intent easier to see.
- Keep familiar locations for common or critical actions; use dynamic composition where unusual tasks need tailored choices.
- A smaller component catalog constrains possible outputs, but its combinations still need evaluation.
- Use ordinary conditional logic when the rule is predictable and does not need an LLM.
Read the edited text by chapter
Why an agent might need more than text
A2UI aims to let agents present interactive controls instead of long text responses. A complex flight itinerary and a productivity agent’s buttons illustrate where that can help.
Vishal Motwani argues that a generative interface assembled from known components can be easier to test than a freeform language-model response. He wants agents to communicate through interactive interfaces as well as text, rather than returning users to the experience of working only in a terminal.
Aja Hammerly says many agents communicate in text even when the task would be easier with an interactive interface. Motwani explains that A2UI means agent-to-UI: the goal is to let an agent present things a person can click, compare or change instead of asking them to type every adjustment.
Motwani describes planning a trip from San Francisco via a wedding in Chicago to New York, then returning with his business partner. The itinerary involves different dates and passenger counts, plus airline status and credit-card points. He wants the agent to lay out comparable options, rather than leaving him to juggle several tabs and do the arithmetic himself.
Hammerly has a simpler example: a productivity agent asks how much energy she has and offers high, medium and low buttons to help choose her next task. She finds selecting an option faster than writing a text answer, and asks how developers can become comfortable with an interface that is not entirely deterministic.
A constrained catalog changes the testing problem
Motwani argues that assembling known components narrows the model’s possible outputs compared with freeform text. Developers can supply their own low- and high-level components.
Motwani’s answer is that A2UI assembles an interface from existing components rather than generating every element from scratch. In his view, this narrows the model’s possible actions compared with unrestricted text and can make outputs easier to evaluate. Hammerly restates the argument; Motwani adds that the number of combinations can still be large.
The developer supplies a component catalog. In the flight example, it might contain one flight card for selecting an option and another for a confirmation screen. Motwani says the agent can arrange these predefined pieces around the particular trip and preferences.
Developers can also define their own components. Motwani distinguishes lower-level building blocks such as text and links from higher-level pieces such as a flight card, payment screen or date picker. A team can build the latter from the former and reuse existing interface work.
How composition reaches different clients
The agent describes how catalog components should be arranged, and a renderer on the client interprets that description. Motwani compares the approach to configuration-driven UI, with an LLM choosing the configuration.
Given the user’s request and the catalog, the agent chooses a composition and outputs a sequence describing how the components fit together. Motwani says A2UI provides a language for that description. A renderer in the client decodes the output and displays the resulting interface.
The same description can be interpreted by clients on a phone, website or watch, with each platform rendering the relevant component for its own surface. Motwani compares this with configuration-driven interfaces, which existed before LLMs; the new element is having a model choose the configuration.
Hammerly asks how a developer can build confidence through testing. Motwani recommends starting small: let the model choose among a few things while leaving the rest as text, then focus on interactions where a user really needs to notice a decision or warning.
Start with a few decisions that matter
Motwani recommends limiting early experiments to several high-value flows and measuring the benefit. He cites source selection and confirmation before a long-running job as useful interactions.
Examples include making an extra delivery fee or a choice about insurance visible rather than burying it in fine print. Motwani suggests selecting three to five valuable cases and measuring whether they help, instead of trying to prove that the approach works perfectly for every possible task.
Hammerly agrees with starting simple rather than rebuilding an entire application dynamically. She asks for successful examples, including cases where the product does not advertise that an agent is choosing part of the interface.
Motwani describes using Gemini’s notebook experience to choose sources rather than reading a long list in prose. Before a time-consuming video-generation job, he says, the system presents a prefilled form describing the planned output so the user can confirm or change it.
Balance personalized layouts with familiar controls
An agent can select the next type of item in a feed, but routine controls should not move unpredictably. Tailored composition is more useful for the long tail of less common tasks.
He also describes an unnamed social-media company experimenting with an agent that chooses whether the next feed item should be a quiz, product recommendation or more feed content. Hammerly observes that the agent is choosing both the next action and the type of interface that accompanies it.
Motwani cautions against disrupting muscle memory. People learn where common buttons are in apps they use regularly, so moving those controls every time can make the experience worse. Tailoring can be more useful for the long tail: unusual trips or content requests whose requirements vary from case to case.
Hammerly frames the design problem as a balance between predictable placement for familiar or critical actions and personalization for the particular task. Both recommend trying the interface and testing what works. Motwani says assembling known components can help with those less common cases.
Component assembly and generated code serve different needs
Motwani contrasts reusing known components for high-trust situations with generating a new visualization from scratch where mistakes are more tolerable. The speakers consider customer-service interfaces as a possible application.
Motwani contrasts component assembly with a different use case: visualizing code, package dependencies or architecture when the right component may not exist. He says Antigravity can generate code for a new visualization from scratch. He regards this as more tolerant of errors than situations where users need a high degree of trust in existing components.
Hammerly recalls work on a triage team that could not justify building a customization for a path used only a few times. She sees agent-driven assembly as a way to offer tailored interfaces for such edge cases, provided the agent has the necessary information and guidance.
Motwani suggests a customer-service use case. A representative often has to retrieve information in steps even after a customer has explained the problem. An interface assembled around that request could bring the relevant details together, reducing repeated questions and searches through separate systems.
Try the protocol, but do not replace every conditional
Motwani suggests trying A2UI with an existing component catalog and a coding agent. When Hammerly imagines adapting an interface to a user’s experience, he notes that straightforward rules may not require an LLM.
For a first experiment, Motwani points developers to a2ui.org or suggests asking a coding agent to use A2UI with a list of the components already available. Hammerly says she wants to try building a more substantial application with it.
Drawing on her experience with children’s math software, Hammerly asks whether an agent could show fewer controls to a beginner and more to an experienced user. Motwani says information about the user can be supplied as context for the model when it chooses an interface.
Hammerly imagines gradually revealing components as someone becomes familiar with an app. Motwani agrees this is possible but cautions that having an LLM can make every problem look like a model problem. A simple if-else rule may already handle a predictable distinction such as whether a user is new.
Hammerly accepts the distinction: if a conditional is sufficient, an LLM may be unnecessary. She closes by contrasting problems suited to generative UI with those already handled by configuration-driven and responsive interfaces, and reiterates the starting points for trying A2UI.
More from this channel
12:35EN
22:12EN
27:31EN
16:07EN
27:24EN
10:21EN