An agent decides how to retrieve: it plans, chooses among tools (vector search, keyword search, SQL, web, APIs), checks whether results are sufficient, asks clarifying questions, and repeats until it can answer.
It handles multi-hop and multi-source questions that one-shot retrieval cannot, such as combining a PDF fact, a graph relationship and a database total.
Costs: higher latency and token use, harder evaluation, and risk of loops; cap steps and budget, log traces, and use it only when a well-tuned single-step pipeline fails on your important queries.
Loading…