Plugins
Extend MultiVibe with lifecycle plugins, and understand the sandbox before you install one.
On this page
Plugins let you validate, transform or answer inference requests at defined request and response hooks. They are the supported extension point when you want new behavior without forking the gateway.
#What a plugin can do
A lifecycle plugin can:
- inspect or transform an incoming request;
- inspect or transform a response;
- provide a model service or a virtual route;
- store private state through
context.storage, backed by SQLite; - register settings and completion telemetry;
- respond to the supported lifecycle hooks.
The plugin API is documented in the repository: Plugin API reference.
#Install a plugin
- Open Plugins in the dashboard.
- Paste the public GitHub repository URL, or choose a listing from the catalog.
- Review the pinned commit and the declared hooks.
- Install, then restart when the dashboard asks for it.
- Enable the plugin and review its settings.
Code installs and updates require a restart. Enable and disable actions apply to new requests.
Installs are pinned to a commit and never update automatically. Fetching an update is explicit; review its diff before applying it.
#The execution model
Installed plugins run in separate QuickJS WASM heaps, not in the Node host process. They do not receive the filesystem, arbitrary network access, native addons or process APIs. There is no unrestricted fallback.
- Private persistence goes through
context.storage. - Inference goes through the configured
servicesbroker, not a direct provider call. - Settings pages are declared through the manifest and rendered by the host.
- The admin view reports
execution: "wasm-sandbox"for installed code andhost-builtinfor modules shipped with the release.
The sandbox reduces the blast radius. It does not replace a code review: installs are public code pinned to a commit, so read the repository and review every update before applying it.
The bundled Security plugin and built-in audio modules are host-builtin; they ship with the release and are not third-party installs.
#The bundled Security plugin
The Security plugin is part of the release and is enabled by default. It provides reversible, session-scoped pseudonymization before prompt content leaves MultiVibe.
Review its settings if your threat model includes prompt content leaving the instance.
#Remove a plugin
- Disable the plugin.
- Remove it while it is disabled.
- Restart if the dashboard asks for it.
Removing a plugin does not automatically delete data it stored. Review its storage and settings before removal.
#Build your own
Start from the plugin API reference and the example manifest. Plugins are versioned, declare their hooks and settings, and are installed from a public repository.