By Sagar Shankaran, Founder of CallSphere
Deep dive into the technology behind AI voice agents — ASR, NLU, dialog management, NLG, and TTS.
Key takeaways
Modern AI voice agents combine five distinct technologies into a seamless conversational experience. Understanding each layer helps businesses evaluate platforms and make informed decisions.
ASR converts spoken words into text — the "ears" of the AI agent. Modern ASR systems use transformer-based neural networks trained on millions of hours of speech data. Key metrics:
CallSphere uses state-of-the-art ASR that supports 57+ languages with accent adaptation, delivering 95%+ accuracy across diverse caller populations.
NLU parses transcribed text to extract meaning — specifically the caller's intent (what they want) and entities (specific details). For example:
Modern NLU uses Large Language Models (LLMs) that understand context, handle ambiguity, and resolve multi-intent statements within a single utterance.
The dialog manager orchestrates the conversation — deciding what to say next, what information to collect, and when to take action. It maintains conversation state across multiple turns, handles topic switches, and manages the overall flow.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
CallSphere uses a hybrid approach: LLM-powered dialog for natural conversation combined with rule-based guardrails for business logic, compliance, and safety.
NLG produces the agent's spoken responses. Modern systems generate contextually appropriate, natural-sounding language rather than selecting from pre-written scripts. This enables:
TTS converts generated text back to spoken audio. Modern neural TTS produces voices that are increasingly difficult to distinguish from human speakers, with natural prosody, intonation, and pacing.
End-to-end latency — the time from when a caller finishes speaking to when they hear a response — is the most important technical metric for voice agents. Human conversation has natural turn-taking pauses of 200-500ms. AI voice agents must respond within this window to feel natural.
flowchart LR
CALLER(["Caller"])
subgraph TEL["Telephony"]
SIP["Twilio SIP and PSTN"]
end
subgraph BRAIN["Business AI Agent"]
STT["Streaming STT<br/>Deepgram or Whisper"]
NLU{"Intent and<br/>Entity Extraction"}
TOOLS["Tool Calls"]
TTS["Streaming TTS<br/>ElevenLabs or Rime"]
end
subgraph DATA["Live Data Plane"]
CRM[("CRM and Notes")]
CAL[("Calendar and<br/>Schedule")]
KB[("Knowledge Base<br/>and Policies")]
end
subgraph OUT["Outcomes"]
O1(["Booking captured"])
O2(["CRM record created"])
O3(["Human handoff"])
end
CALLER --> SIP --> STT --> NLU
NLU -->|Lookup| TOOLS
TOOLS <--> CRM
TOOLS <--> CAL
TOOLS <--> KB
NLU --> TTS --> SIP --> CALLER
NLU -->|Resolved| O1
NLU -->|Schedule| O2
NLU -->|Escalate| O3
style CALLER fill:#f1f5f9,stroke:#64748b,color:#0f172a
style NLU fill:#4f46e5,stroke:#4338ca,color:#fff
style O1 fill:#059669,stroke:#047857,color:#fff
style O2 fill:#0ea5e9,stroke:#0369a1,color:#fff
style O3 fill:#f59e0b,stroke:#d97706,color:#1f2937
CallSphere achieves sub-500ms end-to-end latency through optimized infrastructure, streaming ASR/TTS, and edge computing for LLM inference.
CallSphere uses a multi-model architecture, selecting the optimal LLM for each conversation stage. This balances speed, accuracy, and cost.
Yes. Modern AI voice agents handle multi-turn conversations with context retention, topic switching, and clarification requests — much like a skilled human agent.
CallSphere combines LLM capabilities with business rule validation, ensuring every action (booking, payment, escalation) follows your specific business logic.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
How AI Voice Agents Work: The Complete Technical Guide is also a cost-per-conversation problem hiding in plain sight. Once you instrument tokens-in, tokens-out, tool calls, ASR seconds, and TTS seconds against booked-revenue per call, the right tradeoff between Realtime API and an async ASR + LLM + TTS pipeline becomes obvious — and it's almost never the same answer for healthcare as it is for salons.
The protocol layer determines what's possible: WebRTC for browser-side widgets, SIP trunks (Twilio, Telnyx) for PSTN voice, WebSockets for the Realtime API streaming session. Each has its own jitter buffer, its own ICE/STUN dance, and its own failure modes when a customer's corporate firewall is hostile.
Front-end is Next.js 15 + React 19 for the marketing surface and the in-app dashboards, with server components used heavily for the SEO-critical pages. Backend splits across FastAPI for the AI worker, NestJS + Prisma for the customer-facing API, and a thin Go gateway that does auth, rate limiting, and routing — letting each service scale on its own characteristics.
Datastores: Postgres as the source of truth (per-vertical schemas like healthcare_voice, realestate_voice), ChromaDB for RAG over support docs, Redis for ephemeral session state. Postgres RLS enforces tenant isolation at the row level so a misconfigured query can't leak across customers.
How does this apply to a CallSphere pilot specifically? Setup runs 24 hours, the trial is 14 days with no credit card, and pricing tiers are $149, $499, and $1,499 — so a vertical-specific pilot is a same-week decision, not a quarterly project. For a topic like "How AI Voice Agents Work: The Complete Technical Guide", that means you're not starting from scratch — you're configuring an agent template that's already been hardened across thousands of conversations.
What does the typical first-week implementation look like? Day one is integration mapping (scheduler, CRM, messaging) and prompt tuning against your top 20 real call transcripts. Day two through five is shadow-mode running, where the agent transcribes and recommends but a human still answers, so you can compare side-by-side. Go-live is the moment your eval pass-rate clears your internal bar.
Where does this break down at scale? The honest answer: it scales until your tool catalog gets stale. The agent is only as good as the integrations it can actually call, so the operational discipline is keeping schemas, webhooks, and fallback paths green. The platform handles the rest — observability, retries, multi-region routing — without your team owning the GPU layer.
Want to see how this maps to your stack? Book a live walkthrough at calendly.com/sagar-callsphere/callsphere-llc-meeting, or try the vertical-specific demo at escalation.callsphere.tech. 7-day free pilot, no credit card, pilot live in 24 hours.

Written by
Sagar Shankaran· Founder, CallSphere
LinkedInSagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
Chengdu, Beijing, and Shenzhen SaaS teams lose trials to slow follow-up. CallSphere qualifies inbound leads 24/7 in Mandarin and English and books demos straight into the calendar.
Yerevan's booming tech scene and Armenia's small businesses use CallSphere AI voice and chat agents to answer every call 24/7 in Armenian, Russian and English, book meetings and capture global demand.
How to voice text in 2026: best apps, the API stack behind them, and how I use the same tech inside CallSphere's 57+ language voice agents.
A founder's guide to the Siri voice generator landscape: how AI voice cloning works, what is legal, and how CallSphere uses 57+ voices in production.
A founder's guide to robot voice TTS, character voice text-to-speech, and where the Brian voice and announcer voice still beat human voices.
Robot text to speech in 2026: how I pick TTS APIs, when robotic voices help, and how CallSphere ships 57+ language voice agents. Hands-on guide.
© 2026 CallSphere Inc. All rights reserved.
Made within San Francisco
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI