Start with plain RAG, short for retrieval-augmented generation. A RAG system searches your documents for the parts that fit a question. It puts those parts into the prompt (the text sent to the model). Then the model answers from them. The search step is called retrieval. In plain RAG it runs once, the same way, for every question: retrieve, then generate.
An AI agent is a language model in a loop. It decides an action and your code runs it. The result comes back, and the model decides again until the task is done. Agentic RAG puts retrieval inside that loop. The model decides whether to search at all. It rewrites the question into a better search and picks which source to search. It reads what came back, and searches again if the text does not answer the question yet.
So the difference is who holds the plan. In plain RAG your code fixes the steps in advance. In agentic RAG the model chooses the next retrieval step based on what it has seen so far. Anthropic's guide to building agents describes the same building block. It is a model with retrieval and tools that can write its own search queries and pick the tools it needs.