<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v" -->

---
title: Add Telephony to a Gemini Live Agent | daily.dev
description: A walkthrough of integrating Gemini Live API with Twilio for phone-based voice AI agents, deployed on Google Cloud Run. The setup uses the Google Gen AI Python...
canonical: https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Add Telephony to a Gemini Live Agent | daily.dev
og:description: A walkthrough of integrating Gemini Live API with Twilio for phone-based voice AI agents, deployed on Google Cloud Run. The setup uses the Google Gen AI Python...
og:url: https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v
og:image: https://api.daily.dev/og/posts/GfPWFkU5v.png
og:image:alt: Add Telephony to a Gemini Live Agent
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Telephony to a Gemini Live Agent

**[Google for Developers](https://daily.dev/sources/googledevelopers)** · 9 min read · 0 upvotes · 0 comments

## Summary

A walkthrough of integrating Gemini Live API with Twilio for phone-based voice AI agents, deployed on Google Cloud Run. The setup uses the Google Gen AI Python SDK with a FastAPI server that proxies WebSocket connections between Twilio media streams and the Gemini Live API. Key technical details include audio format conversion (Gemini outputs 24kHz 16-bit PCM while Twilio expects 8kHz mu-law), inbound/outbound call handling via TwiML, and Secret Manager for API key management. The same server also supports browser-based interaction with camera sharing. Partner integrations like LiveKit, Pipe Chat, and Agora are mentioned as alternatives for those who want to avoid handling audio conversion manually.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=FCb4LSzPVmo>

## Similar posts on daily.dev

- [Gemini Live API available on Vertex AI](https://daily.dev/posts/gemini-live-api-available-on-vertex-ai-pwpyu7zkz) · Google Cloud · 1 upvotes · 0 comments
- [Gemini Managed Agents: Developer Guide](https://daily.dev/posts/gemini-managed-agents-developer-guide-8gahhawdu) · Philipp Schmid · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#gcp](https://daily.dev/tags/gcp), [#google-gemini](https://daily.dev/tags/google-gemini), [#twilio](https://daily.dev/tags/twilio)

[View this post on daily.dev](https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Add Telephony to a Gemini Live Agent","url":"https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v"},"datePublished":"2026-04-21T16:10:01.793Z","dateModified":"2026-04-21T16:10:19.878Z","description":"A walkthrough of integrating Gemini Live API with Twilio for phone-based voice AI agents, deployed on Google Cloud Run. The setup uses the Google Gen AI Python...","image":"https://i.ytimg.com/vi/FCb4LSzPVmo/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/FCb4LSzPVmo/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Google for Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Google for Developers","logo":"https://media.daily.dev/image/upload/s--jj3nxRoG--/f_auto/v1725035497/logos/googledevelopers","url":"https://daily.dev/sources/googledevelopers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/add-telephony-to-a-gemini-live-agent-gfpwfku5v","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,gcp,google-gemini,twilio","timeRequired":"PT9M","video":{"@type":"VideoObject","name":"Add Telephony to a Gemini Live Agent","description":"A walkthrough of integrating Gemini Live API with Twilio for phone-based voice AI agents, deployed on Google Cloud Run. The setup uses the Google Gen AI Python...","thumbnailUrl":"https://i.ytimg.com/vi/FCb4LSzPVmo/sddefault.jpg","uploadDate":"2026-04-21T16:10:01.793Z","duration":"PT9M","url":"https://api.daily.dev/r/GfPWFkU5v","embedUrl":"https://www.youtube.com/embed/FCb4LSzPVmo"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Google for Developers","item":"https://daily.dev/sources/googledevelopers"},{"@type":"ListItem","position":3,"name":"Add Telephony to a Gemini Live Agent"}]}
```

