Advanced level · Module 7: Multi-Agent Retrieval-Augmented Generation · Lesson 1 of 3
Retrieval Specialists and Query Planning
Learners create retrieval agents for separate collections (policies, reports, datasets' documentation) and a planner that decides which to query.
In this lesson you will
- Create retrieval specialists for collections
- Plan queries across sources
Key concepts
collectionretrieval specialistquery plannersource selectionsearch budget
The lesson
Institutions keep documents in separate collections with different owners and access rules. A retrieval specialist per collection keeps indexes, permissions and instructions separate.
A query planner decides which collections to search and with which queries, within a search budget. Planning avoids searching everything for every question.
Record which collections were searched, so reports can say where the evidence came from and where it did not.
Step by step
- Split the capstone documents into three collections.
- Build a retrieval specialist for each.
- Implement a query planner with a search budget.
- Test on ten multi-source questions.
Practice activity
Build retrieval specialists and a query planner for the capstone.
Expected result: Targeted searches across collections within budget, recorded in the trace.
Check your understanding
-
Why use a retrieval specialist per collection?
Show answer
To keep indexes, permissions and instructions separate.
-
What does a query planner decide?
Show answer
Which collections to search and with which queries.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.