CUGA adds multilingual embeddings and one-setting model switching for Indic voice agents
CUGA replaces the default English‑only embedding model with the multilingual‑e5‑large model for cross‑lingual retrieval and introduces a single configuration setting to switch between watsonx and OpenAI models, all in an open‑source harness released by IBM Research.
CUGA is an open‑source agent harness released by IBM Research. The release replaces the default English‑only embedding model with the multilingual‑e5‑large model for cross‑lingual retrieval and adds a single configuration setting that lets developers switch between watsonx and OpenAI models.
CUGA manages model wiring, tool integration, state handling, and guardrails, so developers only need to write tools and prompts. The configuration option for model switching is applied through a single setting, enabling rapid changes between watsonx and OpenAI back‑ends.
The knowledge engine parses PDFs, chunks the content, creates embeddings, and performs local search via agent.knowledge.search(). By default the engine now uses the intfloat/multilingual-e5-large embedding model, replacing the previous English‑only model to improve non‑English retrieval. This is a breaking change that replaces the default English‑only embedding model with intfloat/multilingual-e5-large.
An Indic voice agent was built as an embedded SDK inside a web application. The agent converts spoken questions in Hindi, Tamil, Telugu, Gujarati and Marathi to text, searches a 154‑page English agricultural handbook, and replies in two to four spoken sentences in the original language. Speech‑to‑text and text‑to‑speech are supplied either by Sarvam AI cloud APIs or by the open‑source SraVaani (STT) and Svara (TTS) models hosted on the developer’s server. Each user query runs in an isolated conversation thread, preventing language or context leakage, and off‑topic queries receive an OFF_TOPIC prefix and are redirected without a second LLM call.
When the Sarvam option is used, API keys are sent directly from the browser, so the server never sees the user’s key. The voice agent can be tried instantly in CUGA Apps on Hugging Face Spaces without any setup. A step‑by‑step tutorial titled “Build an Indic Voice Agent with CUGA” is available for developers. CUGA is released under the Apache 2.0 license and its source code is hosted on GitHub.