Examples
Runnable example apps that compose the Valora packages.
The repo ships runnable examples under examples/.
teams-react — Teams-style local call
A complete Teams-style call screen built entirely from the @valora-ai/react
room/participant surface, running a fully local voice assistant — no server,
no mocks. Silero VAD → Moonshine STT → LFM2.5 WebGPU LLM → Kokoro TTS, built
with createVoiceAgent and passed directly to @valora-ai/react's VoiceRoom.
cd examples/teams-react
npm install
npm run serve # builds + serves; open the printed URL (WebGPU required)First load downloads the models (progress shown), then speak or type and Valora replies with real on-device inference + speech.
Snippet examples
Smaller single-file React examples live in
examples/:
react-chat.tsx—useLocalModelwith a model pickerreact-local-realtime.tsx—useLocalRealtimeover an assembled localVoiceAgentreact-tts.tsx—useLocalTTSreact-vad.tsx—useVADreact-voice-loop.tsx— mic → VAD → STT loopai-sdk.ts— thevaloraAI SDK provider, no server