How it connects to OpenUI
@lynx-js/genui/openui incrementally parses OpenUI Lang, maps registered expressions to ReactLynx components, and renders them through Lynx's native pipeline while the host application owns its component definitions, tools, and actions.
The integration path
- 1
Describe the interface
Generate a component prompt from the same OpenUI library that will render the response.
- 2
Stream structured output
Let Lynx own its part of the stack while OpenUI Lang travels as incremental text or mapped agent events.
- 3
Render and interact
Parse the stream with the matching OpenUI runtime, render real components, and return validated actions to the application.
Start here
Install or scaffold
npm install @lynx-js/genui @lynx-js/react @lynx-js/lynx-ui