Retrieval-augmented generation (RAG) is a technique that enables large language models to retrieve and incorporate new information from external data sources.
It combines a retriever over external knowledge with the generator.
Agentic RAG extends it with agent-driven, multi-step retrieval.