For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /guide/genui/index.md.
This is the dev preview website. Check out the document at lynx-stack.dev

GenUI for Lynx

Lynx Stack provides four Generative UI integrations: A2UI, OpenUI, ReactLynx, and Lynx XML. A2UI and OpenUI keep generated output as data and render components trusted by the Lynx application. Lynx XML generates complete executable page artifacts using Vanilla Lynx.

Choose an integration

ComponentA2UIOpenUIReactLynxLynx XML
Output formatA2UI v0.9 messagesOpenUI Lang v0.5 assignmentsApp.tsx + App.cssStandalone .lynxml artifact
UI contractCatalogLibraryReactLynxVanilla Lynx and Element PAPI
Client inputIncremental protocol messagesAccumulated OpenUI textCompiled Web or Native bundleNormalized final artifact after any enabled transformation
Primary renderer<A2UI><OpenUiRenderer>Lynx hostLynx XML runtime
State and dataProtocol operations and client message store$variables, Query, Mutation, and Action statementsReact components and hooksModel-authored main-thread JavaScript
Best fitAgents and transports that speak A2UICompact declarative UI textComplete interactive React pagesComplete page artifacts with generated code and interactions

Choose the integration your Agent and host support. A2UI and OpenUI require matching component contracts on the prompt and renderer sides. Lynx XML needs a host that loads .lynxml artifacts, with matching prompt and transformation options. Use one format from generation to rendering for each generated surface.

ReactLynx generates App.tsx and App.css, compiles Web and Native bundles, and loads them in a Lynx host. It fits complete interactive pages authored with React components and hooks. Use @lynx-js/genui/reactlynx for the prompt, source validation, and Node.js compiler; your backend publishes the emitted assets.

Documentation

A2UI

OpenUI

ReactLynx

Lynx XML

Playground

Use the GenUI Playground to inspect the built-in A2UI and OpenUI component sets, or generate and preview ReactLynx pages and Lynx XML artifacts.

To build your own preview app with the hosted Web renderer and native Lynx bundles, follow Build a playground. The quick start uses the same A2UI messages for both previews, without compiling a renderer locally.