📰 Key Takeaways

IBM Research’s open-source agent framework CUGA (ConfigUrable Generalist Agent) was used to build an Indic voice agent. The goal is to let farmers who speak regional languages like Hindi, Tamil, Telugu, Gujarati and Marathi ask questions out loud against an agricultural knowledge base that’s digitized in English, for example “how do I tell good seeds from bad seeds.” If someone asks about something unrelated, like cricket or programming, the agent politely steers them back to farming instead of making up an answer. CUGA handles model integration, tool management, state and guardrails, so developers only need to write the tools and prompts.

The core design treats CUGA as a “text in, text out” brain, with voice as just two outer layers: audio is first turned into text, goes through knowledge.search for retrieval, then CUGA generates a grounded answer, and finally that answer is converted back to speech. This means you can develop and test with plain text first, add voice later, and even swap voice providers without touching the agent. It currently supports Sarvam AI’s cloud speech APIs (called directly from the user’s browser), as well as self-hosted open-source models (SraVaani for speech-to-text and Svara for text-to-speech).

The real challenge is cross-language retrieval. CUGA’s default embedding model only supports English, so it turns Hindi and Tamil into vectors with almost no semantic meaning. It still pulls back five passages, but they’re all wrong. Since the model is required to answer only from the provided content, it quietly says “the manual doesn’t cover this,” with no error or warning anywhere along the way. The fix was to switch to the multilingual embedding model intfloat/multilingual-e5-large, so the same meaning lands in the same place across languages. One English document can then serve every language, with no translated copies needed. The author recommends that before you tweak any prompt, you ask one question in a non-English language and confirm it finds the right page. Also, for off-topic questions, the model outputs an OFF_TOPIC marker and the app swaps in a polite redirect, with no second LLM call needed, which keeps the voice flow fast.


💬 JudyAI Lab Take

This story is worth your attention because it shows the trap people most easily miss when shipping voice AI: the model throws no error, yet it quietly gives the wrong answer, “the manual doesn’t cover this,” because the embedding model only supports English.

For AI builders, this case offers two lessons. First, CUGA treats the agent as a “text in, text out” brain and voice as just two outer layers, so you can develop and test with plain text first, add voice afterward, and swap voice providers without touching the agent. Separating core logic from the input/output interface is a design mindset that makes a system easier to debug and easier to replace. Second, the most dangerous failures are the ones with no error or warning. The default embedding model turned Hindi and Tamil into vectors with almost no semantic meaning. Retrieval still returned five passages, just all irrelevant, and because the model is required to answer only from the provided content, it looked honest when the system was actually broken. After switching to a multilingual embedding model, one English file can serve every language, with no translated copies.

Next time, before you adjust a prompt, ask one question in a non-English language and check that the system finds the right page. Then you can decide whether the problem is the prompt or the retrieval.


📅 Source Info


🔗 Further Reading