iOS scenario demo
Run four complete AvatarKit scenes on an iOS device. Current demo integration: Agora Convo AI.
Prerequisites
- macOS with Xcode and XcodeGen
- A physical iOS device; AvatarKit and Agora do not include simulator slices in this demo
- Python 3
- Spatius API Key and App ID from Spatius Studio
- Agora App ID, App Certificate, and published Agent Pipeline ID
Run it
1
Clone and start the shared backend
TRANSPORT=agora and fill the Spatius and Agora credentials in .env. Follow the backend README to align the ASR resource IDs and TTS sample rate with your published Agora agent, then start the backend:2
Generate and open the iOS project
In a second terminal:
3
Run a scene
Build to a connected iOS device. On the config screen, enter the backend LAN address, confirm the credentials, and choose a scene.

