Generative UI
Agent can dynamically generate interfaces instead of text dialogue: forms to refine intent (all information gathered in one submission instead of ten rounds), data artifacts.
Artifact pattern: LLM generates SQL/visualization code, the system executes it directly, data goes from the database to the frontend bypassing the LLM – faster and more accurate than the model retelling thousands of lines.
Security: declarative protocols (A2UI) – agent outputs a JSON description of the interface, the client renders with trusted components; direct HTML generation carries XSS risk.
Related: Code as a meta-skill, Prompt injection