Developer Builds Telnyx Voice Agent That Follows Mid-Call Language Switches Automatically
A developer has built a voice AI agent on Telnyx that detects and matches a caller's spoken language in real time, including mid-conversation switches, without any language menus or manual routing. The Python Flask application supports five languages — English, Spanish, Portuguese, Hindi, and Mandarin — using a single phone number and one AI Assistant. Speech transcription is handled by Deepgram nova-3 with automatic language detection, while a single ultra-voice model renders replies across all supported languages. The LLM, powered by Telnyx's native Kimi-K2.6 model, follows plain-language instructions to detect and mirror the caller's language on every turn. The project's source code is publicly available on GitHub under the Telnyx code examples repository.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in