VoicePipeline + VoiceAgent for continuous listen-process-respond without manual button presses.TextGeneration.generateStream()) processes your transcript token-by-token, showing results in real-time. StructuredOutput.extractJson() validates the extraction format. All domain categories are visible — click + ADD on any category to manually add findings.TextGeneration.generateStream(). StructuredOutput.extractJson() validates extraction format. Advanced sampling with topK, topP, temperature, and stopSequences.VoicePipeline + VoiceAgent. Continuous listen → process → respond loop. No button presses needed — speak and the AI extracts intelligence automatically.findSimilar(). Find intelligence by meaning, not just keywords.| Component | Technology | Purpose |
|---|---|---|
| Framework | React 19 + TypeScript 5.9 (strict) | UI rendering and state management |
| Build Tool | Vite 7 + ESLint 10 | Development server, bundling, code quality |
| AI SDK (core) | @runanywhere/web v0.1.0-beta.9 | ModelManager, EventBus, OPFSStorage, VoicePipeline, VoiceAgent, SDKLogger |
| AI SDK (LLM) | @runanywhere/web-llamacpp | Streaming LLM, StructuredOutput, ToolCalling, Embeddings |
| AI SDK (Audio) | @runanywhere/web-onnx | STT (Whisper), TTS (Piper), VAD (Silero), AudioCapture, AudioPlayback |
| LLM Models | Gemma 3 1B / Qwen2.5 0.5B / SmolLM2 135M | 3-tier model selection for all device capabilities |
| STT | Whisper Tiny English (ONNX) + Web Speech API | On-device speech-to-text with browser fallback |
| VAD | Silero VAD (ONNX, ~2.3 MB) | Real-time voice activity detection |
| TTS | Piper (Lessac, ONNX, ~64 MB) | On-device text-to-speech for voice feedback |
| Encryption | AES-256-GCM + HKDF + PBKDF2 (600K iter) | Per-case encryption via WebCrypto API |
| Auth | WebAuthn + PRF extension | Biometric auth (Windows Hello / Touch ID / Face ID) |
| PDF Export | jsPDF 4.2 | Domain PDFs: Sanjeevani, Kavach, Nyaaya, Prahari |
| Desktop | Electron 35 + electron-builder | Cross-platform desktop with GPU acceleration |
| Fallback | Keyword Extraction Engine | Instant regex-based intelligence extraction |
| Offline | vite-plugin-pwa + Workbox | Full offline PWA with service worker caching |
| Testing | Vitest 4 + Testing Library | 231 tests across 18 files |