About
OpenUI's official engineering write-up on why the team moved beyond JSON trees for Generative UI. It lays out the runtime requirements for interactive agent-generated interfaces, argues that nested JSON becomes fragile for stateful UI, and introduces OpenUI Lang as a streaming-first language for model-generated UI.
Summary
1. Interactive runtime focus: Targets state, live data, mutations, and follow-up edits
2. JSON tradeoff: Shows where schema-heavy JSON becomes hard for LLMs to maintain
3. Streaming-first language: OpenUI Lang is designed for progressive rendering and patching
4. Execution split: UI is generated once, then runs without sending every click back through the LLM
5. Implementation depth: One of the clearest primary-source explanations of a modern GenUI framework design