An Indic Voice Agent with CUGA

In one sentence

IBM Research details how they built a voice agent using the open-source CUGA harness and multilingual embeddings to answer Indian regional language queries from an English handbook.

Key points

  • The agent uses a text-in, text-out core wrapped in speech-to-text and text-to-speech layers, supporting Sarvam AI or open-source models.
  • To solve cross-lingual retrieval, the team uses the intfloat/multilingual-e5-large embedding model so Indic queries can match English handbook passages.
  • To optimize for spoken output and low latency, the system strips Markdown formatting and uses lightweight off-topic guardrails without extra LLM calls.
  • The approach can pair with IBM Bharat Core for enterprise sovereign AI applications in healthcare or government without translating source documents.

In depth

An AI-written overview of the original article, not the article itself.

According to a Hugging Face Blog post, IBM Research has built an Indic voice agent using its open-source harness CUGA. The project aims to help regional language speakers in India access English-only digitized knowledge through natural speech.

How the Voice Agent Works

In the demonstrated use case, a farmer asks a question aloud in a regional language such as Hindi or Tamil. The agent converts speech to text, searches a 154-page English agricultural handbook, and replies in two to four spoken sentences in the user's language while displaying source pages.

CUGA serves as a text-in, text-out brain embedded in a web app, managing model switching between watsonx and OpenAI, local PDF search, and isolated conversation threads. Voice sits as two thin layers around it, supporting either Sarvam AI cloud APIs or self-hosted open-source models SraVaani and Svara.

Solving Cross-Lingual Retrieval and Voice UX

The main technical hurdle is cross-lingual retrieval. Because CUGA's default English embedding model fails silently on Indian languages, the team switched to intfloat/multilingual-e5-large, allowing one English document to serve all languages without translation.

Several practical choices keep the voice experience smooth and safe. A formatter strips markdown and symbols that sound unnatural when spoken, API keys stay in the browser when using Sarvam, and off-topic queries trigger an OFF_TOPIC tag for a fast redirect without a second model call.

Broader Applications and Sovereign Scaling

The architecture is domain-agnostic; swapping the handbook adapts it for health advisories, legal guides, or government schemes. For enterprise scale and data sovereignty, CUGA pairs with IBM Bharat Core, an AI stack tailored for India's linguistic diversity.

Read originalOpens huggingface.co

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source