Agent Options
The repository contains two voice-agent implementations.
Run one agent service at a time for the calling flow you want.
Sarvam Agent
Command:machine_interestlocationbudgetfirst_productunits_per_daylocal_demandnew_or_expandpartnershipoperators_neededown_brandseriousnessfactory_visitvideo_demo
OpenAI Realtime Agent
Command:product_interest:carbon cleaning,battery regeneration,car wash,franchise, orunsurelocationbudget:below 10 lakhs,10-25 lakhs, or>25 lakhs
Save Behavior
Both agents:- Build a transcript/history during the call.
- Extract structured qualification from the transcript.
- Remove null values.
- Save the JSON to
calls.qualification. - Mark the call
called. - Hang up or finish the room.
Language Behavior
agent_realtime.py contains detection and reply guidance for English and Indian-language user intent, including local-language and romanized-language handling. It also normalizes saved qualification values back to English-only structured data so downstream CRM payloads stay consistent.