
Hugging Face Blog
· 2 min read
An Indic Voice Agent with CUGA
Most 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.
We built a small voice agent to close that gap, using CUGA as the agent harness. This post explains the use case and what we learned. You can try it yourself in CUGA Apps.
The use case: a Farm Assistant
A farmer asks a question aloud, in their own language: how do I tell good seed from bad? The agent:
- Listens and turns the speech into text.
- Searches a 154-page agricultural handbook, which is written in English.
- Answers in two to four spoken sentences, in the language the question was asked in, using only what the handbook says.
- Speaks the answer back and shows the source pages, so the answer can be checked.
If someone asks about cricket or coding, it politely steers them back to farming instead of making something up.
Where CUGA fits
CUGA (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:
- One agent, any model. Switch between watsonx and OpenAI with one setting.
- The knowledge engine. Parse a PDF, chunk it, embed it, and search it locally with
agent.knowledge.search(). - Conversation threads. Each question gets a fresh thread, so one person's language or context never leaks into another's.
The key design idea is simple: CUGA is a text-in, text-out brain. Voice is two thin layers around it.
audio ──▶ speech-to-text ──▶ knowledge.search ──▶ CUGA (grounded answer) ──▶ text-to-speech ──▶ audio
The hard part is not the voice
Adding speech is the easy part. The hard part is cross-lingual retrieval: a Hindi question has to find an English paragraph.
Making it sound right and keeping it safe
Try it
CUGA Apps on Hugging Face →
Original source
This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on huggingface.co


