Sources
Every fact about OpenUI in this course was checked in October 2026 against the OpenUI source and documentation, and against the installed packages by running their parser and prompt generator. Numbers about tokens and latency come from OpenUI's own benchmark, which is a vendor claim.
Two kinds of source
Primary
The OpenUI repository, its documentation and specification, and the published packages. Rely on these for how OpenUI works.
Practitioner
Notes and experiments from building with OpenUI, and comparisons written by projects about themselves. Useful for direction and gotchas, not proof.
Primary sources
Repository and packages
- thesysdev/openui on GitHub (MIT): the packages' source, the docs' source and the benchmark scripts
- @openuidev/lang-core 1.0.1: parser, streaming parser, prompt generation, runtime,
mergeStatements, buildMessage
- @openuidev/react-lang 1.0.1:
defineComponent, createLibrary, Renderer and its hooks
- @openuidev/react-ui 0.18.1: the stock component libraries and
AgentInterface
- @openuidev/react-headless 0.18.1: chat state,
fetchLLM, stream adapters and message formats
OpenUI Lang documentation
- Overview and Architecture (the library, prompt, parser, renderer loop)
- Specification 1.0 (entry rule, actions, stored messages, error codes), building on v0.5 and v0.1 (streaming and hoisting)
- Syntax, Functions and What's new in 1.0
- Defining components and System prompts
- The Renderer, Interactivity and Troubleshooting
- Reactive state, Queries and mutations, Actions and Patterns
- Incremental editing and Message protocol
- Reliability and Telemetry
Agents, chat and production
Related protocols
- MCP Apps, the Model Context Protocol extension for interfaces served as
ui:// resources
- AG-UI, the agent-to-frontend event protocol OpenUI's chat uses internally
- json-render and A2UI, the JSON spec approaches compared in the first lesson
Practitioner sources
- This course's own code (
openui/ in this repository): offline Node labs that run the real @openuidev/lang-core parser and prompt generator, and the reference snippets (components, Renderer wiring, tools, chat) shown in the lesson code boxes. The recorded responses the simulator replays come from the same examples.
- OpenUI vs A2UI vs json-render vs OpenGenerativeUI: OpenUI's own comparison of the alternatives
Vendor claims
The token and latency numbers in this course come from OpenUI's own benchmark: seven scenarios generated once by one model at temperature 0 as OpenUI Lang, with the other formats converted from that same output rather than generated by a model, counted with one tokenizer, and latency estimated from token counts at a constant 60 tokens per second. The comparison page above is written by OpenUI about its competitors. Lessons label these figures as OpenUI's claims; measure on your own components and model before relying on them.