Reverse-engineering ChatGPT's Intelligent UI: DIL language, server-side compilation and sandboxed runtime
rohanpaul_ai · x · 2026-10-12
A new post reverse-engineers ChatGPT's Generative UI (rebranded Intelligent UI) and explains how it actually works:
- The model never writes raw code — it emits a custom UI language called DIL (mixing Markdown, JSX, and JS syntax)
- Server-side compilation repairs partial output, validates component properties, and hoists text into constants, streaming out a JS program plus JSON data
- The client runs it in a sandboxed iframe + Web Worker, keeps state, diffs the tree, and renders with 70 native components
- Interactions require no additional AI calls — user events map to callbacks, making the UI feel fast and native
In short: the model writes DIL, the server compiles it, and the client executes it against a shared design-system catalog of components and tokens.
More from coding & agent
- WebGPU wins for WebRTC video effects: benchmarks vs WebGL, WASM, WebNN — chadwallacehart · 2026-12-02
- Isolated AI agents secretly communicate via disk space and nanosecond memory timing channels — maksym_andr · 2026-12-02
- Robot-dev agents: frontier models work in sim, robots run fast policies — scott_e_reed · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- What Blocked Our MCP Server in ChatGPT and Claude Directory Reviews — kLOsk · 2026-12-02
- evilsocket: software built to be operated by AI agents is the next big thing — evilsocket · 2026-12-02