Annus Shabbir
Blog

Writing & notes.

Thoughts on production AI/RAG systems, LLMs, agentic AI, and full-stack engineering.

Cover art for How RAG Actually Works (It's Mostly Retrieval)
5 min read

How RAG Actually Works (It's Mostly Retrieval)

A plain-English guide to how RAG works. Retrieval-augmented generation is really a prompt trick, and the retriever is where your system succeeds or fails.

  • RAG
  • LLMs
  • AI Engineering
Cover art for Hybrid Search: Vector Search Alone Isn't Enough
5 min read

Hybrid Search: Vector Search Alone Isn't Enough

Semantic search quietly misses exact terms. Here's why hybrid search, combining BM25 keyword search with vector search plus RRF, gives RAG far better retrieval.

  • RAG
  • Vector Search
  • AI Engineering
Cover art for Hydration Explained: SSR, CSR, and Why It Breaks
6 min read

Hydration Explained: SSR, CSR, and Why It Breaks

A plain-English guide to hydration in React and Next.js: what CSR and SSR really do, why hydration errors happen, and how to fix the server-client mismatch.

  • Next.js
  • React
  • Web Development