Agentic AI · Advanced level

Advanced level · Module 7: Multi-Agent Retrieval-Augmented Generation · Lesson 3 of 3

Permissions, Poisoned Documents and Conflicts

Learners make retrieval permission-aware across agents, detect suspicious or manipulated documents, and handle conflicting sources safely.

In this lesson you will

  • Enforce permissions across retrieval agents
  • Defend against poisoned and conflicting documents

Key concepts

permission propagationvector and embedding weaknessesdocument poisoningsource trust levelsconflict reporting

The lesson

The user's permissions must travel with the request to every retrieval agent, and filtering happens inside each specialist before results are shared. One agent must never pass restricted passages to another that serves a less-privileged user.

Documents can be poisoned with false facts or hidden instructions. OWASP lists vector and embedding weaknesses and prompt injection among the top LLM risks. Defences include accepting only approved, versioned documents, scanning for instruction-like text, trusting official sources more, and never letting retrieved text change agent instructions or permissions.

When sources conflict, report both with their sources and dates and ask a person to decide, rather than choosing silently.

Step by step

  1. Pass user permissions to every retrieval specialist.
  2. Add a scan that flags instruction-like text in passages.
  3. Assign trust levels to collections.
  4. Test with a restricted document, a poisoned document and two conflicting documents.

Practice activity

Harden the capstone's multi-agent retrieval against permission leaks, poisoning and conflicts.

Expected result: No permission leaks, poisoned instructions ignored and conflicts reported.

Check your understanding

  1. Where should permission filtering happen in multi-agent retrieval?

    Show answer

    Inside each retrieval specialist, before results are shared.

  2. How should conflicting sources be handled?

    Show answer

    Report both with sources and dates and let a person decide.

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.