Build a real-time voice AI agent with Google ADK and Gemini Live API

Google Cloud Tech · 9:52 · 128 句英文字幕

Build a real-time voice AI agent with Google ADK and Gemini Live API

Code for this episode → Gemini Live API docs → Agent Development Kit (ADK) docs →

主題:其他

大綱

  1. 0:00 The agent we're building
  2. 0:25 What you'll learn (three parts)
  3. 0:55 Why the STT → LLM → TTS pipeline feels broken
  4. 1:23 A phone call, not a walkie-talkie
  5. 1:49 The architecture: browser, WebSocket, backend, Gemini Live
  6. 2:19 The ADK Agent: model, personality, tools
  7. 3:00 The Runner: who actually runs the live call
  8. 3:13 The Session: why live voice keeps it in memory
  9. 4:10 The problem: two audio streams, neither can block
  10. 4:34 LiveRequestQueue: the sushi belt
  11. 5:01 send_realtime: streaming mic audio
  12. 5:33 Always send — even the silence
  13. 6:01 send_content: discrete input, and the rule of thumb
  14. 6:30 run_live: audio, captions, tool calls, interrupted
  15. 7:02 Trace one sentence, end to end
  16. 7:55 The in-memory session gotcha
  17. 8:20 Recap: architecture, building blocks, live loop
  18. 8:54 Next episode: giving the agent tools

在 YouTube 觀看