Building Roshni: A Real-Time, Multi-Agent Financial Voice AI for Bharat ๐Ÿ‡ฎ๐Ÿ‡ณ A developer built Roshni AI, a real-time multilingual financial voice assistant for India, using Murf Falcon, LiveKit Agents, Deepgram Nova-3, Google Gemini, and Next.js. The system supports English, Hindi, and Hinglish, with sub-second latency and a multi-agent handoff between Roshni and Vikram for government scheme queries. The project was developed during the 10 Days of AI Voice Agents Challenge. How I built an end-to-end, multilingual financial voice AI using Murf Falcon, LiveKit Agents, Deepgram Nova-3, Google Gemini, and Next.js during the 10 Days of AI Voice Agents Challenge. In India, financial inclusion has accelerated rapidly with UPI, digital banking, and government-backed credit initiatives. However, navigating complex interest rates, eligibility criteria for government schemes like PM Mudra or Sukanya Samriddhi Yojana , and understanding formal banking terms remains intimidating for millions of citizensโ€”especially in regional and tier-2/3 heartlands where digital interfaces can be overwhelming. Text-first interfaces fail where voice thrives. When rural entrepreneurs or first-time bank customers have questions, they don't want to navigate complex web forms or read dense PDFs. They want to ask a direct question in their language and get an immediate, clear, spoken answer. To solve this, I built Roshni AI and her specialist counterpart, Vikram โ€” an ultra-low latency, conversational financial assistant engineered for natural voice interactions in English, Hindi Devanagari script , and Hinglish. Building a real-time conversational agent requires synchronizing four core pipelines with sub-second latency: ๐Ÿ‘ค User Microphone โ”‚ WebRTC Audio Stream โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ LiveKit Agents Worker โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ–ผ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Deepgram โ”‚ โ”€โ”€โ”€โ”€โ–บ โ”‚Google Geminiโ”‚ โ”€โ”€โ”€โ”€โ–บ โ”‚ Murf Falcon โ”‚ โ”‚ Nova-3 โ”‚ โ”‚ LLM โ”‚ โ”‚ Fast TTS โ”‚ โ”‚ Fast STT โ”‚ โ”‚ โ”‚ โ”‚ Anisha / Samar โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ Tool / Handoff โ”‚ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” ๐Ÿ”Š Audio Output โ”‚ SQLite Memory โ”‚ โ”‚ & Analytics โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ language="multi" for instantaneous multi-language speech recognition. gemini-3.5-flash-lite / gemini-2.0-flash with strict prompt guardrails.Using Murf Falconโ€™s conversational voices transformed the agent from a robotic IVR into a warm, approachable advisor. By pacing sentences naturally and configuring TTFB optimization, conversational latency stayed under 1 second. A common flaw in bilingual voice bots is sending romanized Hindi e.g., "namaste, aapka swagat hai" to TTS engines, causing English phonetic engines to mispronounce Indian syllables. I enforced strict system prompt constraints: Always write Hindi in Devanagari script e.g., "เคจเคฎเคธเฅเคคเฅ‡, เค†เคชเค•เคพ เคธเฅเคตเคพเค—เคค เคนเฅˆ" . Never write romanized Hindi. This simple prompt architecture ensured flawless Indian accent pronunciation every single turn. Using SQLite agent memory.db , Roshni stores caller identity, preferred languages, and previous queries. Returning users are greeted by name with tailored suggestions based on their recorded financial profile. Roshni accesses custom tools like check scheme rates to provide live, structured interest rate calculations for Fixed Deposits, Senior Citizen schemes, and Savings accounts without LLM hallucinations. One agent should not try to be an expert in everything. I split responsibilities between two distinct agents: When a caller asks about government schemes, Roshni announces: "I will connect you to Vikram, our Government Scheme Specialist" , and hands over the full conversation history to Vikram in real time. python Multi-Agent Handoff in LiveKit @function tool async def transfer to scheme specialist self, context: RunContext, query: str - str: """Handoff caller to Vikram for Government Scheme queries.""" self.session state "is success" = True record call outcome self.call id, "SUCCESS", "Transferred to Scheme Specialist" return "I will connect you to Vikram, our Government Scheme Specialist."