---
title: "Fast, reliable A2UI, with swappable inference formats"
description: "A2UI is an agent-optimized protocol for generative UI where agents describe interfaces from a client’s component catalog. Generating those descriptions directly as JSON constrained by a complex schema proved slow and error-prone for LLMs. This release introduces swappable inference formats, notably A2UI Express, which requires up to 3x fewer tokens to produce the same UI and reduces latency by up to 3x. For screens with predefined layouts, decision models like Jev can reduce layout decision latency by up to 80x by making structured decisions in 100-300ms instead of generating full JSON. The SDK generates the appropriate prompt instructions and compiler from the catalog schema, and the post benchmarks four formats on 51 tasks using Gemini 3.5 Flash, with Express performing well even without thinking."
---

# Fast, reliable A2UI, with swappable inference formats

[Google](https://yomu.fyi/company/google) · Vishal Motwani, Google A2UI Team · Oct 27, 2026

**Type:** Announcement

## Summary

A2UI is an agent-optimized protocol for generative UI where agents describe interfaces from a client’s component catalog. Generating those descriptions directly as JSON constrained by a complex schema proved slow and error-prone for LLMs. This release introduces swappable inference formats, notably A2UI Express, which requires up to 3x fewer tokens to produce the same UI and reduces latency by up to 3x. For screens with predefined layouts, decision models like Jev can reduce layout decision latency by up to 80x by making structured decisions in 100-300ms instead of generating full JSON. The SDK generates the appropriate prompt instructions and compiler from the catalog schema, and the post benchmarks four formats on 51 tasks using Gemini 3.5 Flash, with Express performing well even without thinking.

## Context

The A2UI protocol launched in December 2025; this post follows v0.9 from April 2026 and addresses customer feedback about generative UI latency.

## Approach / What changed

Users select an inference format when creating a generator in the SDK, which then generates format-specific prompt instructions and a compiler from the catalog schema. A2UI Express uses a Python-like syntax requiring up to 3x fewer tokens; decision models like Jev answer structured questions for predefined layouts. Both produce standard A2UI messages.

## Takeaways

- A2UI Express requires up to 3x fewer tokens than Direct JSON to produce the same UI, reducing latency by up to 3x, and works well even with thinking disabled.
- Decision models like Jev can answer layout questions in 100-300ms, providing calibrated probabilities, and can reduce latency by up to 80x for screens with predefined layouts.
- Inference formats are swappable: the SDK generates prompt instructions and a compiler from the catalog schema, allowing any format (Express, custom DSL, etc.) to be compatible with A2UI transports and renders.

## FAQ

### How does A2UI Express differ from Direct JSON generation?

Express writes one statement per line in a Python-like syntax with variable assignments and positional arguments. It requires up to 3x fewer tokens than Direct JSON for the same UI, and the SDK compiles it into standard A2UI JSON messages.

### When should I use a decision model like Jev instead of Express?

Use controlled generation with a decision model when your screens follow set, predefined layouts (e.g., settings pages, checkout). Jev answers multiple structured questions in one request in 100-300ms, faster than Express, but can only produce layouts its grammar describes.

### How do I start using A2UI Express in my agent?

Install the Python SDK (pip install a2ui-agent-sdk) or TypeScript SDK (npm install @a2ui/agent), pass ExpressFormatFactory() when creating the generator, and run the model with thinking off. Your catalog and renderers remain unchanged.

**Tags:** [A2UI](https://yomu.fyi/topic/a2ui), [AI Agents](https://yomu.fyi/topic/ai-agents), [Inference](https://yomu.fyi/topic/inference)

- Source: [Google](https://developers.googleblog.com/fast-reliable-a2ui)
- Source URL: https://developers.googleblog.com/fast-reliable-a2ui
- Ingested by Yomu: 2026-10-27T18:00:17.380Z

[Read original post](https://developers.googleblog.com/fast-reliable-a2ui)
