Skip to main content
A Malayalam voice agent on Bolna is a regular agent whose transcriber (speech-to-text) and voice (text-to-speech) are both set to Malayalam, with a prompt written in Malayalam script. This page lists the providers whose Bolna docs confirm Malayalam support, the language code to send, and a minimal API example. Bolna’s language code for Malayalam is ml. Malayalam is one of the languages Bolna detects automatically mid-call. If you want one agent that handles both English and Malayalam on the same call, start here for the Malayalam side, then follow Set up multilingual voice AI agents. For every language, see the languages overview.

Choose a Malayalam transcriber

The transcriber turns the caller’s Malayalam speech into text. Send the plain code ml as transcriber.language, not a locale such as ml-IN (Create Agent). For callers in India, the Sarvam page calls Sarvam usually the strongest transcriber choice. Compare all transcribers in Choosing a speech-to-text provider.

Choose a Malayalam voice

The voice (synthesizer) speaks the agent’s replies. Most providers require language inside provider_config, so set it to ml (Create Agent). Voice catalogs change over time. Confirm a valid model and voice_id pair with List voices, or preview voices in the Languages tab. See Choosing a text-to-speech provider for a wider comparison.

Write the prompt for Malayalam

  • Write in Malayalam script, not romanized Malayalam. നമസ്കാരം! സുഖമാണോ? rather than Namaskaram! Sukhamano?. Native script gives more accurate pronunciation and stops the text being treated as English.
  • Keep common English loanwords in Latin script. Callers say “order”, “OTP” and “support ticket” in English, so keep those words as they are inside Malayalam script text instead of forcing a pure Malayalam translation.
  • Set gender and politeness explicitly. These are often carried by verb forms, so name the forms you want for the agent’s persona rather than writing “be polite”.
  • Read alphanumerics character by character, in English. For OTPs, registration numbers and order IDs, this avoids misheard and mispronounced digits.
  • Leave language switching out of the prompt. Bolna switches languages itself.
The full guidance, with examples, is in Writing prompts in non-English languages.

Create a Malayalam agent over the API

This uses the same body shape as the API quickstart, with Sarvam for both transcription and voice.
1

Write the agent config

Save this as agent.json:
The voice is priya, one of the 16 bulbul:v3 voices that work in every Bulbul language. sampling_rate and encoding are left out because Bolna sets them for Sarvam to match the telephony provider.
2

Create the agent

The response contains the new agent_id.
3

Place a test call

Call the agent with POST /call, as in the API quickstart, and check the transcript with GET /executions/{id}.
To use another provider, swap the transcriber or synthesizer block for one from the provider’s page. Every combination is validated when you create the agent: an unsupported transcriber model and language pair returns 400 Provided language: <language> is not available for the model: <model>.

Improve recognition with keywords and context

Brand names, product names and place names are where Malayalam transcription most often goes wrong. Bolna has two transcriber fields for this:
  • keywords: a comma-separated list of terms callers say.
  • context: a sentence or two describing the call.
Support for Malayalam transcribers:
  • Sarvam: keywords on Sarvam needs saaras:v4, and takes up to 50 terms of up to 64 characters each. context works on every Saaras model.
  • Soniox: reads both. context can run to about 10,000 characters.
  • Smallest AI: reads keywords, with an optional weight per term such as Bolna:5, up to 100 terms. It has no context field.
  • Gemini is not in the provider support table for these fields.
Sarvam transcribes English words in the native script of the call’s language. On a Malayalam agent, a boosted term such as PhonePe can come back in Malayalam script rather than Latin script.
See Keywords and context for the full provider support table and how to write good terms.

Fix pronunciation of numbers and names

A pronunciation list tells the voice how to say a word: an acronym, a brand name, a place name, or a number. Pronunciation lists work on ElevenLabs and on Cartesia sonic-3 and newer; of these, only ElevenLabs is confirmed for Malayalam. On other providers the list is ignored. Write how a word should sound in Malayalam script, and keep in mind that each language has its own list. See Control how your agent pronounces words for the dashboard steps, the pronunciation_rules API field and limits.

Serve Malayalam and English on one agent

Many callers move between Malayalam and English. Bolna handles this in two ways:
  • Code-mixing within a sentence. Sarvam and Soniox transcribe callers who mix English into Malayalam; on Soniox, pick the multilingual option. A sentence with a few English words is still treated as Malayalam.
  • A full language switch. Add both English and Malayalam to one agent with multilingual_config, each with its own transcriber, voice and prompt. Malayalam is one of the languages Bolna detects automatically, so with the default “requested or auto detected” trigger the agent follows a caller who moves into Malayalam. The multilingual quickstart shows the API shape.
On a multilingual agent, you can also:
Tamil, Telugu, Kannada and Malayalam are closely related, so Bolna decides a switch between them from the grammar of the whole sentence, not a single word. A switch inside this group needs a clearer signal than English to Malayalam.

Notes

  • On Sarvam, use bulbul:v3 for Malayalam. bulbul:v4-flash has no Malayalam voices.
  • Voice ids do not carry across Bulbul generations. A bulbul:v4-flash voice fails on bulbul:v3 with 400 Provided voice: <voice> is not available for the provider: sarvam, so pick one of the 16 bulbul:v3 voices.

Phone numbers for Malayalam agents in India


Next steps

Languages overview

Every language with a guide, and its providers

Multilingual setup

Indian language support by provider, and per-language voices and prompts

Sarvam speech-to-text

Saaras models, language codes and biasing limits

Sarvam text-to-speech

Bulbul models and voice catalogs per language

Start a call in a language

Pick the opening language per call, batch row or inbound caller

How language switching works

What does and doesn’t trigger a mid-call switch