RAG With Citations in Python · Live · April 25

Build RAG With Full Citation Tracking in Python — Every Claim Sourced

RAG without citations is RAG you cannot trust. This live Python workshop shows you how to build a retrieval pipeline where every factual claim in the output has a verified, traceable source, making your AI system accountable and your outputs defensible.

Saturday, April 25  9am – 3pm EDT
6 Hours  Hands-on coding
Cohort 2  Intermediate to Advanced

Workshop Details

📅
Date & Time
Saturday, April 25, 2026
9:00am – 3:00pm EDT
Duration
6 Hours · Hands-on
💻
Format
Live Online · Interactive
📚
Level
Intermediate to Advanced
🎓
Includes
Certificate of Completion
Register on Eventbrite →

By Packt Publishing · Refunds up to 10 days before

✦ By Packt Publishing
6 Hours Live Hands-On
Cohort 2 — April 25, 2026
Intermediate to Advanced
Certificate of Completion
Why Trust Packt

Over 20 Years of Helping Developers Build Real Skills

7,500+
Books and video courses published for developers worldwide
108
Live workshops and events hosted on Eventbrite
30+
Years of AI experience from your instructor Denis Rothman
100%
Hands-on — every session involves real code and live building
About This Workshop

Why Citation Tracking Is the Most Important RAG Feature for Production

In production AI systems, knowing where a claim comes from is as important as the claim itself. Citation tracking lets you verify outputs, audit AI decisions, detect hallucination events, and build user trust. This workshop implements full citation tracking throughout a Python RAG pipeline for multi-agent systems.

🧠

What is Context Engineering?

Context engineering is the discipline of designing systems that give AI the right information, in the right format, to reason and act reliably. It goes beyond prompt engineering — building structured, deterministic systems that scale in production.

🤖

What is a Multi-Agent System?

A multi-agent system uses multiple specialised AI agents working together — each with a defined role, context, and tools — to complete complex tasks no single agent could handle reliably. Context engineering makes them predictable.

🔗

What is the Model Context Protocol?

MCP is Anthropic's open standard for connecting AI models to tools, data sources, and other agents. It provides structured agent orchestration with clear context boundaries — making systems transparent and debuggable.

🎯

Why Attend as a Live Workshop?

Context engineering requires hands-on practice to truly understand. This live workshop lets you build a working system with a world-class instructor answering your questions in real time.

Workshop Curriculum

What This 6-Hour Workshop Covers

Six modules. Six hours. A production-ready context-engineered AI system by the time you finish.

01

From Prompts to Semantic Blueprints

Understand why prompts fail at scale and how semantic blueprints give AI structured, goal-driven contextual awareness.

02

Multi-Agent Orchestration With MCP

Design and orchestrate multi-agent workflows using the Model Context Protocol. Build transparent, traceable agent systems.

03

High-Fidelity RAG With Citations

Build RAG pipelines that deliver accurate, cited responses. Engineer memory systems that persist context reliably across agents.

04

The Glass-Box Context Engine

Architect a transparent, explainable context engine where every decision is traceable and debuggable in production.

05

Safeguards and Trust

Implement safeguards against prompt injection and data poisoning. Enforce trust boundaries in multi-agent environments.

06

Production Deployment and Scaling

Deploy your context-engineered system to production. Apply patterns for scaling, monitoring, and reliability.

What You Walk Away With

By the End of This Workshop You Will Have

Concrete working deliverables — not just theory and slides.

A working Glass-Box Context Engine with transparent, traceable reasoning

Multi-agent workflow orchestrated with the Model Context Protocol

High-fidelity RAG pipeline with memory and citations

Safeguards against prompt injection and data poisoning

Reusable architecture patterns for production AI systems

Certificate of completion from Packt Publishing

Your Instructor

Learn From a Bestselling AI Author With 30+ Years of Experience

Denis Rothman brings decades of production AI engineering experience to this live workshop.

Denis Rothman

Denis Rothman

Workshop Instructor · April 25, 2026

Denis Rothman is a bestselling AI author with over 30 years of experience in artificial intelligence, agent systems, and optimization. He has authored multiple cutting-edge AI books published by Packt and is renowned for making complex AI architecture concepts practical and immediately applicable. He guides you step by step through building production-ready context-engineered multi-agent systems — answering your questions live throughout the 6-hour session.

Prerequisites

Who Is This Workshop For?

This is an intermediate to advanced workshop. Solid Python and basic LLM experience required.

Frequently Asked Questions

Common Questions About Building RAG With Citations in Python

Everything you need to know before registering.

How do I implement citation tracking in a Python RAG pipeline? +

Citation tracking in Python RAG involves attaching source metadata (document ID, section, URL, confidence score) to each retrieved chunk, carrying that metadata through the LLM generation process using structured prompt templates that require in-text citation, extracting citations from the generated output using a citation parsing component, and verifying that each extracted citation references a document that was actually retrieved. The workshop implements all four steps.

What information should a citation in a RAG pipeline contain? +

A production citation in a RAG pipeline should contain: the source document identifier, the specific section or passage being referenced, the confidence score of the retrieval match, the retrieval timestamp for freshness verification, and optionally a direct URL to the source. This structured citation metadata is what lets you verify claims, audit responses, and maintain a defensible chain of evidence for AI outputs.

How do I verify that citations in RAG outputs are accurate? +

Citation verification involves cross-checking each extracted citation against the retrieved documents: confirming the cited document was in the retrieval set, verifying that the cited section supports the attributed claim, and checking that the confidence level claimed in the citation matches the retrieval score. The workshop covers implementing an automated citation verifier as part of the RAG output validation pipeline.

How do I handle queries that cannot be answered with citations? +

When the RAG pipeline cannot find sufficiently relevant documents to ground a response, the system should explicitly signal this rather than allowing the LLM to generate an uncited answer. The workshop covers implementing a retrieval confidence threshold below which the agent returns an explicit uncertainty response rather than a confident but unsupported answer.

Can I add citation tracking to an existing Python RAG pipeline? +

Yes. Citation tracking can be retrofitted into an existing RAG pipeline by adding source metadata to the embedding store, modifying the generation prompt to require in-text citations, and adding a citation extraction and verification step to the output pipeline. The workshop covers both new-build and retrofit implementation patterns for Python RAG citation tracking.

How do citations in a Python RAG pipeline improve user trust? +

Citations give users the ability to verify AI outputs directly, which significantly increases trust in AI-generated content. When every claim in an AI response can be traced to a specific, accessible source, users can evaluate the quality of the AI's reasoning rather than accepting outputs on faith. This transparency is increasingly important for professional and regulated use cases where AI outputs must be defensible.

Context Engineering for Multi-Agent Systems · Cohort 2 · April 25, 2026

Ready to Build Production AI With Context Engineering?

6 hours. Bestselling AI author. Production context-engineered multi-agent system by the end. Seats are limited.

Register Now →

Saturday April 25 · 9am to 3pm EDT · Online · Packt Publishing · Cohort 2