Stitch agent plugin for OpenBot.
- A plugin registry export (
plugin) compatible with OpenBot agent:invokehandler that calls Stitch's UI generation APIclient:ui:widget:responsehandler that captures an API key from the UI and persists it via OpenBot storage
This plugin has zero runtime dependencies — it talks to Stitch directly via fetch (Node 18+).
-
Install dev dependencies:
npm install -
Build:
npm run build -
Load
dist/index.jsfrom your OpenBot plugin registry/runtime.
Set an API key using one of the following:
STITCH_API_KEYenvironment variableapiKeyin plugin options- Provide the key through the in-app API key form (auto-shown when missing)
Optional:
STITCH_API_URLto override the API base URL (defaults tohttps://stitch.withgoogle.com/api)