Courses Projects Summer Fellowship Testimonials Contact Us Sign In
๐ŸŽ™๏ธ Voice AI Project

Building a Production-Style Voice Agent

A hands-on voice AI project built around Nimbus โ€” a fictitious all-in-one cloud business suite. It pairs a live, customer-facing voice assistant embedded in a real web product with an interactive playground that exposes the full cascaded pipeline behind it: speech-to-text, a retrieval-grounded language model, and text-to-speech. Explore the finished experience, then open the hood and tune every stage yourself.

ASR Speech → Text LLM Reason + Retrieve TTS Text → Speech

Two Ways to Explore

One link takes you to the finished voice agent living inside the Nimbus product. The other opens the engineering playground that reveals โ€” and lets you reconfigure โ€” the pipeline that powers it.

๐Ÿ—ฃ๏ธ
โ— Live Demo

Nimbus Voice Agent

A talk-to-it voice assistant embedded directly in the Nimbus website โ€” the kind of AI concierge you'd expect on a modern SaaS product. Speak naturally and it answers questions about Nimbus's plans, pricing and policies, then goes a step further and acts: adding items to your cart, totalling it up, surfacing the most expensive products, working out annual savings, and explaining the refund policy. Every answer is grounded in the site's own knowledge base, so the assistant stays on-topic and accurate instead of guessing.

  • Real-time voice conversation, hands-free
  • Retrieval-grounded answers about Nimbus products & pricing
  • Takes real actions: cart, totals, savings, refunds
Web-embedded RAG-grounded Tool-calling Customer-facing
๐Ÿงช
โ—† Interactive Playground

Voice Pipeline Playground

The same assistant, with the roof taken off. This playground illustrates the full cascaded pipeline โ€” ASR → LLM → TTS โ€” and turns every stage into a control you can adjust. Swap the LLM model, choose how knowledge is fetched (RAG top-k retrieval, RAGless full-context, or none), pick a reranker, set response length and how many turns of history are kept verbatim, toggle tools on or off, and switch between streaming and batch. On the voice side you control the ASR and TTS engines, voice, barge-in (interrupting mid-sentence), and endpoint silence. A live latency panel then shows exactly what each choice costs โ€” end-to-end time, time-to-first-token, ASR/TTS timings, the retrieved chunks, and per-tool-call latency.

  • See the ASR → LLM → TTS stages laid out end to end
  • Tune RAG, reranking, tools, streaming, voice & barge-in
  • Compare streaming vs batch latency, live
ASR LLM + RAG Reranker TTS Streaming Latency metrics

How a Cascaded Voice Agent Works

A voice agent isn't one model โ€” it's a relay of three specialised stages. Here's what happens between you speaking and hearing a reply.

1

ASR ยท Speech to Text

Automatic Speech Recognition transcribes your spoken words into text the moment you finish talking, using silence detection to know when your turn ends.

2

LLM ยท Reason & Retrieve

The language model reads the transcript, pulls the most relevant facts from Nimbus's knowledge base (RAG), calls tools when an action is needed, and drafts a grounded reply.

3

TTS ยท Text to Speech

Text-to-Speech turns the reply back into natural spoken audio โ€” streamed as it's generated so the answer starts playing with minimal delay.