Web scenario demo
Run four complete avatar scenes in the browser.
livekit to run the conversation through LiveKit Agents on your machine, or agora to use Agora Convo AI.
Prerequisites
- Python 3 and Node.js with pnpm
- Spatius API Key and App ID from Spatius Studio
- One realtime provider:
- LiveKit URL, API Key, and API Secret from LiveKit Cloud
- Or Agora App ID, App Certificate, and published Agent Pipeline ID
Run it
1
Clone the scenario demo
2
Configure the shared backend
.env, set TRANSPORT=livekit or TRANSPORT=agora, then fill the Spatius and matching provider credentials. The backend README lists every field. For Agora, also follow its required ASR resource-ID and TTS sample-rate setup.3
Start the backend
8787 and starts the LiveKit agent worker automatically when TRANSPORT=livekit.4
Start the Web client
In a second terminal:Open
http://localhost:5180/spatius-scenario-demo/, confirm the backend configuration, then choose a scene.
