The agent stack / Layer 9 of 11

Retrieval & knowledge (RAG)

How do I ground an agent in my own documents and data?

What this layer is for

Retrieval-augmented generation (RAG) fetches relevant pieces of your data — by embeddings, keyword search or structured queries — and hands them to the model when it answers. Frameworks here handle loading, parsing, chunking, indexing and querying, and increasingly let the agent decide when and how to retrieve ("agentic RAG").

Tools in this layer