Method

Voice pipeline with pre-response

Use an STT → LLM/agentic workflow → TTS pipeline for control, and hide latency with a quick acknowledgment.

Based on Andrew Ng's public content. Not affiliated with or endorsed by Andrew Ng.

Steps

  1. Use direct voice models for prototypes
  2. Route reasoning through text when accuracy matters
  3. Apply guardrails before speaking
  4. Send a pre-response while the full answer computes

Covered in

State of Agents with Andrew Ng

In this fireside chat, Andrew Ng argues for treating agents as a spectrum of 'agentic' systems with varying autonomy, and stresses that much business value lies in fairly linear workflows. He teaches practical skills for agent builders: decomposing work into steps, building quick-and-dirty evals early, assembling a broad toolkit of 'Lego bricks', and he discusses voice stacks, MCP, agent-to-agent protocols, AI-assisted coding, and startup success predictors.

Building Voice-Enabled Apps is Easier Than You May Think: Voice-enabled AI applications are improving quickly. Get ready for the next wave of AI!

Andrew Ng argues that voice UIs are becoming reliable enough to spawn a new wave of AI applications, complementing rather than replacing keyboard and mouse. He explains the latency-versus-intelligence tradeoff in voice systems and describes a foreground/background agent architecture that addresses it, using his daughter's math-quiz app as an example of how easy and rich multimodal voice apps can be.

What I’ve Learned Building Voice Applications: Best practices for building apps based on AI’s evolving voice-in, voice-out stack

Andrew Ng shares best practices for building voice applications. He contrasts direct voice-in, voice-out models, which suit quick prototypes and low-stakes conversations, with an STT → LLM/agentic workflow → TTS pipeline that gives more control and accuracy. He presents a pre-response technique for hiding the latency that pipeline adds, and he encourages builders to prototype voice apps quickly.