AI Engineer · Voice AI · Infrastructure
Hi, I'm K. Boopathi, an AI engineer who writes about what breaks in production.
I started as a full stack developer, then got the chance to work on infra and DevOps, where I got hands-on experience scaling systems. For the past two years I've been building voice agents.
Case files
Real incidents from work, written up while I still remembered the details. I write them like detective stories because that’s what debugging feels like.
One command on a live collection of 200 million records. Connections went up 2,900% and the database stopped responding.
MongoDB · Self-inflicted The AI that queried a million documentsOur agent called a tool with empty parameters, which turned into find({}) across a million documents in a 1GB pod.
I scanned a cashback QR code out of curiosity. By changing one query parameter, I could see the personal data of 233,145 users.
Security · Curiosity I blocked the attacker. It was me.1,000 requests a second hit our landing page. I started blocking IPs and ended up blocking our own internal network.
Incident · Humbling A million NXDomain errorsKubernetes was making over a million failed DNS lookups. The cause was five characters of config.
Kubernetes · DNS Heroku to Kubernetes, the honest versionEvery problem we hit moving to Kubernetes: cold starts, race conditions, failing probes and jobs restarting on their own.
Migration · Series hubWhat I go deep on
Voice agents are what I know best. The rest came up while working on them.
Twilio media streams, keeping latency under 500ms, picking STT and TTS, turn-taking, and prompt caching costs.
Deepest expertise Doubling a cache hit rateA 7,200-token prompt, a 1,024-token cache floor, and first-turn hit rates that went from 24% to 62% on outbound calls.
Performance Inside ElevenLabs' agentsI routed their conversation agent through my own LLM proxy to see the system prompts it sends.
Reverse engineering Prompt engineering, mechanicallyHow tokens, context windows and training affect what the model gives back.
From first principles The non-English LLM taxHindi uses about five times more tokens than English. At 10,000 messages a day, that's an $82,000 difference.
LLM economics Four years at a startupIntern to team lead to infrastructure, and what I learned on the way, including a senior who told me "I am the documentation".
CareerNotes
I learn something new most weekends and forget it just as fast, so I write it down here. Most notes are sorted by topic. Some are rough and unfinished.
Browse all notes or start from a topic:
Second brain
AI changes too fast for me to keep in my head, so I keep notes as a graph where each idea links to related ones. Two graphs so far. Open the graph and follow the links:
The bigger one. Latency, STT and TTS, turn-taking and telephony.
AI engineeringNewer. LLM behaviour, evaluation, retrieval and agent patterns.
Let’s connect
If you’re building voice agents, debugging something odd in production, or think I got something wrong here, message me.