Agentic AI · Intermediate level

Intermediate level · Module 8 of 9 · 11 guided hours

Retrieval-Augmented Generation for Agents

Retrieval as an agent tool: preparing and chunking approved documents, offline keyword and optional embedding search, agentic retrieval (query rewriting and multiple searches), access control and grounded answers with citations. Basic RAG is introduced in the AI programme; this module focuses on retrieval inside agents.

Learning objectives

  • Prepare and index approved documents for retrieval
  • Use retrieval as a tool with query rewriting and multiple searches
  • Enforce access control and grounding with citations

Topics

  • document preparation and chunking
  • offline TF-IDF/BM25 search
  • optional embeddings
  • retrieval as a tool
  • query rewriting and multi-step retrieval
  • access control, citations and grounding checks

Lessons

  1. Lesson 1 Preparing and Indexing Approved Documents

    Learners convert approved documents to text, split them into passages with metadata and build an offline search index that works without internet.

    approved collectionchunk size and overlapmetadata (document ID, section, date, access level)TF-IDF/BM25 indexoptional embeddings

  2. Lesson 2 Agentic Retrieval

    Learners give the agent retrieval as a tool, let it rewrite queries and search more than once, and stop when evidence is sufficient or the search budget is used.

    retrieval toolquery rewritingmulti-hop questionsevidence sufficiency checksearch budget

  3. Lesson 3 Access Control, Citations and Grounding Checks

    Learners filter retrieval by the user's access level, require citations for every claim and check automatically that citations point to retrieved passages that support the claim.

    access-level filteringsecure retrievalcitationgrounding checkuntrusted retrieved text

Practical activity

Build the project's retrieval layer: an approved, indexed collection, agentic retrieval with a search budget, access control, citations and grounding checks.

Expected outcomes

  • Agent-integrated, secure retrieval
  • Grounded, verifiable answers

Assessment

Retrieval implementation and tests (70%) and retrieval quality report (30%).

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.