
Learn how the voice agent checks a guest profile using the check guest tool, querying DynamoDB for name, loyalty tier, contact details, and preferences in a non-blocking async flow.
Updating reservations enables changing the room type and appending special requests via a dynamic DynamoDB update expression, requiring a reservation ID and returning the updated item.
Initializing the bedrock stream manager configures the model id and region, and sets up input and output queues, response task, and bedrock client scaffolding for low-latency, interruptible voice processing.
Initialize the bedrock real-time client from environment credentials, then open a bidirectional stream to start a session, send system prompts, and launch background tasks to process audio and responses.
Process incoming bedrock responses by listening to the stream and parsing event payloads. Manage display flags, text output labeling (assistant or user), and non-blocking tool calls.
Build the next generation of real-time, human-like voice AI.
In this hands-on course, you’ll learn how to build low-latency, interruptible voice agents using AWS Bedrock’s Nova Sonic, true HTTP/2 bidirectional streaming, and a fully integrated DynamoDB backend. This is not a toy project—this is a production-grade system with instant response times, barge-in (interrupt) support, real-time tool calling, and a complete event visualization dashboard.
We will build a fully functional virtual hotel receptionist voice agent capable of verifying guests, checking reservations, reviewing balances, and updating bookings based on natural voice interactions. Every component is built from scratch using Python, asyncio, PyAudio, and Bedrock streaming APIs, giving you deep insight into how modern voice assistants actually work under the hood.
You will also learn how to capture microphone input, stream it to AWS with minimal latency, play generated speech in real time, and gracefully handle interruptions mid-sentence. With DynamoDB, you’ll build tools for identity verification and reservation updates—and connect them directly to Nova Sonic using Bedrock’s tool calling system.
To bring everything together, you’ll build an interactive Streamlit dashboard that displays live events, audio chunks, tool calls, and model outputs—perfect for debugging, demos, or product development.
By the end of this course, you will have a fully operational, real-time, interruptible voice AI pipeline that can be adapted to hospitality, healthcare, customer service, or any industry requiring human-like conversational systems