Writing
Engineering Logs & Articles
Thoughts, tutorials, and deep dives on building autonomous agents, designing RAG systems, and shipping production web applications.
Building AI Applications with Next.js: From LLM Calls to Production AI Systems
Architecting production-ready AI applications in Next.js: streaming text and UI, multi-step tool execution, structured output validation, guardrails, and observability.
Understanding RAG: From Embeddings to Production-Ready AI Systems
A deep architectural breakdown of Retrieval-Augmented Generation: embedding geometry, chunking math, hybrid retrieval, cross-encoder reranking, and production evaluation.
Building a Production-Ready SaaS with Next.js
A battle-tested architectural blueprint for engineering scalable, multi-tenant B2B SaaS applications using Next.js App Router, Drizzle ORM, PostgreSQL, Better Auth, and Stripe.
Building AI Agents That Actually Work
A practical guide to building reliable AI agents with tools, memory, and guardrails.
Building Production RAG Systems
A practical, battle-tested guide to architecting retrieval-augmented generation pipelines that withstand real enterprise workloads.
AI Agents Explained: From ReAct Loops to Distributed Protocols
Deconstructing autonomous AI agent systems: deterministic state machines, memory hierarchies, tool protocols, and multi-agent coordination.
Shipping Your First Production AI Engineering System
A blueprint for transitioning from prompt prototyping to architecting reliable, observable, and cost-efficient AI software systems.