Speech surrounds a text-based agent

Speech recognition first turns the question into text. Retrieval selects handbook passages, CUGA generates a grounded answer, and text-to-speech produces audio. The authors constrain responses to two to four sentences and show source pages for checking. CUGA is embedded as an SDK handling models, tools, state and guardrails. Keeping these responsibilities separate allows developers to test the text workflow before adding speech, and to replace speech providers without rewriting the agent loop. It also makes each component’s failure easier to distinguish.

Retrieval can fail without raising an error

The authors found that the default English-only embedding model still returned passages for Hindi or Tamil questions, but selected irrelevant text. An agent constrained to the supplied evidence would then say the handbook did not cover the question. Every layer appeared operational despite an unhelpful result. The team selected intfloat/multilingual-e5-large for cross-language retrieval. This changes the embedding and search component; it is neither LoRA training nor a newly fine-tuned generative model. The example does not require translated copies of the entire handbook.

Local search does not imply an entirely local stack

IBM describes local knowledge search and two speech paths: Sarvam AI cloud APIs, or SraVaani speech recognition and Svara synthesis on the operator’s server. In the cloud path, the browser contacts the speech service directly. That avoids passing the key through the application server, but does not mean audio stays on the user’s device. The generative backend is separately configurable, including watsonx or OpenAI. The location and configuration of each layer determine the actual data route and infrastructure requirements.

Grounding and speech formatting have limited guarantees

The example instructs the model to answer from retrieved passages and redirects unrelated topics. Simple input checks catch some requests; the application handles a special reply marker for others. Formatting removes structures that sound awkward when spoken. These are mechanisms described by the authors, not evidence that hallucinations or information leakage are impossible. Displaying source pages supports verification but does not by itself measure retrieval accuracy, multilingual coverage or speech quality. The post offers no comparative evaluation covering every supported language.

Licenses and reproducibility boundaries

CUGA’s repository uses Apache 2.0, while the multilingual-e5-large model card lists MIT. The harness license does not automatically cover every speech model, source document or cloud service. The embedding card also states that long text is truncated to 512 tokens, a relevant constraint when chunking the handbook. We read the article, repository documentation, license and relevant model-card sections. The linked step-by-step tutorial returned 404, so we cannot treat that tutorial as verified implementation evidence. We installed no code and ran no voice demo.