Hasnain AliHire Me

Writing

AI Engineering Insights

In-depth articles on LLMs, RAG, KAG, and production AI engineering — written from real deployments, not theory.

System DesignApr 14, 202614 min read

117K Emails + 10K AI Calls in One Day: GCP Pub/Sub Architecture Deep Dive

Full engineering breakdown — four-stage Pub/Sub pipeline, parallel Cloud Run workers, distributed rate limiting, idempotency guarantees, and BigQuery observability. How we processed 117K leads autonomously.

System DesignApr 10, 20267 min read

How I Built an Agentic AI System That Generated $2M+ ARR

The LangGraph architecture behind 117K emails, 10K AI voice calls, and $2M+ in annual revenue — what worked, what surprised me, and what I would do differently.

Deep DiveApr 1, 20268 min read

KAG vs RAG: Why I Switched to Knowledge-Augmented Generation for Legal AI

A practical comparison from an AI engineer who built both in production for 20,000+ legal professionals. RAG failed. KAG delivered a 40% accuracy gain.

Healthcare AIApr 5, 20266 min read

AI for Healthcare: What Actually Works in Production

Clinical document RAG, voice AI for scheduling, HIPAA-aware pipelines. An honest breakdown of what delivers ROI in healthcare AI and what tends to fail.