What Works in Browser
What’s Node-only
Key Persistence in Browser
Key persistence auto-detects the best available backend: IndexedDB (preferred) → localStorage (fallback) → memory (last resort)Storage Adapters in Browser
Agent LLM Adapters in Browser
Both built-in adapters work in browser environments since they use HTTP-based APIs:ESM Dynamic Loading in Browser
TheApp.esm() API works in browser environments with these differences:
- Cache: Memory-only (no disk persistence). Bundles are stored in an in-memory
Map. - Module evaluation: Bundles are evaluated via
Blob+URL.createObjectURLinstead of writing to the file system. - Same API: No code changes needed — the environment is auto-detected.
Crypto Operations
All@frontmcp/utils crypto functions use the WebCrypto API in browser and node:crypto in Node.js: