A visual atlas of RAG patterns

When I was working through retrieval-augmented generation (RAG), the hardest part wasn’t any single technique — it was seeing how the pieces fit together. Naive retrieval, re-ranking, query rewriting, agentic loops: each makes sense on its own, but the relationships between them are what took a diagram to understand. So I built one.

What it covers

The atlas lays out the common RAG building blocks — stores, gates, LLM calls, agentic steps — and how they compose into recognizable patterns. Click a block to see what it does and where it fits.

Why this lives in “Labs”

These interactive documents come out of my learning sessions: each one is a self-contained simulation or map for a concept I was trying to understand. They live under Labs rather than as ordinary posts, because they’re meant to be used, not just read. This post is the written companion — the atlas itself is the artifact.

← All posts