Blogs

Technical writeups on AI systems, backend engineering, and applied machine learning.

How XLA Compiles Deep Learning Models to GPU Kernels: Fusion, cuBLAS, Triton, and Where FlashAttention Fits

XLA is a compiler, not a CUDA kernel library. This is my engineering understanding of how the XLA compiler turns a high-level tensor graph into optimized GPU kernels through fusion, cuBLA...

Read More →

Reinforcement Learning for LLMs: RLHF, Reward Models, Reasoning RL, and Agentic RL

How reinforcement learning actually trains modern LLMs — RLHF, reward models, PPO, DPO, GRPO, verifiable rewards (RLVR), reasoning RL, and agentic RL — as one connected engineering story,...

Read More →

Inside GenRec: How Netflix Turned an LLM into a Recommendation Ranker

A technical teardown of Netflix's GenRec — how an LLM-backed ranker replaces feature engineering with context engineering, and scores the catalog in a single prefill pass instead of gener...

Read More →

Prompt, Context, Loop, Graph: Why Context Engineering Is the Layer That Doesn't Go Away

Prompt, context, loop, and graph engineering aren't successive replacements. Here's why context engineering — and increasingly memory — stays the substrate that loops and multi-agent grap...

Read More →

AI Security in Production: Lessons from Securing a Highly Sensitive AI Platform

Lessons from securing a highly sensitive AI platform in production — AI-specific vulnerabilities, LLM pipeline security, and 5 HIGH severity findings uncovered by an AI-powered penetratio...

Read More →

Deciphering Agent-to-Agent Communication using Google's A2A Protocol

A deep dive into Google's Agent-to-Agent (A2A) protocol — how AI agents discover, connect, and collaborate securely across frameworks and vendors.

Read More →