@meetopenbot/stitch
v0.0.2
Published
Stitch agent plugin for OpenBot
Readme
openbot-plugin-stitch
Stitch agent plugin for OpenBot.
What is included
- 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+).
Local usage
Install dev dependencies:
npm installBuild:
npm run buildLoad
dist/index.jsfrom your OpenBot plugin registry/runtime.
Runtime config
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)
