Welcome to Gen-AI

👋 I’m Sai Boorlagadda, a Principal Engineer and ASF Member building agentic platforms. I write to fix the impedance mismatch between AI research and software engineering—providing the missing context and systems thinking that builders need to turn papers into production. More about me →

Agent Blindness: What Happened When I Pointed an Agentic Loop at My Own Role

Most agentic loops point outward. You wrap a repository, CI logs, and an observability stack in legible tools, hand an agentic harness a clear goal, and let the loop iterate until the tests pass and the feature ships. We spend months making software systems legible to agents so they can hill climb and build software faster. Forget about software factories and outbound agentic loops for a second. What happens if we invert the loop onto ourselves?...

December 3, 2026 · Sai

How Prefix Caching Changes the Cost of a Coding Agent

The core of a coding agent can be surprisingly small. Give a model a task and a few tools, let it choose an action, return the result, and repeat. A search tool, a file reader, an editor, and a way to run tests can take it a long way. The control flow can look roughly like this. This is pseudocode; permissions, error handling, and execution limits still need their own implementation:...

September 27, 2026 · Sai

Behavior as the Credential: Why Static Auth Fails AI Agents

Traditional authorization hands a token to an AI agent and hopes for the best. But when an agent is hijacked via prompt injection, the static token offers zero defense. This post argues that behavior must become the credential—a real-time enforcement mechanism that treats observability as authorization, catching semantic anomalies that RBAC and ABAC simply cannot detect.

April 28, 2026 · Sai

I Shipped Code I Don't Understand — My Professional Coming Out Moment

As a Senior IC, I carry this massive expectation to be the guardian of the code. But I’ve almost entirely stopped looking at or reviewing code. My workflow has completely flipped — from writing and reviewing syntax to specs, agent execution, and validation. This is my professional coming out moment.

April 9, 2026 · Sai

RAG System Architecture: The "Union + Rerank" Pipeline

The weighted sum approach to hybrid search is fragile and breaks in production. This article introduces the Nomination → Union → Selection architecture: a deterministic pipeline that combines dense and sparse search without magic weights, then uses a Cross-Encoder to rerank results with surgical precision. Learn how to build RAG systems that scale.

February 2, 2026 · Sai

Beyond Vectors: The Case for Sparse Embeddings & SPLADE

Dense vectors are magical at capturing semantics, but they fail when you need exact matches. This article unpacks the Vocabulary Mismatch Problem and introduces SPLADE—a neural approach that combines the precision of keyword search with the intelligence of transformers. Learn why sparse embeddings matter and how to architect hybrid search for production.

February 1, 2026 · Sai

RAG Systems Engineering: The Structure-Aware Data Pipeline

Building production RAG systems is fundamentally an ETL (Extract, Transform, Load) challenge. We explore why documents must be treated as hierarchical data structures, not string soup. Discover structure-aware splitting, metadata injection, and multi-resolution indexing strategies that transform data quality and eliminate hallucinations.

January 31, 2026 · Sai

Context Plumbing: From Request-Response to Event Sourcing for Agents

We are watching the AI industry commit the original sin of the web all over again. For the last two years, we’ve obsessed over Context Engineering, treating Agents like static, PHP-era websites. When a user asks a question, the system performs a “database fetch” on demand, pulling context just in time to generate an answer. We haven’t reinvented software; we’ve just replaced the mouse click with a prompt, keeping the same brittle, pull-based architecture underneath....

January 30, 2026 · Sai Boorlagadda

How LLMs Read?

Everyone talks about the Neural Network, but the Tokenizer is the unsung hero of LLMs. This post explains what a Tokenizer actually does, why we use Byte Pair Encoding (BPE), and how these tokens bridge the gap between rigid integers and meaningful vector embeddings in models like GPT-4.

January 16, 2026 · Sai

The Thesis – Why Dictation is the New Interface

High-bandwidth input is the bottleneck of modern computing. Voice agents are for delegation; Voice dictation is for creation. This post explores why we need ‘Agentic Dictation’ to match the speed of our thoughts.

December 29, 2025 · Sai