Documentation / Advanced

Extend Studio with plugins, file handlers, drawers, and icon packs

Build CLI, Stdio, sandboxed WASI (.wasm), Declarative UI tabs, filetype handlers, drawers, and SVG icon packs.

Plugin tiers and discovery

Studio loads .yaml/.json manifests from ~/.rippflow/agents/ (or $RIPPFLOW_AGENT_PLUGINS_DIR) and discovers local manifests in ~/.rippflow/plugins/. Tiers: CLI (cli), Stdio (rippflow-agent/v1 JSON/NDJSON), Wasm (wasm32-wasip1 via cached Wasmtime), and Declarative UI (type: ui / contributes).

shell
rippflow plugin list
rippflow plugin add path/to/plugin.yaml
rippflow plugin remove my-plugin

Declarative UI tabs (static, wasm://, plugin://)

Set contributes.tabs[].view to a .json file or dynamic wasm://<id>/<tab> / plugin://<id>/<tab>. Dynamic views receive action: "view" on stdin and emit DeclarativeUiSpec JSON (layout with MetricCard, charts, DagFlow, Table, Markdown, Image, Toolbar, Pager, Canvas, MediaPlayer).

json
{
  "version": "rippflow/ui-v1",
  "id": "local-ports.overview",
  "title": "Ports & Containers",
  "layout": {
    "type": "Container",
    "gap": 16,
    "children": [
      { "type": "MetricCard", "label": "Listening Ports", "value": "12", "status": "success" }
    ]
  }
}

Filetype handlers (contributes.fileHandlers)

Declare contributes.fileHandlers with extensions (e.g. pdf, docx, pptx, mp4), mimeTypes, and priority (default or option). Studio invokes open_file and interactive file_event (with persisted state) over stdio, wasm, or cli, rendering Tier 1 (Markdown, Image, Toolbar, Pager, Table) and Tier 2 (Canvas, MediaPlayer) GPUI surfaces.

yaml
id: doc-viewer
name: Document Viewer (PDF / DOCX / PPTX)
type: ui
binary: python3
transport: stdio
invoke:
  args:
    - doc_viewer.py
contributes:
  fileHandlers:
    - id: doc-viewer.documents
      displayName: Document Viewer (PDF / DOCX / PPTX)
      extensions: ["pdf", "docx", "pptx"]
      priority: default
      mode: readonly

Sidebar drawers and actions

Declare contributes.drawers with id, title, icon, optional view, and dataSource (command or watched file). Output JSON accepts sections[].items[] with action.type (open_tab, open_url, open_file, run_command).

yaml
contributes:
  drawers:
    - id: local-ports.drawer
      title: Local Ports & Containers
      icon: network
      type: list
      view: plugin://local-ports/overview
      dataSource:
        command: "python3 local_ports.py --drawer"

Icon packs and file-type overrides

Declare contributes.iconPacks with { id, name, path: "icons/" } containing <key>.svg files and optional icons.json aliases for Studio chrome and file-<ext> icons. rippflow-glyph is protected.

yaml
id: lucide-icons
name: Lucide Studio Icons
type: ui
contributes:
  iconPacks:
    - id: lucide-icons
      name: Lucide Icons (ISC)
      path: icons/

Examples and MCP tools

See rippflow-examples/plugins (doc-viewer, ollama, wasm-trace-lens, local-ports, lucide-icons). MCP tools: rippflow_list_plugins, rippflow_install_plugin, rippflow_remove_plugin, rippflow_mount_view.

shell
bash plugins/install.sh
Verified sources

Checked 2026-11-19.

    Let's talk

    Contact Rippflow

    Tell us about your workflows, deployment or pricing.

    We'll reply to your email.

    Search docs

    Search workflows, handlers and operations.