Minnie

Minnie waltd -- AI Proxy Service

FastAPI waltd proxy -- Anthropic API shim to Kevin via Tailscale + HolonEnvelope + cost stats tray.

Minnie waltd -- AI Proxy Service (v2026-09-30T111632Z-5e473105f4) 2026-09-30 | FastAPI waltd proxy -- Anthropic API shim to Kevin via Tailscale + HolonEnvelope + cost stats tray. 1 - REQUEST HANDLING - processes incoming requests waltd.py GET /health GET /status POST /v1/messages POST /api/ai/dispatch KevinProxy dispatch _encrypt_prompt _compute_hmac HolonEnvelope job_id product task_type prompt request response 2 - TAILNET MANAGEMENT - manages Tailscale connection TailnetConnector connect _request_auth_key _tailscale_up config.yaml kevin_tailnet_ip tailscale_key auth key 3 - SYSTEM TRAY - provides status and control tray.py run_tray _fetch_status _build_menu_items pystray Icon Menu MenuItem Pillow Image ImageDraw status update menu items 1. Receive request 2. Parse request 3. Encrypt prompt 4. Sign envelope 5. Dispatch to Kevin 6. Fetch status 7. Update tray icon Request payload { "model": "claude-2", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Hello, how are you?" } ] } Response payload { "id": "msg_12345678-1234-5678-1234-567812345678", "type": "message", "role": "assistant", "content": [ { "type": "text", "text": "I am an AI assistant." } ], "model": "claude-2", "stop_reason": "end_turn", "usage": { "input_tokens": 10, "output_tokens": 20 }, "kevin_value": { "cost_usd": 0.01, "saved_usd": 0.005, "provider": "anthropic", "proxy": "minnie-waltd" } } The system tray icon is optional and depends on the availability of pystray and Pillow libraries. The KevinProxy class handles the encryption and signing of the request before sending it to Kevin. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-09-30 11:16 UTC, from commit 5e47310

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Minnie
Slug
minnie-waltd
Rendered
2026-09-30T111632Z
From commit
5e473105f4
Updated
30 Sep 2026, 11:16 UTC
Sources at
5e47310
Watches
5 paths
  • apps/minnie/waltd.py
  • apps/minnie/tray.py
  • apps/sibyl/daemon/kevin_proxy.py
  • apps/sibyl/daemon/tailnet_connector.py
  • apps/sibyl/ingestion/holon_envelope.py