影片進階EN11.8 萬 次觀看
Build a real-time voice AI agent with Google ADK and Gemini Live API
看影片(在新分頁開啟原站)連到 YouTube・Google Cloud Tech
摘要
示範如何使用 Google ADK 與 Gemini Live API 建構即時語音 AI 代理。內容涵蓋從架構設計到核心元件的實作細節,解釋為何語音互動應如通話般雙向串流,並深入探討 ADK 中的 Agent、Runner 與 Session 運作機制,以及利用 LiveRequestQueue 解決雙向音訊不阻塞的技術挑戰。
This video demonstrates building a real-time voice AI agent using Google ADK and the Gemini Live API, covering architecture, core components, and the live loop mechanism to handle bidirectional audio streams without blocking.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 將語音代理架構視為雙向通話,而非傳統的串列式處理流程。
- 利用 LiveRequestQueue 解耦雙向音訊流,確保輸入輸出互不阻塞。
- 區分 send_realtime 用於連續音訊與 send_content 用於完整輸入的用法。
章節
依話題轉折切分,標題由 AI 產生
- 00:00The agent we're building
- 00:25What you'll learn (three parts)
- 00:55Why the STT → LLM → TTS pipeline feels broken
- 01:23A phone call, not a walkie-talkie
- 01:49The architecture: browser, WebSocket, backend, Gemini Live
- 02:19The ADK Agent: model, personality, tools
- 03:00The Runner: who actually runs the live call
- 03:13The Session: why live voice keeps it in memory
- 04:10The problem: two audio streams, neither can block
- 04:34LiveRequestQueue: the sushi belt
- 05:01send_realtime: streaming mic audio
- 05:33Always send — even the silence
- 06:01send_content: discrete input, and the rule of thumb
- 06:30run_live: audio, captions, tool calls, interrupted
- 07:02Trace one sentence, end to end
- 07:55The in-memory session gotcha
- 08:20Recap: architecture, building blocks, live loop
- 08:54Next episode: giving the agent tools
提到的工具與公司
- Google ADK
- Gemini Live API
- WebSocket
- LiveRequestQueue
- Runner
- Session
適合誰看
希望開發即時語音 AI 代理或深入理解 Google ADK 架構的開發者。
摘要依據
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.85
- 新鮮
- 0.75
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Give your voice AI agent real abilities (tool calling)影片 ・ Google Cloud Tech ・ 10 分鐘 ・
- Real time vision for AI agents: Snapshots, streams & Gemini Live API影片 ・ Google Cloud Tech ・ 8 分鐘 ・
- Voice Agent observability with LangSmith影片 ・ Google for Developers ・ 8 分鐘 ・
- Answering your questions about GPT-Live影片 ・ OpenAI ・ 9 分鐘 ・
- What's new in the Gemini Live API影片 ・ Google for Developers ・ 7 分鐘 ・
- 打造能聽會說的 AI 語音助理 - Realtime Agent 實作 | 超硬派!數據實戰技術工作坊 #26影片 ・ 資料科學家的工作日常 ・ 1 小時 7 分 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
