The Simplest RAG Stack That Actually Works (Complete Guide)

Dec 11, 2025Channel
AI Analysis
Data from YouTube Data API v3Updated Just now
Cole Medin
Cole Medin

198K subscribers

View Channel

Video Overview

Video Details

Published7 months ago
Duration24:24
Video IDTz2YXg61aPo
Languageen
CategoryScience & Technology
PrivacyPublic
Made for KidsNo
Video TypeRegular Video

Performance Metrics

Views9K
Likes376
Comments56
Engagement Rate4.82%
Likes per 100 views4.20
Comments per 1K views6.25

Description

Most actually useful AI agents leverage some form of RAG - it's how our agents can search through our documents and data in real time. In this video, I'll show you from the ground up how to build a hybrid RAG agent in Python with a simple and VERY effective tech stack - Pydantic AI + MongoDB + Docling. This agent can ingest all common file formats - PDFs, Word docs, markdown, etc. and immediately search through it all to answer any question we have. It uses both keyword and semantic search so it can handle a wide variety of questions with high accuracy. This is the kind of AI agent you can also use as the foundation for ANY RAG agent you're looking to build, so please feel free to use this as a template as well - link below! ~~~~~~~~~~~~~~~~~~~~~~~~~~ If you want to get started building RAG Agents with a simple to use and fast database, check out MongoDB: https://fandf.co/3XKF8jG Thanks again to them for working with me on this video! It's always a pleasure working with the teams behind products I genuinely care about using. ~~~~~~~~~~~~~~~~~~~~~~~~~~ - The Dynamous Agentic Coding Course is now FULLY released - learn how to build reliable and repeatable systems for AI coding: https://dynamous.ai/agentic-coding-course - Pydantic AI: https://ai.pydantic.dev/ - Docling: https://docling-project.github.io/docling/ - GitHub repo for the MongoDB Agent: https://github.com/coleam00/MongoDB-RAG-Agent - MongoDB guide to building RAG AI agents: https://fandf.co/48t6MrB - MongoDB $rankFusion: https://fandf.co/48IAoAd ~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:00 - Introducing Hybrid RAG 00:52 - The Complete Agent Template for the Video 01:44 - Our Tech Stack - MongoDB + Pydantic AI + Docling 04:45 - Pros and Cons of Semantic and Keyword Search 06:41 - Live Demo of Our Hybrid RAG AI Agent 10:43 - Hybrid RAG is a Form of Agentic RAG 11:51 - When to Use Semantic vs. Keyword Search 14:42 - Deep Dive: How Hybrid RAG Works with MongoDB 20:40 - Understanding Reciprocal Rank Fusion 22:49 - Final Overview of the RAG Flow (it's Fast) 23:44 - Outro ~~~~~~~~~~~~~~~~~~~~~~~~~~ Join me as I push the limits of what is possible with AI. I'll be uploading videos weekly - at least every Wednesday at 7:00 PM CDT!

Related Videos

More videos from Cole Medin