⚠️ Legacy Overview - Please Use Agents SDK / Agents Streams
The Talks/Clips Streams (Live Streaming API) endpoints are a legacy feature.
While they remain supported for existing integrations, we highly encourage developers to use the newer Agents SDK or the Agents Streams going forward.
Why migrate?
- Better performance & lower latency
- Easier integration with the Agents SDK - no need to manage WebRTC and API calls manually
- Same core functionality (real-time video streaming) plus more:
- Real-time video responses from the LLM, enhanced with Knowledge and RAG.
- Advanced features like Fluent streaming + Interrupt (for Agents with V3 Pro Avatars) and upcoming capabilities
- Future-proof: all new features will be released only for Agents SDK / Agents Streams
- Same pricing as Talks/Clips Streams
👉 If you’re just getting started: skip this page and head to Agents SDK / Agents Streams
👉 If you need to maintain an existing Talks/Clips Streams integration, see the Legacy mapping below
to migrate smoothly.
Legacy mapping
If you’re migrating from the old Talks/Streams or Clips/Streams see the following mapping to transition smoothly:
| Legacy endpoint | Agents SDK equivalent | Agents Streams equivalent |
|---|---|---|
Create a new Stream
| agentManager.connect() | POST /agents/{agentId}/streams |
Start a WebRTC connection
| Handled by agentManager.connect() | POST /agents/{agentId}/streams/{streamId}/sdp |
Submit network information
| Handled by agentManager.connect() | POST /agents/{agentId}/streams/{streamId}/ice |
Text/Audio input → Avatar reply Create a talk stream
Create a clip stream
| agentManager.speak() | Create a video stream
|
LLM response → Avatar reply
| agentManager.chat() | Create a chat
Send a message to a Chat
|
Close stream
| agentManager.disconnect() | DELETE /agents/{agentId}/streams/{streamId} |
Note: Most WebRTC client code (SDP/ICE handlers, RTCPeerConnection wiring) is reusable from the previous demo repository.
You can still use that repository as a starting point - just update the API calls to the new Agents Streams endpoints.
Keep in mind that creating an Agent is a prerequisite before starting a stream.When using the SDK, all of this is handled for you through simple functions, making integration much easier.
