Skip to content
mentoor

Realtime voice agents

For engineers

Speech-to-speech models and chained pipelines, session and transport design, turn detection, barge-in, and tool calls during a live conversation

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A support bot must redact card numbers from what it says before any audio is produced. Which design fits best?

Choose one answer

Check yourself · 2 of 5

A browser voice demo connects directly to the model using the team's API key stored in a front-end constant. What is the problem?

Choose one answer

Check yourself · 3 of 5

Callers keep getting cut off while reading a phone number with pauses. What is the most targeted change?

Choose one answer

Check yourself · 4 of 5

A caller interrupts after the agent has spoken about 3 seconds of a 9-second generated reply. What should the stored assistant turn contain?

Choose one answer

Check yourself · 5 of 5

A voice agent can cancel a customer's subscription. What is the safest design?

Choose one answer

Topics

  1. Speech-to-speech models versus chained pipelines4 min read · Native audio models against a speech-to-text, LLM and text-to-speech chain: latency, control, transcripts, model choice and cost per minute
  2. Transport and session architecture for voice agents5 min read · WebRTC vs WebSocket, short-lived client tokens instead of API keys in the browser, media servers such as LiveKit Agents and Pipecat, and session configuration
  3. Voice activity and end-of-turn detection5 min read · Voice activity detection thresholds, silence timeouts, semantic turn detection, and why callers reading out a card number or pausing to think get cut off
  4. Handling barge-in and interrupted replies5 min read · Cancelling generation and playback when the user talks, trimming history to what the user actually heard, echo cancellation, and ignoring backchannels
  5. Tool calls and state during live conversations5 min read · Filler speech while a tool runs, confirming before actions with side effects, asynchronous tools, session length limits and keeping context small over long calls

Start here

110 questions · last verified 2026-12