Build a real-time voice AI agent with Google ADK and Gemini Live API
Google Cloud Tech · 9:52 · 128 句英文字幕
Code for this episode → Gemini Live API docs → Agent Development Kit (ADK) docs →
主题:其他
大纲
- 0:00 The agent we're building
- 0:25 What you'll learn (three parts)
- 0:55 Why the STT → LLM → TTS pipeline feels broken
- 1:23 A phone call, not a walkie-talkie
- 1:49 The architecture: browser, WebSocket, backend, Gemini Live
- 2:19 The ADK Agent: model, personality, tools
- 3:00 The Runner: who actually runs the live call
- 3:13 The Session: why live voice keeps it in memory
- 4:10 The problem: two audio streams, neither can block
- 4:34 LiveRequestQueue: the sushi belt
- 5:01 send_realtime: streaming mic audio
- 5:33 Always send — even the silence
- 6:01 send_content: discrete input, and the rule of thumb
- 6:30 run_live: audio, captions, tool calls, interrupted
- 7:02 Trace one sentence, end to end
- 7:55 The in-memory session gotcha
- 8:20 Recap: architecture, building blocks, live loop
- 8:54 Next episode: giving the agent tools