a2ui

Routes A2UI JSON through validated tool calls for Gemini Enterprise.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Pyl-Tech/stream-coding --skill a2ui-pyl-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a2ui
Source: https://github.com/Pyl-Tech/stream-coding/tree/main/.agents/skills/a2ui
Command: npx skills add https://github.com/Pyl-Tech/stream-coding --skill a2ui-pyl-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents Gemini Enterprise agents from producing A2UI outputs that fail to render by enforcing the correct A2UI v0.8 integration path and tool-driven delivery of UI JSON as A2A structured parts.

Core Features & Use Cases

  • Gemini Enterprise A2UI v0.8 Guardrail: Forces the correct A2UI version so GE does not silently ignore the UI payload.
  • Toolset-Based A2UI Injection and Validation: Uses SendA2uiToClientToolset to inject the A2UI schema, validate LLM-generated A2UI JSON against the v0.8 catalog, and convert results into A2A DataParts with mimeType application/json+a2ui.
  • Required GE Rendering Configuration: Ensures A2A rendering by wiring A2uiEventConverter into A2aAgentExecutorConfig and setting deployment metadata with is_a2a: True.

Quick Start

Tell your agent to use the send_a2ui_json_to_client tool to display the UI, while initializing SendA2uiToClientToolset with VERSION_0_8 and configuring A2uiEventConverter for A2A execution.

Frequently Asked Questions about a2ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my A2UI component fail to render in Gemini Enterprise?

A2UI components fail to render in Gemini Enterprise when the incorrect A2UI version is used or UI JSON is not delivered as A2A structured parts. You must use A2UI VERSION_0_8 and route output through SendA2uiToClientToolset to ensure proper delivery.

How do I render rich UI from LLM outputs in Gemini Enterprise?

To render rich UI in Gemini Enterprise, instruct your ADK agent to use the send_a2ui_json_to_client tool. This routes the LLM-generated UI JSON through SendA2uiToClientToolset for schema validation and converts it into A2A DataParts.

Does rendering A2UI in Gemini Enterprise require A2A execution configuration?

Yes, rendering A2UI requires configuring A2A execution by wiring A2uiEventConverter into A2aAgentExecutorConfig. You must also set deployment metadata with is_a2a: True to ensure the output is delivered with mimeType application/json+a2ui.

What is the purpose of SendA2uiToClientToolset in ADK agent workflows?

SendA2uiToClientToolset injects the A2UI schema, validates LLM-generated A2UI JSON against the v0.8 catalog, and converts results into A2A DataParts. It acts as a guardrail ensuring Gemini Enterprise does not silently ignore the UI payload.

Can I use a2ui to validate LLM-generated UI definitions before sending them to the client?

Yes, a2ui validates LLM-generated UI definitions by initializing SendA2uiToClientToolset with VERSION_0_8. This toolset validates the A2UI JSON against the A2uiCatalog before converting it into application/json+a2ui DataParts for delivery.