Skip to main content
Quickstarts are the shortest path from credentials to a visible speaking avatar. This section includes Direct Mode SDK quickstarts and the LiveKit Agents Integration quickstart. Use a Direct Mode quickstart when your app connects the client SDK directly to Motion Server with a Session Token. Use the LiveKit Agents quickstart when you want the fastest packaged Web voice-agent path with LiveKit Agents, Gemini Live, livekit-plugins-spatius, and the Web RTC Adapter. For Agora Convo AI setup, see Agora Convo AI Integration.

Fastest first demo by path

PathFastest first-run targetWhy start there
Direct ModeWeb SDK quickstartLowest setup surface: App ID, Avatar ID, Session Token, sample PCM audio, and browser rendering.
LiveKit Agents IntegrationLiveKit Agents quickstartPackaged Web voice-agent path with LiveKit room setup, Gemini Live, livekit-plugins-spatius, and RTC rendering.
Agora Convo AI IntegrationConvo AI Agent setup plus Agora client setupBest when you already use Agora Convo AI or TEN Framework; no packaged quickstart lives in this section yet.
Backend ModeBackend Mode demosBest after you understand the Server SDK and transport responsibilities; it is not a smallest-first quickstart.
For a full effort comparison, see Choose Your Integration Path.

Direct Mode and token servers

Direct Mode clients connect to Motion Server themselves. They still need a short-lived Session Token, but that token must be issued by backend code because issuing it requires your SPATIUS_API_KEY. That backend code is only a token endpoint. It is not a Backend Mode runtime server: it does not run ASR, LLM, or TTS; it does not connect to Motion Server; and it does not relay audio or motion data. The Direct Mode demos include token-server examples only to show how to exchange your server-side API Key for a client-safe Session Token.
Server-shaped codeUsed byResponsibility
Token endpointDirect ModeMint short-lived Session Tokens for clients.
Runtime serverBackend ModeOwn ASR / LLM / TTS, connect to Motion Server with the Server SDK, and deliver encoded audio payloads + motion data payloads to clients.

Direct Mode SDK quickstarts

PlatformQuickstartWhat it proves
WebWeb SDKApp ID, Avatar ID, Session Token, sample PCM audio, optional browser realtime conversation, and local rendering.
iOSiOS SDKNative iOS AvatarKit setup with runtime Session Token.
AndroidAndroid SDKNative Android AvatarKit setup with runtime Session Token.
FlutterFlutter SDKFlutter AvatarKit setup on iOS or Android with runtime Session Token.

Platform integration quickstarts

Platform integrationQuickstartWhat it proves
LiveKit AgentsLiveKit AgentsLiveKit room setup, Gemini Live voice agent, livekit-plugins-spatius, Web RTC Adapter rendering, and microphone flow.

Next steps

Browse all demos

Every runnable demo by platform and integration path.

Choose your integration path

Compare latency, production ownership, and developer effort.