{"slug": "an-indic-voice-agent-with-cuga", "title": "An Indic Voice Agent with CUGA", "summary": "IBM Research built a small voice agent on its open-source CUGA (ConfigUrable Generalist Agent) harness that lets speakers of Hindi, Tamil, Telugu, Gujarati and Marathi ask questions aloud and get grounded answers drawn from English documents. The team found that CUGA's default English-only embedding model returned five wrong passages for Hindi or Tamil queries with no error or warning, and fixed cross-lingual retrieval by switching to the multilingual embedding model intfloat/multilingual-e5-large, so one English document serves every language. The agent runs speech-to-text and text-to-speech as thin layers around CUGA's text-in, text-out core, using either Sarvam AI's cloud speech APIs or open-source SraVaani and Svara models on a self-hosted server, and is available to try in CUGA Apps on Hugging Face Spaces.", "body_md": "[🤖    106](https://huggingface.co/spaces/ibm-research/cuga-agent)  \n\n#### CUGA Agent\n\nConfigurable Generalist Agent, leader in AppWorld Benchmark\n\nMost useful knowledge is written and digitized in English. Most of the people who need it speak, and think, in their own regional languages like Hindi, Tamil, Telugu, Gujarati, Marathi and many others. Many would rather talk than type.\n\nWe built a small voice agent to close that gap, using [CUGA](https://cuga.dev) as the agent harness. This post explains the use case and what we learned. You can try it yourself in [CUGA Apps](https://huggingface.co/spaces/ibm-research/cuga-apps).\n\nA farmer asks a question aloud, in their own language: *how do I tell good seed from bad?* The agent:\n\nIf someone asks about cricket or coding, it politely steers them back to farming instead of making something up.\n\n[CUGA](https://cuga.dev) (ConfigUrable Generalist Agent) is IBM Research's open-source agent harness. It handles the model wiring, tool management, state and guardrails, so you write tools and a prompt instead of the agent loop. Here we use it as an embedded SDK inside a small web app, for three things:\n\n`agent.knowledge.search()`.\nThe key design idea is simple: **CUGA is a text-in, text-out brain.** Voice is two thin layers around it.\n\n```\naudio ──▶ speech-to-text ──▶ knowledge.search ──▶ CUGA (grounded answer) ──▶ text-to-speech ──▶ audio\n```\n\nBecause the agent only ever sees text, you can build and test it with plain text first, then add the ears and the mouth. You can also swap speech providers without touching the agent. We support two: Sarvam AI's cloud speech APIs, called directly from the user's browser, and open-source models (SraVaani for speech-to-text, Svara for text-to-speech) running on your own server.\n\nAdding speech is the easy part. The hard part is **cross-lingual retrieval**: a Hindi question has to find an English paragraph.\n\nSearch works by turning text into vectors and finding the nearest ones. CUGA's default embedding model is English-only, so it turns Hindi into vectors that carry almost no meaning. With it, a Hindi or Tamil question still retrieves five passages, but they are the wrong ones. The model, correctly told to answer only from what it was given, quietly says \"the handbook doesn't cover that\". Every layer behaves correctly, so there is no error and no warning.\n\nThe fix is to use a multilingual embedding model (we use `intfloat/multilingual-e5-large`), so the same meaning lands in the same place whatever the language. Conceptually simple, though wiring it into CUGA took a small workaround (shown in the tutorial). After that, one English document serves every language, and you do not need translated copies of anything.\n\nOur advice: before you tune a single prompt, ask your agent one question in a non-English language and check that it finds the right pages.\n\nA few small decisions mattered more than we expected:\n\n`OFF_TOPIC`, and the app swaps in a polite redirect. No second LLM call, so the voice path stays fast.\nYou do not need to set anything up to see it work. Open the voice agent in **CUGA Apps** on Hugging Face Spaces, ask a farming question in your language, and listen to the answer:\n\nWant to build one yourself? Our step-by-step tutorial, [Build an Indic Voice Agent with CUGA](https://huggingface.co/blog/ibm-research/build-an-indic-voice-agent-with-cuga.md), starts from an empty folder and adds each layer in turn.\n\nNothing here is specific to agriculture. Swap the handbook for scheme documents, health advisories, or legal guides, and you have a different assistant. Swap the speech provider and you change the deployment model, such as cloud for speed or on-premises for data sovereignty, without rewriting the agent.\n\nVoice-first, multilingual assistants are how digital services can reach people who were never served well by English-only text screens. Building them on an open, auditable harness, with answers tied to sources people can check, is how they earn trust.\n\nThis approach sits precisely at the intersection of what we are building with IBM Bharat Core. Bharat Core is an optimized AI stack built on top of IBM Sovereign Core, designed specifically for the Indian ecosystem to run Indic AI workloads securely on local infrastructure. When scaling a voice agent from a prototype to a secure enterprise application (like a vernacular KYC system or multilingual government bot), you need greater control over data sovereignty. By pairing CUGA’s flexible agent harness with Bharat Core’s ready-to-deploy Indic connectors and fine-tuned models, developers can build fully compliant, sovereign AI solutions tailored to India's unique linguistic diversity.\n\nIf you are building for India at scale, see the work happening at **[IBM Bharat Core](https://www.ibmbharatcore.info/)**.\n\nNew to CUGA? Here are some places to start:\n\nSpaces you can try in your browser:\n\nMore CUGA posts on the Hugging Face blog:", "url": "https://wpnews.pro/news/an-indic-voice-agent-with-cuga", "canonical_source": "https://huggingface.co/blog/ibm-research/an-indic-voice-agent-with-cuga", "published_at": "2026-11-25 10:22:09+00:00", "updated_at": "2026-11-25 10:46:56.618039+00:00", "lang": "en", "topics": ["ai-agents", "large-language-models", "ai-tools", "natural-language-processing"], "entities": ["IBM Research", "CUGA", "intfloat/multilingual-e5-large", "Sarvam AI", "SraVaani", "Svara", "Hugging Face Spaces", "CUGA Apps"], "also_reported_by": [], "takeaway": "Swapping CUGA's English-only default embedding model for intfloat/multilingual-e5-large lets a Hindi or Tamil query retrieve the correct English passages, where the default silently returned five wrong passages and a 'handbook doesn't cover that' answer.", "recommendation": {"advice": "Test your agent with a non-English query before tuning prompts; if retrieval returns wrong passages, replace the English-only embedding model with a multilingual one such as intfloat/multilingual-e5-large.", "playbook": "rag-retrieval", "playbook_url": "https://wpnews.pro/playbooks/rag-retrieval"}, "alternates": {"html": "https://wpnews.pro/news/an-indic-voice-agent-with-cuga", "markdown": "https://wpnews.pro/news/an-indic-voice-agent-with-cuga.md", "text": "https://wpnews.pro/news/an-indic-voice-agent-with-cuga.txt", "jsonld": "https://wpnews.pro/news/an-indic-voice-agent-with-cuga.jsonld"}}