Voice AI Agent Development and Production Challenges
various_(canonical,_prosus,_deepmind) · Tech · 2023 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: Voice AI agents and conversational production systems
Voice AI teams need to move beyond impressive demos to production systems that handle low-latency interaction, tool calls, ambiguous spoken input, emotional nuance, multilingual variation, and clear product scope.
Constraints:
- Voice interactions impose immediate response expectations that text agents do not.
- Tool calls must be shortened, streamed, or made asynchronous so users are not left waiting silently.
- Spoken letters, names, postal addresses, accents, dialects, and emotional states introduce ambiguity.
- Voice products need narrow MVP scope because broad product definitions fail under voice complexity.
- Controlled tests do not fully reproduce production interactions with real users.
Architecture
The panel's recommended architecture for production voice agents combines real-time voice APIs, structured prompting, streaming transports, asynchronous tool execution, alternate input channels for hard data, broad synthetic test sets, and production observability. For healthcare-style support, RAG over curated documents plus escalation to human appointments keeps the agent within a bounded domain.
Diagram confidence: reconstructed (reconstructed from prose).
flowchart LR voice-user["Voice user"] --> real-time-voice-agent["Real-time voice agent"] real-time-voice-agent --> streaming-transport["Streaming transport"] real-time-voice-agent --> tool-execution-layer["Tool execution layer"] tool-execution-layer --> external-task-systems["External task systems"] real-time-voice-agent --> structured-input-collector["Structured input collector"] real-time-voice-agent --> rag-knowledge-base["RAG knowledge base"] synthetic-voice-test-suite["Synthetic voice test suite"] --> real-time-voice-agent real-time-voice-agent --> observability-platform["Observability platform"] synthetic-voice-test-suite --> observability-platform
Components
| Component | Role | Interacts with |
|---|---|---|
Voice user |
Speaks requests, corrections, emotional signals, and interruptions. | Real-time voice agent |
Real-time voice agent |
Handles speech interaction, structured prompting, interruption handling, and user feedback. | Voice user, Streaming transport, Tool execution layer, Structured input collector, RAG knowledge base |
Streaming transport |
Uses WebSocket or WebRTC-style updates to avoid silent waits during agent work. | Real-time voice agent |
Tool execution layer |
Runs short tool calls synchronously and slow operations asynchronously with follow-up. | Real-time voice agent, External task systems |
External task systems |
Web search, purchasing, booking, or appointment workflows used by voice agents. | Tool execution layer |
Structured input collector |
Collects difficult fields through structured prompts or alternate app inputs. | Real-time voice agent |
Synthetic voice test suite |
Simulates languages, emotions, background noise, dialects, and speaking styles. | Real-time voice agent, Observability platform |
RAG knowledge base |
Grounds bounded support agents in curated domain documents. | Real-time voice agent |
Observability platform |
Shows production behavior when real humans interact with agents. | Real-time voice agent, Synthetic voice test suite |
Data flow
User speech enters a real-time voice agent; structured prompts guide task state and field collection; short or streaming tool calls provide immediate feedback; long operations can detach and follow up asynchronously; observability captures real-user production interactions; and bounded RAG systems escalate out-of-scope questions to humans.
3 supporting quotes
Why this architecture
Voice agents require a different architecture from text agents because users expect immediate conversational feedback and spoken input is ambiguous. Streaming, asynchronous tool handling, structured collection, and observability compensate for those voice-specific failure modes.
Models used: OpenAI Real-time API · Voice AI models · Speech synthesis models · RAG over curated documents · Synthetic data generation with OpenAI real-time API
Scale
- Prosus operates across businesses with approximately one billion customers.“Kiara from Prosus (a global technology company with approximately one billion customers across e-commerce, food delivery, fintech, and classifieds)”summary, stated
- The healthcare example supported a two-to-three-year recovery journey.“Patients could access the system at any time for questions about their two to three year recovery process.”summary, stated
- The panel includes a practitioner with more than 14 years of speech synthesis experience.“Monica from Google's speech synthesis group (with 14+ years experience)”summary, stated
Alternatives considered (roads not taken)
Reuse text-agent prompts unchanged for voice
Rejected because: Prosus tried this with the real-time API and it failed badly because voice lacks text's visible structure and control.
Wait silently for tools to finish
Rejected because: Voice users become frustrated without immediate feedback, so slow work needs streaming or asynchronous follow-up.
Ask users to spell difficult identifiers by voice
Rejected because: Letters are especially unreliable for current voice models.
Patterns
tool-use-orchestration (agent architecture)
Voice agents must orchestrate tools with streaming feedback and asynchronous completion instead of blocking the conversation.
async-message-orchestration (voice workflow)
Slow actions such as purchases can be detached from the live call and completed with SMS follow-up.
synthetic-data-generation (testing)
Prosus uses synthetic real-time voice interactions to test languages, emotions, and speaking styles.
observability-tracing (production monitoring)
Canonical's tooling focuses on seeing production behavior when real users interact with voice agents.
rag-retrieval (healthcare support)
The prostate-cancer recovery example grounds answers in curated medical recovery documents and escalates out-of-scope questions.
Tradeoffs
Asynchronous follow-up for slow operations
Chose Inform users, let them disconnect, and follow up via SMS over Keeping users waiting on a live voice call.
Rationale: Voice agents need to preserve conversational momentum and avoid silent waits.
Use alternate modalities for hard input
Chose Application interfaces and phone-number recognition over Voice spelling of difficult identifiers.
Rationale: Spoken letters and complex identifiers are a known weak point for current models.
Scope voice products narrowly
Chose Strong MVPs matched to appropriate voice characteristics over Comprehensive, vague voice-agent products.
Rationale: Voice complexity makes broad product definitions more likely to fail.
Gotchas (what bit them)
Text prompts did not transfer to voice interactions.
Root cause: Voice lacks the structured, visible context that text interfaces provide and adds latency, interruption, and UX dimensions.
Resolution: Design voice-specific prompts, feedback loops, and interaction patterns rather than porting text-agent prompts.
Silent tool latency breaks voice UX.
Root cause: Users expect conversational immediacy and become frustrated when the agent does not respond.
Resolution: Shorten tool calls, stream progress, and move slow workflows to asynchronous follow-up.
Spoken identifiers and ambiguous input are unreliable.
Root cause: Voice models can mishear names, addresses, spelling, dialects, and background-noise-distorted speech.
Resolution: Avoid spelling flows, authenticate through phone number, collect fields structurally, or move sensitive fields to app interfaces.
Demo behavior does not predict production voice behavior.
Root cause: Real users bring noise, dialects, emotions, interruptions, and unpredictable behavior absent from controlled tests.
Resolution: Build synthetic tests across those variations and add production observability for real interactions.
Evaluation
The panel recommends synthetic test generation across languages, emotions, dialects, and environments, plus production observability to see real user behavior.
Metrics: Latency responsiveness · Language and dialect coverage · Background-noise robustness · Emotional-state handling · Production interaction traces
3 supporting quotes
Outcomes
- The panel identifies voice-specific operating patterns: streaming feedback, asynchronous slow tasks, structured input collection, synthetic test coverage, and production observability.
- Prosus's failed prompt transfer shows that voice agents require purpose-built interaction design.
- The healthcare example shows bounded RAG plus escalation as a practical voice-agent support pattern.
The panel draws on Prosus's one-billion-customer operating context, Google's speech synthesis experience, and production tooling experience from Canonical.