Skip to content

MemoMind One Smart-Glasses Plugin

The memomind/ directory contains the Anvil Agent (0.3.0) Web plugin for MemoMind One smart glasses (GM Web Bridge v2). It provides push-to-talk voice turns, typed questions, multi-agent switching, live captions, HUD teleprompter paging, and real-time MCP memomind_glasses cards.

Screenshots

Ready & Agent Switcher Conversation & MCP Notify Settings
Ready view Conversation view Settings view

Prerequisites (MemoMind PhoneSDK)

Per MemoMind's Open Platform Terms, MemoMind's proprietary Web SDK (gm-plugin-web-sdk.esm.js) is not committed to this public repository.

  1. Obtain MemoMind's plugin-open-platform SDK (PhoneSDK) under your MemoMind developer account.
  2. Copy the standalone ESM SDK bundle into the git-ignored memomind/vendor/ directory using the setup script:
    node memomind/setup-sdk.mjs --sdk /path/to/plugin-open-platform/PhoneSDK
    
  3. Optionally build a clean .mmpkg package (stages only declared plugin runtime files into a temporary directory so setup-sdk.mjs is never packaged):
    node memomind/setup-sdk.mjs --sdk /path/to/plugin-open-platform/PhoneSDK --pack
    
    This outputs dist/anvil-agent-0.3.0.mmpkg (git-ignored).

Running in MemoMind Plugin Studio

  1. Run node memomind/setup-sdk.mjs --sdk <PhoneSDK> so memomind/vendor/gm-plugin-web-sdk.esm.js exists.
  2. Copy the runtime files (manifest.json, index.html, style.css, plugin.js, config.js, and vendor/) into your local PhoneSDK checkout's examples directory as anvil-agent (omit setup-sdk.mjs).
  3. Open your plugin-open-platform workspace in MemoMind Plugin Studio, select Anvil Agent, pair with GM Web Bridge v2, and sideload to your phone.

First-Time Configuration

The plugin starts offline by default and sends zero requests until configured:

  1. Tap Configure server (or the gear icon in the header).
  2. Enter your Agent server URL (https://... or loopback http://127.0.0.1:8792 for local Studio testing).
  3. Enter your optional Agent API key (Authorization: Bearer). Leave blank if authenticating via Tailscale Serve identity headers.
  4. Optionally enter a Default agent ID (must match an ID in agent.toml) and an optional separate Voice / STT server URL (optional) (used for RC/MR voice memo recording if you run Anvil Scribe separately; live captions and push-to-talk previews work against Anvil Agent directly).
  5. API keys default to session-only in memory and are wiped on pagehide or origin change. Check Remember API keys in app storage only if you want MemoMind's per-account gm.storage to persist them.
  6. Tap Test connection, then Save & connect.

Glasses Button Gestures

  • Press: Start or stop and send push-to-talk (except live captions); accept a pending ASK/LS/RC/MR agent request; advance to the next teleprompter page.
  • Double press: Dismiss the active HUD card; decline a pending agent request; go back a teleprompter page (ignored while recording or sending).
  • Hold: Cancel or stop an active recording or live captions; stop waiting on an in-flight turn; decline a pending request; close the teleprompter.