Anvil Agent
Self-hosted voice agent gateway, MCP memomind_glasses bridge, real-time STT/LLM router, and MemoMind One smart-glasses plugin.
Speak or type from your MemoMind One smart glasses to any self-hosted AI agent — Hermes, Pi, or any OpenAI-compatible LLM (Ollama, vLLM, SGLang, llama.cpp, OpenAI) — and let your agents send notifications, teleprompter pages, live captions, or quick questions back to your glasses HUD over MCP (POST /mcp).
Components¶
| Component | Stack | Role |
|---|---|---|
Anvil Agent Gateway (:8792) |
Python 3.11+ stdlib + ffmpeg |
Stateless voice & text turn relay (/v1/agent/turn), ephemeral live-caption previews (/v1/memos/preview), glasses event ring (/v1/glasses/*), and Streamable HTTP MCP (POST /mcp) exposing memomind_glasses. |
Real-Time Capability Router (:8000) |
Python 3.11+ stdlib | Serving-engine-agnostic explicit router for /v1/audio/transcriptions (supporting both OpenAI multipart and JSON STT envelopes) and /v1/chat/completions, with zero hidden fallback. |
| MemoMind One Plugin | HTML / CSS / ES Modules (0.3.0) |
Offline-by-default smart-glasses plugin (GM Web Bridge v2) with push-to-talk, agent switching, live captions, teleprompter paging, HUD notification cards, and session-only API keys by default. |
Screenshots¶
| Ready & Agent Switcher | Conversation & MCP Notify | Settings |
|---|---|---|
![]() |
![]() |
![]() |
Where to Start¶
- Getting Started — Launch the Docker Compose stack, install the MemoMind One plugin, and connect your first MCP client.
- Deployment Guide — Docker Compose, built-in Caddy HTTPS, bare-metal Python, Tailscale Serve, Hermes/Pi backends, and Anvil Serving router integration.
- MemoMind Plugin Guide — Install your local MemoMind PhoneSDK bundle, run in Plugin Studio, build
.mmpkg, and learn button gestures. - MCP Glasses Control — Connect Hermes, Pi, Claude Code, or Codex to
POST /mcpand driveNOTIFY,TP,LS,RC,MR,ASK, andSTATUS. - API & Routing Reference — Complete HTTP API and real-time capability router specification.


