Back to blog
Engineering

Building a Multilingual Voice AI Agent for India: Lessons from the Trenches

What we learned building voice AI that handles Hindi, Hinglish, Tamil, and 8 other Indian languages. Real challenges, real solutions, and what still doesn't work.

VS

Varun Sharma

Founder

Feb 20, 202612 min read
Building a Multilingual Voice AI Agent for India: Lessons from the Trenches

The 22-Language Challenge

India has 22 officially recognized languages, over 19,500 dialects, and a population that casually switches between 2-3 languages mid-sentence. Building a voice AI agent that actually works here isn't just a technical challenge—it's a linguistic adventure.

At Agent Rush, we spent months integrating voice AI that serves real Indian businesses. Here's what we learned—the wins, the struggles, and the things nobody warns you about.

Lesson 1: Hinglish Is Not a Bug, It's the Default

The first thing you learn about Indian voice AI: nobody speaks pure Hindi or pure English. In real customer conversations, you get:

  • "Bhai, mera order abhi tak deliver nahi hua"
  • "Payment fail ho gaya, retry kaise karein?"
  • "Kya aap exchange kar sakte ho? Size galat aaya hai"
  • This is Hinglish—Hindi grammar with English nouns, verbs, and technical terms freely mixed in. And it's not just Hindi-English. Tamil-English, Telugu-English, Bengali-English—every Indian language has its "English remix."

    The Solution

    We chose Sarvam AI's Saaras v2 specifically because it's trained on code-switched Indian audio. Their training dataset includes:

  • Customer support calls from Indian businesses
  • WhatsApp voice messages
  • Regional news broadcasts
  • YouTube content in Indian languages
  • The result: 94% accuracy on Hinglish, compared to 65-80% from global STT providers.

    What Still Doesn't Work

  • Three-language mixing (Hindi + English + Tamil in one sentence) — accuracy drops to ~70%
  • Heavy slang and colloquialisms — "jugaad karke bhej do" gets mistranscribed
  • Rapid code-switching within a single word — "orderiyaan" (order + Hindi plural)
  • Lesson 2: Accents Vary More Than You Think

    "Hindi" isn't one accent. A customer from Lucknow sounds completely different from someone in Ranchi, who sounds different from someone in Jaipur. And that's just one language.

    We mapped the accent variation we encountered:

    RegionAccent CharacteristicsSTT Impact
    Delhi/NCRNeutral Hindi, clear EnglishLow — baseline accuracy
    UP/BiharHarder consonants, Bhojpuri influenceMedium — some word confusion
    RajasthanExtended vowels, unique intonationMedium — needs context
    PunjabAspirated sounds, Punjabi carry-overMedium — specific phonemes
    South IndiaRetroflex consonants, different rhythmHigh — significant variation
    NortheastTonal elements, unique phonologyHigh — least training data
    MumbaiFast Bambaiya Hindi, Portuguese loanwordsLow — well-represented in data

    The Solution

    We don't try to detect or classify accents. Instead, we rely on:

  • Contextual correction — If the STT output doesn't make sense, the AI agent uses conversation context to infer the right word
  • Fuzzy matching — "Ardor" and "order" are matched when the context is e-commerce
  • User confirmation — "I heard 'I want to return my ardor.' Did you mean your order?" This feels natural and catches errors gracefully
  • Lesson 3: Background Noise Is the Real Boss

    Forget accent problems. The biggest accuracy killer is noise. Our users record voice messages:

  • In auto-rickshaws on potholed roads
  • At busy chai stalls
  • In shared office spaces with 20 people talking
  • On speakerphone while cooking
  • Clean audio accuracy: 94%

    Real-world Indian audio accuracy: 82-87%

    That 7-12% drop can mean the difference between a resolved query and a frustrated customer.

    The Solution

    We attack noise at three levels:

    Level 1: Browser-side

    const stream = await navigator.mediaDevices.getUserMedia({
      audio: {
        noiseSuppression: true,
        echoCancellation: true,
        autoGainControl: true,
      }
    });

    These browser-level filters handle a surprising amount of background noise.

    Level 2: Audio preprocessing

    Before sending to STT, we normalize audio levels and apply a high-pass filter to remove low-frequency rumble (traffic, AC units).

    Level 3: AI correction

    The AI agent is instructed: "If the transcription seems garbled, ask the user to clarify rather than guessing." This is better than a confident wrong answer.

    Lesson 4: Short Messages Are Harder Than Long Ones

    Counter-intuitive finding: short voice messages are harder to transcribe than long ones.

    Why? Context. If someone says a 30-second message about their order problem, the STT has plenty of context to correct individual word errors. But a 3-second "Cancel kar do" has almost no context.

    Our data:

    Message LengthAccuracy
    < 3 seconds79%
    3-10 seconds88%
    10-30 seconds94%
    > 30 seconds93% (slight drop from fatigue/rambling)

    The Solution

  • Minimum recording time of 2 seconds (auto-discard shorter)
  • Prompt users to include context: "Tell me what you need help with" rather than "Speak now"
  • Smart retry — If transcription confidence is low on short messages, ask "Could you tell me a bit more about what you need?"
  • Lesson 5: Language Detection Isn't Reliable

    We initially tried auto-detecting the user's language from their voice. The idea was elegant: speak Tamil, get Tamil responses. Speak Hindi, get Hindi responses.

    Reality: It doesn't work reliably. Here's why:

  • Hinglish gets classified as English 40% of the time
  • Tamil with English technical terms gets classified as English 25% of the time
  • Short utterances don't have enough signal for language detection
  • Users switch languages mid-conversation
  • The Solution

    We dropped automatic language detection entirely. Instead:

  • Ask once at the start — "Which language would you prefer?" (with voice recognition for the answer)
  • Default to the business's primary language — Most businesses know their customer base
  • Allow switching anytime — "Hindi mein baat karo" instantly switches the agent's language
  • Send transcription to LLM in any language — Groq/GPT handles multilingual input natively
  • This pragmatic approach gives us better accuracy than automated detection and avoids embarrassing mid-conversation language switches.

    Lesson 6: Latency Matters More Than Accuracy

    We ran an A/B test: Group A got responses in 1.5 seconds with 90% accuracy. Group B got responses in 3.5 seconds with 96% accuracy.

    Group A had 2x higher satisfaction scores.

    Users will tolerate minor transcription errors (and even correct them). They will NOT tolerate waiting. In voice interactions, anything over 2 seconds feels like "the system is broken."

    Our Latency Budget

    Audio recording stops        → 0ms
    Audio upload                 → 200-400ms
    STT transcription            → 800-1200ms
    AI agent processing          → 500-800ms
    Response streaming starts    → 200ms
    ─────────────────────────────────────
    Total: 1.7 - 2.6 seconds

    We optimize aggressively:

  • Parallel processing — Start uploading audio while the last 500ms is still recording
  • Streaming responses — First words appear before the full response is generated
  • Edge deployment — STT and AI run on servers in Mumbai/Singapore, not US-West
  • Lesson 7: The "Grandmother Test"

    Our most valuable QA process? We call it the Grandmother Test. We ask team members' grandmothers (and parents, uncles, neighbors) to use the voice feature.

    Non-technical users reveal problems that engineers never find:

  • They hold the mic too far from their mouth
  • They start talking before the recording begins
  • They speak in long, rambling sentences that exceed the 30-second limit
  • They get confused when there's no audio feedback ("Is it listening?")
  • They speak very softly or very loudly
  • Every insight from the Grandmother Test led to a UX improvement that benefited all users.

    What's Next for Indian Voice AI

    The technology is improving fast. Here's what we're watching:

  • On-device STT — Running transcription on the phone itself (no server round-trip)
  • Streaming STT — Real-time word-by-word transcription as the user speaks
  • Emotion detection — Understanding frustration, urgency, and satisfaction from voice tone
  • Voice biometrics — Identifying returning customers by their voice
  • Dialect-specific models — Moving beyond "Hindi" to "Bhojpuri Hindi" and "Marwari Hindi"
  • The Bottom Line

    Building multilingual voice AI for India is hard. The linguistic diversity is unmatched anywhere in the world. But that's also what makes it the most impactful place to build it.

    When a customer in Tier-3 Madhya Pradesh can speak to an AI agent in their local Hindi dialect and get their problem solved in 30 seconds—without downloading an app, without navigating menus, without waiting on hold—that's technology doing what it's supposed to do.

    We're not there yet. But we're getting closer with every conversation.

    Share this article
    VS

    Varun Sharma

    Founder

    Building the future of customer support at Agent Rush. Passionate about AI, product design, and creating delightful user experiences.