# Technical Architecture

* WebGL client runtime powered by Three.js (voxel renderer)
* Edge first: MCP deploys Qwen‑2.5 14B & Phi‑4 via Ollama in browser worker
* Real‑time comms: WebSocket bus with A2A & game RPC (full‑duplex)
* Modular AI stack: FunASR ASR ↔ switchable LLM ↔ CosyVoice/MegaTTS
* Security & privacy: on‑device PII filter, AES‑GCM encrypted channels
