Skip to content

Getting Started with Anvil Scribe

Anvil Scribe can be used in three ways that share one consistent workflow (Source + Notebook, History, Profiles, and Settings):

  1. Offline desktop studio (local synthetic fixture mode for exploring the UI or developing).
  2. Self-hosted full stack (desktop app and/or MemoMind One glasses connected to your own Scribe v3 backend + real-time STT/LLM router).
  3. Connected to an existing Anvil Serving gateway (point Scribe's router_url at your Anvil Serving router).

1. Run the Desktop App

Requires Rust (stable) and platform audio/GPU libraries (on macOS, Xcode Command Line Tools are enough):

cargo test
cargo run

The desktop app opens offline using built-in synthetic fixtures so you can try Compose, History, Profiles, and Settings immediately without any server.

2. Start the Standalone Scribe Backend + Real-Time Router

The fastest way to deploy the full backend is Docker Compose (deploy/docker-compose.yml), which runs both the real-time STT/LLM router and the Anvil Scribe v3 server with ffmpeg preinstalled:

  1. Copy router.example.toml and env.example into a private directory outside the repository (such as ~/.config/anvil-scribe/ with chmod 700 on the directory and chmod 600 on runtime.env).
  2. Edit ~/.config/anvil-scribe/router.toml to point at your OpenAI-compatible STT server (/v1/audio/transcriptions, such as Parakeet, Whisper, or Faster-Whisper) and LLM server (/v1/chat/completions, such as Ollama, vLLM, or llama.cpp), and generate strong random tokens for runtime.env:
    openssl rand -hex 32
    
  3. Launch the stack:
    SCRIBE_ROUTER_CONFIG=~/.config/anvil-scribe/router.toml \
      docker compose -f deploy/docker-compose.yml --env-file ~/.config/anvil-scribe/runtime.env up --build -d
    
  4. Verify health on loopback:
    curl -sS http://127.0.0.1:8790/healthz
    

For native (non-Docker) Python execution, HTTPS/TLS with Caddy, or Tailscale Serve, see Deployment Guide.

3. Connect Your Clients

Desktop App

  1. Open Settings (⌘, on macOS or Ctrl+, on Linux/Windows) -> General.
  2. Switch the mode to Anvil Scribe server and enter your Server URL (http://127.0.0.1:8790 locally or https://scribe.example.test over TLS).
  3. If using Bearer authentication, enter a non-secret Auth key reference (for example keychain:scribe), click Keychain…, paste your SCRIBE_CLIENT_TOKEN, and click Save to Keychain.
  4. Click Connect.

MemoMind One Smart Glasses

See MemoMind Plugin Guide to install MemoMind's PhoneSDK bundle locally, load the plugin in MemoMind Plugin Studio, and connect it in Settings.