Explanation

Inside a Live Conversation

TL;DR: Your AI stack is one of three flows in a live conversation. Kaltura runs the other two. Plug yours in. The code below shows how.

import { Management, tools } from '@kaltura/intelligent-agents/management';

const kaltura = new Management({
  partnerId: process.env.AGENTIC_PARTNER_ID,
  adminSecret: process.env.AGENTIC_ADMIN_SECRET,
});
const { ks: adminKs } = await kaltura.sessions.createAdminToken();
const configId = 'YOUR_CONFIG_ID'; // from Getting Started: create-agent.mjs prints it

// Plug one of your APIs into the orchestration flow (swap in your own endpoint):
const { id: toolId } = await kaltura.tools.add(tools.api({
  name: 'get_exchange_rate',
  description: 'Fetch the latest exchange rates when the visitor asks about currency.',
  args: { base: { type: 'str', prompt: 'Three-letter base currency code, e.g. USD', required: true } },
  request: { url: 'https://api.frankfurter.dev/v1/latest', method: 'GET', params: { base: '{{args.base}}' } },
  responseMapping: { base: 'base', date: 'date', rates: 'rates' },
}), adminKs);
await kaltura.intellectConfig.setToolIds(configId, [toolId], adminKs);

// Ask: the agent calls your API mid-conversation
const reply = await kaltura.converseOnce(configId, 'How many euros is one US dollar right now?');
console.log(reply.text);

When someone talks with an Agentic Avatar, three flows run at once. You see one avatar. Underneath, two engineered systems keep the conversation coherent in real time, and your expertise feeds the answers.

The three flows

Flow Name What it covers Who runs it
1 Conversation Control Turn-taking and interruptions, real-time sync of speech recognition, voice, avatar video, and language models, expression and emotion control, session recording, device and cross-platform coverage, screen share. Read more → Kaltura, always
2 Agent Orchestration The server-side reasoning loop that runs while the person talks: grounding answers in knowledge (RAG), calling tools, routing to expert agents. Read more → Kaltura, always
3 Your Expertise Your knowledge bases, your APIs and data, your own models and expert agents, your IP. Read more → You, plugged into flow 2

Bring your own expertise

Your existing AI stack isn't a replacement for flows 1 and 2. It's flow 3. The SDK ships the plug points today:

What you'd take on yourself

Scripted avatar sessions (puppet mode: you supply every line of speech) skip flows 1 and 2. Use only those, and this list becomes yours to build and operate:

Analytics come with the runtime

Full agentic sessions feed engagement analytics out of the box, through ./experience/analytics. See KAVA analytics for Kaltura's built-in analytics events. A self-built pipeline has to recreate that measurement loop too.

Where scripted sessions do fit

Pre-authored narration, puppet-style playback, and demo reels are real use cases. You author every word, and the avatar performs it. That's what scripted avatar sessions are for. For anything a visitor talks back to, you want all three flows.

Next steps

Click to talk with Nova — she knows this whole SDK.
Nova AI assistant — knows this whole site

Reloading starts a fresh chat. “New conversation” does the same without leaving the drawer.