Skip to main content

Overview

In the Indian real estate market, connecting with prospective buyers in their native regional language significantly increases engagement, trust, and site visit conversion. Sarvam AI specializes in language models and neural speech synthesis trained specifically on Indic languages and accents. In BrokerOS, the Sarvam integration lives in integrations/voice/agents/sarvam/src/index.ts under the Turborepo workspace package @brokeros/int-agent-sarvam. BrokerOS administrators configure Sarvam directly through the Web UI at Dashboard -> Marketing -> Voice -> Settings. Because Sarvam is a streaming voice synthesis and transcription engine without a standalone PSTN trunk, BrokerOS couples Sarvam with local carrier bridges (Exotel or Vobiz) to execute telecalling campaigns compliant with TRAI regulations.

Architecture and Dispatch Sequence

The Sarvam integration implements the IVoiceAgentProvider contract from @brokeros/types. Outbound calls route through a PSTN Carrier Bridge while speech synthesis streams from Sarvam’s Bulbul v3 engine.

Step 1: Obtain Credentials from Sarvam AI

  1. Log into your account at dashboard.sarvam.ai.
  2. Navigate to API Keys in your user dashboard.
  3. Generate and copy your subscription key.

Step 2: Connect in the BrokerOS Web Dashboard

In your BrokerOS dashboard:
  1. Navigate to Dashboard -> Marketing -> Voice -> Settings.
  2. Select the Gateways & Voice Platforms tab (/dashboard/marketing/voice/settings?tab=providers).
  3. Under the AI Voice Platforms sub-tab, click Add Platform and select Sarvam AI (India).
  4. Fill in the modal connection fields:
  1. Click Save & Verify Engine. BrokerOS verifies the key, encrypts it via AES-256-GCM, and saves it in VoiceAgentIntegration.
  2. Navigate to the Telephony Gateways sub-tab and ensure you have an active Exotel or Vobiz carrier line connected to handle the physical outbound PSTN dialing.

Supported Indic Languages & Accents


Writing Bilingual & Hinglish Real Estate Scripts

Indian property buyers frequently code-switch between Hindi and English during sales calls. Sarvam’s Bulbul v3 handles natural colloquial phrases seamlessly:

Integration Implementation Details

The Sarvam integration source code is located in integrations/voice/agents/sarvam/src/index.ts and integrations/voice/agents/sarvam/src/sarvam-tts.ts.

Bulbul v3 Neural Voice Synthesis

The synthesizer calls Sarvam’s /text-to-speech endpoint with 24kHz sampling and selected voice personas: