Voice AI · Real-time systems
Real-Time AI Voice Agents
A voice agent platform that holds live phone conversations through speech-to-text, an LLM, and text-to-speech, in multiple Indian languages, across millions of calls.
- Role
- Engineering Manager — AI Voice Systems & Platform Architecture
- Period
- May 2024 — Jul 2025
The product
A real-time AI voice bot that handles natural conversations across several business workflows. Audio streams both ways during a live call: speech-to-text (STT) turns the caller’s speech into text, a large language model (LLM) decides what to say, and text-to-speech (TTS) speaks the reply.
My role
I led the design and development of the platform and a team of backend engineers, and owned delivery from design to deployment.
What I built and led
- A microservices architecture in Node.js and Python, with Redis, RabbitMQ, and PostgreSQL.
- Deployment on Kubernetes (GKE), with autoscaling for thousands of concurrent calls, plus CI/CD.
- STT and TTS pipelines for real-time audio, supporting multiple Indian languages.
- Custom AI agents and workflow engines that use LLMs to manage the conversation flow, including digressions and re-prompts.
- Monitoring, analytics, and retry mechanisms for reliability in production.
The hard part: response time
In a phone call, every pause is noticeable. Response time was brought under 2000 ms using asynchronous streaming, caching, and hybrid vector search with Weaviate.
Outcome
- Response time under 2000 ms.
- The platform ran across millions of calls in production.
A version you can run
The production code is private. Real-Time Voice Agent is a separate, open-source implementation of the same kind of pipeline. It runs on a laptop with local models, and it measures where the response time goes. On an Apple M4 Pro, the median from the end of the caller’s speech to the first reply audio was 1.2 seconds, and half of that was waiting for silence.