<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Japleen Kaur Bedi</title>
    <description>The latest articles on DEV Community by Japleen Kaur Bedi (@jkbedi).</description>
    <link>https://dev.to/jkbedi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4078647%2Feef2ff7e-0177-4953-ae83-be09962c1b95.jpg</url>
      <title>DEV Community: Japleen Kaur Bedi</title>
      <link>https://dev.to/jkbedi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jkbedi"/>
    <language>en</language>
    <item>
      <title>🛑 "Beta, Yeh Message Real Hai Kya?" — How I Built an AI Voice Agent to Protect Families from Scams in 10 Days #VoiceForBharat</title>
      <dc:creator>Japleen Kaur Bedi</dc:creator>
      <pubDate>Sat, 15 Aug 2026 10:38:05 +0000</pubDate>
      <link>https://dev.to/jkbedi/beta-yeh-message-real-hai-kya-how-i-built-an-ai-voice-agent-to-protect-families-from-scams-2jdf</link>
      <guid>https://dev.to/jkbedi/beta-yeh-message-real-hai-kya-how-i-built-an-ai-voice-agent-to-protect-families-from-scams-2jdf</guid>
      <description>&lt;p&gt;Picture this: Your papa gets a WhatsApp message saying he won a lottery. He never bought a ticket, but the message looks super official.&lt;br&gt;
                                                                                            Normally, he’d call you or a tech-savvy cousin to ask, "Beta, is this real?" But what if you are busy? What if he just clicks the link?&lt;/p&gt;

&lt;p&gt;I wanted to fix this. What if he could just open an app and talk to it in natural Hindi, exactly like he talks to you?&lt;/p&gt;

&lt;p&gt;That is exactly why I built Suraksha Saathi for the #VoiceForBharat 10 Days of AI Voice Agents Challenge. Here is how I went from an empty folder to a fully working anti-fraud AI in just 10 days.&lt;/p&gt;

&lt;p&gt;⚡ The Engine Under the Hood&lt;br&gt;
Before we get into the days, here is the simple loop of how it works:&lt;br&gt;
You speak ➔ Deepgram listens ➔ Google Gemini thinks ➔ Murf Falcon speaks back ➔ LiveKit connects it all without lag.&lt;/p&gt;

&lt;p&gt;A quick note on speed: If a voice agent takes 3 seconds to reply, it feels like a broken walkie-talkie. I used Murf Falcon—the fastest TTS API available right now—and it genuinely made the AI feel like a real, instant phone call.&lt;/p&gt;

&lt;p&gt;📅 The 10-Day Journey&lt;br&gt;
Days 1 &amp;amp; 2: Teaching it Hindi (Properly)&lt;br&gt;
At first, the AI sounded like an American trying really hard to speak Hindi (reading "karu" instead of "करूँ"). The fix? I forced the AI to only output in the Devanagari script. Suddenly, it sounded fluent! I also gave it strict rules: Never ask for an OTP, and never promise a scheme is 100% safe.&lt;/p&gt;

&lt;p&gt;Day 3: The Glowing Diya UI&lt;br&gt;
Instead of using boring jumping audio bars on the screen, I built a custom animated Diya (oil lamp). It glows steadily when listening and flickers when speaking. Why a diya? Because its whole job is to bring light to the dark—which is exactly what this agent does for scams.&lt;/p&gt;

&lt;p&gt;Days 4 &amp;amp; 5: Giving it a Memory&lt;br&gt;
I connected a database so the AI remembers returning callers. But I added a consent rule: It actually asks, "Kya main aapka naam yaad rakhun?" (Can I remember your name?). If you say yes, it greets you by name the next time you call.&lt;/p&gt;

&lt;p&gt;Day 7: The Panic Button&lt;br&gt;
If a caller is actively losing money, the AI quietly pings a human fraud team on a private Discord channel in the background, all while keeping the caller calm on the phone.&lt;/p&gt;

&lt;p&gt;Day 8: The Command Center&lt;br&gt;
I built a live dashboard to track what kind of scams people are reporting. Now I can visually see if "Fake FedEx" or "Digital Arrest" scams are spiking in real-time.&lt;/p&gt;

&lt;p&gt;Day 9: The Handoff Magic&lt;br&gt;
If things get really serious (like a hacked bank account), a friendly guide isn't enough. I wrote code that swaps the voice engine mid-call. The friendly AI (Anisha) instantly transfers the call to a strict Fraud Investigator (Samar). The voice literally changes on the spot without the call dropping!&lt;/p&gt;

&lt;p&gt;Day 10: Sharing it with you! (Writing this post).&lt;/p&gt;

&lt;p&gt;💥 The Midnight Bug That Almost Broke Me&lt;br&gt;
On Day 4, I spent hours staring at a 400 Bad Request error at 11 PM.&lt;/p&gt;

&lt;p&gt;I was trying to make the AI "look up" the user in the database before it even said hello. Gemini hated that. The fix? I stopped trying to make the AI do everything. I just wrote a simple Python script to look up the user first, and handed that info to the AI.&lt;/p&gt;

&lt;p&gt;Lesson learned: Sometimes the fix isn't writing more AI prompts, it's just writing good old-fashioned code.&lt;/p&gt;

&lt;p&gt;🚀 Try it yourself&lt;br&gt;
If you want to see the code or build your own, everything is public here:&lt;br&gt;
🔗 [Insert your GitHub Link: &lt;a href="https://github.com/Bedi-Builds/murf-livekit-starter/commits/main/" rel="noopener noreferrer"&gt;https://github.com/Bedi-Builds/murf-livekit-starter/commits/main/&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;Ten days ago, this was just an empty starter template. Today, it’s an AI that speaks real Hindi, remembers the people who trust it, knows when to call a human, and could actually stop someone from losing their savings.&lt;br&gt;
 #MurfAI #MurfFalcon #LiveKit #Gemini #BuildInPublic&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>devchallenge</category>
      <category>security</category>
    </item>
  </channel>
</rss>
