Skip to main content
The voice agent is a research preview. Its answers can be wrong; use it to explore.
You will build: a terminal loop. Press Enter, speak in Hausa for up to eight seconds, and hear Nadia answer. You will need:
  • a key with the Voice agent · converse scope (create one);
  • Python 3.9+ and the Python library (pip install namu-ai);
  • ffmpeg to record from the microphone, and ffplay (installed with it) to play the answer.
1

The loop

talk.py
On Windows, replace Microphone with your device name from ffmpeg -list_devices true -f dshow -i dummy.
2

Talk

Try “Sannu, yaya kike?” (Hello, how are you?).
Each turn stands alone: the API does not remember earlier turns. Each turn counts the audio you sent plus Nadia’s reply.

Next

Voice agent

What it can and cannot do yet

Tell us what you need

Feedback shapes the agent