RAG & Retrieval — AI Agents, Skills & Tools
Retrieval-augmented generation (RAG), embeddings, chunking, vector databases, and document parsing — guides, tools, and skills for grounded AI apps.
70 items
RAG Pipeline Engineer
Use this agent to design, build, and harden a production retrieval-augmented generation (RAG) pipeline end to end — ingestion, chunking, embeddings, indexing, retrieval, reranking, and grounded generation — with evals that prove each stage works. Examples — "stand up RAG over our docs", "our RAG hallucinates and misses obvious answers, fix the pipeline", "take our prototype RAG to production with evals and citations".
Retrieval Engineer
Use this agent to raise the retrieval quality of a search or RAG system — recall and precision, hybrid (dense + sparse) search, reranking, query transformation, and metadata filtering — measured against a labeled eval set. Examples — "our RAG retrieves irrelevant chunks, fix recall", "add hybrid search and reranking and prove it helps", "queries with acronyms/IDs return nothing, fix it".
Vector Search Engineer
Use this agent to design, build, and tune the vector-database layer of a search or RAG system — schema and index design (HNSW/IVF + quantization), metadata/payload filtering, hybrid (dense + sparse) search, and ingestion/upsert pipelines — sized to a real latency, recall, and cost budget. Examples — "set up pgvector for our docs with HNSW and filtered search", "our Qdrant queries are slow and recall dropped after quantization", "add metadata filtering so search only returns the current tenant's documents".
Chunking Strategy Optimizer
Find the chunking strategy and size that maximizes retrieval quality for a specific corpus, by sweeping configurations against a fixed eval set instead of guessing. Use when RAG answers miss obvious content, when standing up a new corpus, or when picking chunk size/overlap.
Embedding Set Inspector
Diagnose the health of an embedding set before blaming the retriever — checking normalization, dimensionality, near-duplicates, degenerate vectors, and corpus/query distribution mismatch. Use when retrieval quality is poor, after a re-embed, or before shipping a new index.
Graphrag Scaffolder
Stand up a GraphRAG experiment the disciplined way: audit whether your failed queries are actually connection-shaped, scope a minimal entity/relationship ontology, build extraction → graph → community-summary indexing on a corpus slice, and measure against vector-RAG baselines before committing. Use when multi-hop or whole-corpus questions keep failing plain RAG.
Embedding Index Tuner
Tune a vector index — HNSW graph parameters and quantization — to hit a recall target at the lowest latency and memory, by sweeping settings against a fixed query set instead of trusting defaults. Use when vector search is slow or memory-hungry, when recall dropped after enabling quantization, or when standing up an index and you need defensible parameters.
The Best Document Parsers for RAG in 2026: LlamaParse vs Docling vs Unstructured vs Reducto
LlamaParse, Docling, Unstructured, Reducto, Marker and Mistral OCR compared on deployment, license, OCR, tables and output, with a verdict for each.
Best RAG Frameworks in 2026
The RAG frameworks worth building on in 2026 — LlamaIndex, LangChain, LangGraph, DSPy, Dify and Mastra — plus the retrieval layer that decides answer quality.
Best Web Search APIs for AI Agents in 2026: Tavily vs Exa vs Brave vs Parallel
Context.dev, Tavily, Exa, Brave, Parallel, Keenable, Jina, Firecrawl and String compared on search, extraction, answers, index ownership and MCP servers.
Exa vs Tavily: Web Search APIs for AI Agents (2026)
Exa vs Tavily compared — neural semantic discovery vs agent-optimized RAG answers, pricing, MCP support, and which web search API fits your stack.
LangChain vs LlamaIndex in 2026: Agents or Data?
The classic framework confusion resolved — LangChain's agent loop and ecosystem vs LlamaIndex's data-and-documents depth — and when you'd genuinely use both.
pgvector vs Pinecone: Do You Need a Vector Database? (2026)
pgvector vs Pinecone with SQL and SDK examples: HNSW indexes, filtered search, dimension limits, read-unit math at 1M and 10M vectors, and when to move.
Qdrant vs Pinecone: Which Vector Database? (2026)
Qdrant vs Pinecone compared — open-source control vs fully managed serverless, filtering and hybrid search, cost shape, and which fits your RAG stack.
Weaviate vs Pinecone: Open-Source vs Managed Vector DB (2026)
Weaviate vs Pinecone with query code: one-call hybrid search vs filter-then-rank, tenants vs namespaces, cloud tiers, and what each one meters.
Agentic RAG: When Retrieval Needs an Agent in the Loop
What agentic RAG is — retrieval as a tool an agent uses iteratively, with query planning, self-correction, and multi-source routing — and when the upgrade pays.
Choosing Embeddings in 2026: OpenAI vs Cohere vs Voyage vs Open-Source
Embedding models compared: OpenAI, Cohere, Voyage, Gemini, BGE, Nomic and Qwen3 by dimensions, context length and licence, plus a recall@k bake-off script.
GraphRAG Explained: When Knowledge Graphs Beat Vector Search
What GraphRAG is, how graph-based retrieval differs from vector RAG, the query shapes where it wins, and the honest costs before you build one.
How Embeddings Work: Vectors, Similarity, and Choosing a Model
What an embedding actually is, how similarity is measured, how the models are trained, and the practical rules for using embeddings well in search and RAG.
How RAG Actually Works: Ingestion, Chunking, Retrieval & Reranking
A clear, practical walkthrough of the retrieval-augmented generation pipeline — what each stage does, where it fails, and how the pieces fit together.
Hybrid Search & Reranking: From Top-50 Recall to Top-5 Precision
How production RAG combines dense and sparse search, fuses with RRF, and reranks — turning a wide candidate set into the few passages that actually answer.
RAG vs Long Context: Do Million-Token Windows Kill Retrieval?
Million-token context windows promised the end of RAG. The honest 2026 answer: long context changed where retrieval starts paying, not whether it does.
Getting Web Data into AI Agents: Search & Scraping APIs Compared
The agent web-data layer — Exa for semantic search, Firecrawl for extraction at scale, Tavily for all-in-one, Jina Reader for zero-setup — and how they compose.
Best Vector Database in 2026: pgvector vs Pinecone vs Qdrant vs Weaviate vs Milvus vs Chroma vs LanceDB
A decision guide to vector databases — embedded, server, or managed; whether you already run Postgres; and which fits your scale, filtering, and RAG needs.
Vector Search at Scale: ANN Indexes, Quantization & Sharding
How to run vector search over millions to billions of vectors without blowing latency, memory, or cost — index families, quantization, filtering, and sharding.
An SEO Content Workflow in Claude Code: Brief, Draft, On-Page Check
A repeatable SEO content workflow in Claude Code: a content repo with CLAUDE.md, SERP research over Exa and Firecrawl MCP, a brief, a draft, and on-page checks.
10 Best Claude Skills for RAG
Compare Claude skills and commands for RAG scaffolding, chunking, grounding checks, embeddings, reranking, pgvector, index tuning, and GraphRAG.
Why RAG Fails: A Debugging Checklist
A diagnostic checklist for broken RAG — localize the failure to ingestion, retrieval, ranking, or generation, and apply the fix that matches, in order.
Multimodal Embeddings and Image Search
How multimodal embeddings put images and text in one vector space, and how to build text-to-image and image-to-image search on top of it.
Multimodal RAG over PDFs, Scans & Charts: Two Approaches That Actually Work
RAG over visual documents — PDFs, scans, charts — where text-only extraction loses tables and layout. Parse-then-text vs embed-the-page-image, with trade-offs.
AnythingLLM
An MIT-licensed private AI app for chatting with documents and running agents with MCP tools on any local or cloud LLM, as a desktop app or Docker server.
Chonkie
A lightweight, fast chunking library for RAG with many splitting strategies in one API.
Chroma
An open-source vector database that runs in-process from pip install chromadb, with a single-node server mode and the usage-billed, serverless Chroma Cloud.
Cohere Rerank
A hosted reranking API that reorders retrieved passages by true relevance to a query.
Docling
Open-source Python library that parses PDFs, DOCX, PPTX, HTML, and images into structured Markdown and JSON with layout, tables, and reading order for RAG.
LanceDB
An open-source embedded vector database on the Lance columnar format, with vector, full-text and hybrid search on local disk or object storage.
LlamaIndex
LlamaIndex is an MIT-licensed Python framework for RAG and agents over your data, from the company whose main product is now the LlamaParse platform.
LlamaParse
LlamaIndex's hosted document platform: Parse turns PDFs, scans and Office files into Markdown or JSON across four tiers, with Extract, Classify and Split.
Marker
Open-source pipeline that converts PDFs, images, and Office docs into clean Markdown, JSON, or HTML fast, with optional LLM assist for tables and equations.
Milvus
An open-source vector database that runs from an in-process Lite build to a distributed cluster, with many index types and built-in BM25 hybrid search.
Mistral OCR
Mistral AI's hosted OCR and document-understanding API: PDFs, Office files and images in, per-page Markdown and structured JSON out, billed per page.
Gemini Notebook (NotebookLM)
Google's source-grounded research notebook, renamed from NotebookLM in July 2026, that answers only from your uploaded sources and turns them into media.
pgvector
An open-source Postgres extension that adds a vector type and HNSW/IVFFlat indexes for similarity search inside your existing database.
Pinecone
A managed, serverless vector database with dense, sparse and full-text search in one index, hosted embedding and reranking, and a free Starter plan.
Qdrant
An open-source vector database written in Rust with payload filtering, hybrid search and quantization. Self-host it or use Qdrant Cloud's free tier.
RAGAS
An open-source Python framework for evaluating RAG pipelines and LLM apps, with metrics that separate retrieval failures from generation failures.
Reducto
A hosted document API that parses PDFs, scans, spreadsheets and slides into LLM-ready chunks with bounding boxes, plus Extract, Split, Classify and Edit.
turbopuffer
A serverless vector and full-text search database built on object storage (S3/GCS/Azure) — usage-based pricing, hybrid search, and low cost per GB at scale.
Unstructured
Document preprocessing for LLMs: an Apache-2.0 Python library plus the hosted Transform API and MCP server and Pipelines ETL, billed per page.
Voyage AI
Embedding and reranking models tuned for retrieval, now part of MongoDB.
Weaviate
An open-source vector database written in Go, with built-in hybrid search, vectorizer integrations, multi-tenancy and a managed cloud with a free plan.
Scaffold a pgvector Schema & HNSW Index
Scaffold a production-ready pgvector schema and HNSW index for a corpus — matching the project's migration tooling, distance metric, and embedding dimensions.
Benchmark Rerankers
Measure whether adding a reranker actually improves retrieval, by scoring reranked vs. un-reranked results on a labeled query set.
Scaffold RAG Pipeline
Scaffold a Retrieval-Augmented Generation pipeline — ingestion (load, chunk, embed, upsert) and retrieval (search, rerank, grounded prompt with citations) — fitted to the project's stack.
Agentic RAG
Agentic RAG puts AI agents in charge of retrieval, so the system can plan, search repeatedly, judge what it finds and reformulate instead of retrieving once.
BM25
BM25 is the classic keyword ranking function: it scores a document by how often the query terms appear, how rare they are, and how long the document is.
Chunking
Chunking splits documents into retrievable pieces before embedding — the RAG design decision that quietly determines retrieval quality.
Cosine Similarity
Cosine similarity measures how alike two embeddings are by the angle between them — the standard relevance score behind semantic search and RAG retrieval.
Embedding Dimension
Embedding dimension is the length of an embedding vector — how many numbers represent each text — trading capacity against storage and search cost.
Embedding
An embedding is a vector of numbers representing text's meaning, placed so similar texts land close together — the foundation of semantic search and RAG.
Generative Engine Optimization (GEO)
Generative engine optimization (GEO) is making content more likely to be cited or summarized in AI answers from ChatGPT, Gemini, or Google AI Overviews.
GraphRAG
GraphRAG is retrieval-augmented generation over an LLM-built knowledge graph and community summaries, built for questions about a whole corpus.
Grounding
Grounding ties a model's output to verifiable sources — retrieved documents, tool results, citations — instead of training-data memory.
HNSW (Hierarchical Navigable Small World)
HNSW is a graph-based approximate nearest-neighbor index that searches layered proximity graphs from the top down, the core of fast vector search.
Hybrid Search
Hybrid search runs keyword (BM25) and semantic (vector) retrieval together and merges the results — catching both exact terms and paraphrases.
llms.txt
llms.txt is a proposed Markdown file at a site's root that gives AI models a curated summary and link list, so they can find the right pages at inference time.
RAG (Retrieval-Augmented Generation)
RAG retrieves relevant documents from your own data and injects them into an LLM's prompt at query time, grounding answers in facts the model wasn't trained on.
Reranking
Reranking is a second-pass scoring step: a cross-encoder model re-orders the top results from fast retrieval so the truly relevant few rise to the top.
Semantic Search
Semantic search retrieves results by meaning rather than keyword overlap — embedding queries and documents in one vector space and matching by similarity.
Vector Database
A vector database stores embeddings and answers nearest-neighbor queries fast — the retrieval layer under RAG and semantic search, using ANN indexes like HNSW.