Valora

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.tsxuseLocalModel with a model picker
  • react-local-realtime.tsxuseLocalRealtime over an assembled local VoiceAgent
  • react-tts.tsxuseLocalTTS
  • react-vad.tsxuseVAD
  • react-voice-loop.tsx — mic → VAD → STT loop
  • ai-sdk.ts — the valora AI SDK provider, no server

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub