Series · 4 parts

Building production voice agents that don't embarrass you

Updated Apr 2026tutorial

A voice agent that handles negotiations with real humans is not the same as a chatbot. Here's the architecture that keeps Chasyr production-ready.

The state machine

Every call follows a finite state machine. Greeting → identity check → reason disclosure → negotiation → outcome → compliance close. The LLM generates natural language; the state machine gates which states are reachable. This single constraint eliminates 80% of failure modes.

Audio pipeline

Real-time audio requires careful buffering. We use Deepgram for transcription, pipe to Claude for reasoning, and use Elevenlabs for voice synthesis. Latency matters more than fidelity.

Fallback design

When the LLM gets confused, we escalate. No recovery attempts, no retry loops. A warm transfer to a human is cheaper than a bad negotiation.

More resources

Tutorial

A pragmatist's guide to RAG (with code)

RAG is not a silver bullet. Here's when it works, when it doesn't, and how to know which problem you're actually solving...

Updated Mar 2026
Tutorial · Open source

AI-first PR review, codified

Every PR on my team gets reviewed by Claude before a human sees it. Here's the exact prompt and CI setup.AI code review ...

github.com/isheraz/ai-pr
Starter kit

Next.js × Supabase × Stripe - a deployable starter

Every SaaS I build starts from this template. Auth, billing, database, and AI hooks pre-wired. Here's what's included an...

github.com/isheraz/saas-kit
Training Session

From Pre-sales to Production: Solutions Architect, decoded

How to move from pre-sales engineering into an architecture role without taking a step backward.Pre-sales teaches you to...

Mind Maze · Sep 2025
Curated list

Books that changed how I architect systems

A short, opinionated list of books that shaped how I think about systems.Most architecture books are verbose and outdate...

12 books
Stack

Tools I actually use, daily

My exact dev stack. Updated quarterly.EditorVS Code with Copilot. The debugger integration alone is worth it.TerminalFis...

Updated Q2 2026
Reading list

AI-engineering reading list

Papers, blog posts, and talks every AI-focused engineer should read.FoundationStart with Attention Is All You Need if yo...

40+ links
Career guide

Resources for engineers from Pakistan

Remote work, visa sponsorship, OSS opportunities, and the things I wish someone had told me ten years ago.Getting remote...

Free