Ait-Dev-lab/surf-ai-sandbox
Iframe sandbox for Surf AI. Handles auth, voice, VAD, and model routing.
SUMMARY AI summary by gpt-5-mini
A secure iframe sandbox used by the Surf AI browser extension to isolate the extension from backend AI models. The sandbox receives commands from the extension via postMessage, manages authentication, processes audio, detects voice activity, and forwards requests to the Gateway. Who uses it: the Surf AI browser extension and service/Gateway components; extension developers and integrators. Key features: - Auth: receives JWTs, manages session tokens - Voice: energy-based VAD, push-to-talk, real-time voice mode - Audio: in-browser WebM→WAV conversion - Models: friendly model aliases routed at the Gateway - Streaming: SSE token-by-token responses - Security: ALLOWED_ORIGINS, Origin enforcement, session tokens - Message protocol: structured JSON messages (extension_command/response) - Build-time config; no hardcoded URLs.
Why this is classified AI-related
The AI relevance score checks four places for AI keywords and adds the weight of each one that matches. Full methodology
Total AI relevance score: 75 / 100
Owner
Dates
| Created on GitHub | 2026-05-15 |
| Last push | 2026-05-15 |
| First seen here | 2026-05-15 |
| Last fetched | 2026-08-19 16:16 |