Skip to content
Get the AI shot you actually asked for on FramesField — Shot Lab, workflows & real API rates.
agentscamp

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

Agent

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".

sonnet6
Agent

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".

sonnet6
Agent

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".

sonnet6
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Skill

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.

invocablev1.0.0
Guide

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.

14m read· Sep 11, 2026· Imtiaz Rayhan
Guide

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.

7m read· Jun 17, 2026· Imtiaz Rayhan
Guide

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.

22m read· Sep 11, 2026· Imtiaz Rayhan
Guide

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.

4m read· Jun 17, 2026· Imtiaz Rayhan
Guide

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.

5m read· Jun 12, 2026· Imtiaz Rayhan
Guide

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.

9m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

5m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

8m read· Jun 17, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

8m read· Jun 3, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

6m read· Jun 17, 2026· Imtiaz Rayhan
Guide

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.

5m read· Jun 3, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 3, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 11, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 12, 2026· Imtiaz Rayhan
Guide

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.

7m read· Jun 4, 2026· Imtiaz Rayhan
Guide

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.

6m read· Jun 17, 2026· Imtiaz Rayhan
Guide

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.

7m read· Sep 10, 2026· Imtiaz Rayhan
Guide

10 Best Claude Skills for RAG

Compare Claude skills and commands for RAG scaffolding, chunking, grounding checks, embeddings, reranking, pgvector, index tuning, and GraphRAG.

8m read· Sep 11, 2026· Imtiaz Rayhan
Guide

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.

3m read· Jun 12, 2026· Imtiaz Rayhan
Guide

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.

7m read· Jun 20, 2026· Imtiaz Rayhan
Guide

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.

6m read· Jun 17, 2026· Imtiaz Rayhan
Tool

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.

open sourceplatform
Tool

Chonkie

A lightweight, fast chunking library for RAG with many splitting strategies in one API.

open sourcesdk
Tool

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.

open sourcesdk
Tool

Cohere Rerank

A hosted reranking API that reorders retrieved passages by true relevance to a query.

freemiumplatform
Tool

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.

open sourcesdk
Tool

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.

open sourcesdk
Tool

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.

open sourcesdk
Tool

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.

freemiumplatform
Tool

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.

open sourcesdk
Tool

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.

open sourceplatform
Tool

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.

paidplatform
Tool

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.

freemiumassistant
Tool

pgvector

An open-source Postgres extension that adds a vector type and HNSW/IVFFlat indexes for similarity search inside your existing database.

open sourcesdk
Tool

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.

freemiumplatform
Tool

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.

open sourceplatform
Tool

RAGAS

An open-source Python framework for evaluating RAG pipelines and LLM apps, with metrics that separate retrieval failures from generation failures.

open sourceevaluation
Tool

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.

freemiumplatform
Tool

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.

paidplatform
Tool

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.

freemiumplatform
Tool

Voyage AI

Embedding and reranking models tuned for retrieval, now part of MongoDB.

freemiumplatform
Tool

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.

open sourceplatform
Command

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.

/scaffold-pgvector-schema<table/corpus name and embedding dimensions, or a description of the data>
Command

Benchmark Rerankers

Measure whether adding a reranker actually improves retrieval, by scoring reranked vs. un-reranked results on a labeled query set.

/benchmark-rerankers<path to eval set / retrieval results, or a description of the pipeline>
Command

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.

/scaffold-rag-pipeline<data source and use case>
Term

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.

Term

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.

Term

Chunking

Chunking splits documents into retrievable pieces before embedding — the RAG design decision that quietly determines retrieval quality.

Term

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.

Term

Embedding Dimension

Embedding dimension is the length of an embedding vector — how many numbers represent each text — trading capacity against storage and search cost.

Term

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.

Term

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.

Term

GraphRAG

GraphRAG is retrieval-augmented generation over an LLM-built knowledge graph and community summaries, built for questions about a whole corpus.

Term

Grounding

Grounding ties a model's output to verifiable sources — retrieved documents, tool results, citations — instead of training-data memory.

Term

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.

Term

Hybrid Search

Hybrid search runs keyword (BM25) and semantic (vector) retrieval together and merges the results — catching both exact terms and paraphrases.

Term

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.

Term

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.

Term

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.

Term

Semantic Search

Semantic search retrieves results by meaning rather than keyword overlap — embedding queries and documents in one vector space and matching by similarity.

Term

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.