Shiny Controls 2.5 ships AgentView, which renders any AG-UI agent stream, and A2UISurfaceView, which draws the UI an agent describes with real Shiny controls on both .NET MAUI and Blazor. It replaces the hand-built pile of tool cards, approval buttons and unreadable markdown tables that every chat screen accumulates.
Key points
- AgentView takes an IAgentSession and never touches an HttpClient, model or API key; it only draws the AG-UI event stream.
- Six built-in frontend tools — confirm, choose_one, choose_many, pick_date, pick_date_range, ask_text — open real inline controls.
- A2UISurfaceView renders the whole A2UI v1.0 basic catalog plus Shiny components such as DataGrid, Gauge, DateRangePicker and Timeline.
- Components the app did not register render as an "unsupported component" placeholder and report VALIDATION_FAILED back to the agent.
- AGUI.Server converts any IChatClient stream into AG-UI events without ASP.NET Core, so a real model can run inside a Blazor WebAssembly tab.
- A trimmed WebAssembly build needs TrimmerRootAssembly for AGUI.Abstractions or interrupt content types fail on every run via reflection.
Real-world use
- A dashboard chat that shows sales figures in a real DataGrid instead of a 40-row markdown table
- A booking assistant that asks for travel dates through a calendar rather than free text
- An agent that requests approval through an AG-UI interrupt before a destructive action
- A Blazor WebAssembly sample running a real model in the tab with the user's own OpenAI-compatible key
This summary was generated by the agent from the original post on Allan Ritchie (Shiny). The full text and all rights belong to its author and publisher. Go to original