Beta: The Spatius integration for Agora Convo AI and TEN Framework is in beta.
Architecture
- The user joins an Agora channel and speaks to the Convo AI agent.
- The Convo AI agent runs the ASR, LLM, and TTS pipeline.
- The Spatius avatar provider opens a Spatius server session with Agora egress.
- Motion Server generates motion data from the agent audio and publishes synchronized audio + motion data to the Agora channel.
- The client joins the same Agora channel with
AgoraProviderand renders the avatar locally.
Client setup
Choose the client package for your platform:| Platform | Package | Provider |
|---|---|---|
| Web | @spatius/avatarkit-rtc with agora-rtc-sdk-ng | AgoraProvider |
| iOS | AvatarKitRTC from spatius-ai/avatarkit-ios-rtc | AgoraProvider |
| Android | ai.spatius:avatarkit-rtc | AgoraProvider |
Agora Convo AI Client
Install and connect Web, iOS, and Android clients.
Server setup
Choose the setup path that matches what you run:Convo AI Agent
Configure Spatius as
properties.avatar.vendor = "spatius" in the Convo AI start-agent request.TEN Extension
Use
spatius_avatar_python when you run a TEN Framework graph directly.Next steps
Convo AI Agent
Add Spatius to the Agora Convo AI start-agent payload.
TEN Extension
Configure
spatius_avatar_python inside a TEN Framework graph.Client
Render the avatar in your Web, iOS, or Android app with
AgoraProvider.