In One Chat, Three Clouds: An A2UI 1.0 Agent Mesh Over A2A on Google Cloud, AWS and Azure, xbill describes a currency chat that can ask one specialist or show answers from three cloud agents in the same turn. The example gives each cloud a distinct job, which makes it possible to check the routing decision independently of the card that eventually appears.
Check the requested job before rendering the card
The coordinator model chooses a job for a targeted request. A mapping in code sends rate lookups to Google Cloud, historical trends to AWS and currency comparisons to Azure. A separate tool sends a question to all three in parallel. The distinction matters for a question about the recent movement of an exchange rate. A current rate card could look perfectly plausible in the chat window even though it gives the reader no trend.
The test suite inspects the coordinator's tool call in the AG-UI event stream, examines which clouds actually answered and checks for structured A2UI output where the prompt calls for it. The author reports that all 100 local turns passed across ten prompts repeated ten times. The suite allows a plain-text answer to an unknown currency code and a refusal for an unrelated weather question. The result measures those routing and response expectations for this prompt set. Exchange-rate accuracy would require its own assertions.
Keep each agent's surface distinct
The shared A2A wrapper packages validated A2UI messages as structured data parts and adds reply text when available. It also includes metadata naming the cloud, framework and model. The browser reads this metadata for the answer label, so a reader can tell which agent reported producing each block.
All three agents use the same initial surface ID. When multiple answers arrive, the coordinator adds a cloud-specific prefix and a short random tag to keep their surfaces distinct inside the renderer. The companion repository documents that step alongside the routing table. For a fan-out test, that gives reviewers two concrete checks beyond seeing cards on screen. Each expected agent should appear in the response, and updating one surface should leave the others intact.