From the source
- IBM Research built a small voice agent on CUGA, its open-source agent harness, so farmers can ask questions aloud in Hindi, Tamil, Telugu, Gujarati or Marathi and hear answers drawn from an English-language handbook.
- The agent turns speech into text, searches a 154-page agricultural handbook, replies in two to four spoken sentences in the language of the question, and shows the source pages so the answer can be checked.
- CUGA handles model wiring, tool management, state and guardrails, and can switch between watsonx and
OpenAI with one setting; each question gets a fresh conversation thread so one person's language or context never leaks into another's.
- Speech comes from
Sarvam AI's cloud APIs, called directly from the browser, or from open-source models SraVaani and Svara running on the user's own server.
- The hard part is cross-lingual retrieval: CUGA's default embedding model is English-only, so a Hindi question retrieves the wrong passages and the agent quietly says the handbook doesn't cover it, with no error or warning.
- Switching to the multilingual embedding model intfloat/multilingual-e5-large fixes this, letting one English document serve every language without translated copies.
- The agent is available to try in CUGA Apps on
Hugging Face Spaces, and a step-by-step tutorial starts from an empty folder.






