How it connects to OpenUI
The plugin gives the model a render_openui tool and returns a self-contained HTML response. A sandboxed iframe loads the OpenUI browser bundle and renders the generated program inline.
Integration steps
- 1
Install the tool
Import the plugin from the Open WebUI community site, or create a tool in Admin > Tools and paste in the plugin's tool.py.
- 2
Enable it for a model
Turn the tool on for the models or chats that should render UI. The model calls render_openui when an answer needs a chart, form, table, or card.
- 3
Choose where the bundle loads from
The cdn_base_url valve sets where the OpenUI browser bundle loads from. By default it is the latest @openuidev/browser-bundle on jsDelivr.