Documentation
Getting Started
Install the SDK, configure credentials, and verify your setup in under 5 minutes.
🚀create-xpectrum-app
Scaffold a full Next.js app with chat and voice demos in one command. npx create-xpectrum-app
💬Chat Module
Add AI-powered streaming chat to your app. Send messages, manage conversations, handle files.
🎙️Voice Module
Real-time AI voice calls with WebRTC. Transcription, mic control, agent speaking detection.
⚛️React Examples
Complete, copy-paste React components for chat and voice. Built with Vite + TypeScript.
▲Next.js Examples
Full Next.js App Router examples with environment variables, client components, and hooks.
🧩Widgets
Drop-in floating chat and voice widgets. Zero UI code needed — just configure and go.
📖API Reference
Every class, method, type, event, and config option documented in detail.
🔧Troubleshooting
Common errors, debugging tips, and solutions for known issues.