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.
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.
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.
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.
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...
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 ...
Every SaaS I build starts from this template. Auth, billing, database, and AI hooks pre-wired. Here's what's included an...
How to move from pre-sales engineering into an architecture role without taking a step backward.Pre-sales teaches you to...
A short, opinionated list of books that shaped how I think about systems.Most architecture books are verbose and outdate...
My exact dev stack. Updated quarterly.EditorVS Code with Copilot. The debugger integration alone is worth it.TerminalFis...
Papers, blog posts, and talks every AI-focused engineer should read.FoundationStart with Attention Is All You Need if yo...
Remote work, visa sponsorship, OSS opportunities, and the things I wish someone had told me ten years ago.Getting remote...