deer-flow
Gives you a research agent that breaks a question into parallel sub-tasks, keeps notes across sessions, and runs code safely, so you can hand off literature review and data analysis instead of doing each step yourself.
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
git clone https://github.com/NirDiamant/RAG_Techniques.gitcd all_rag_techniques/technique-name
To begin implementing these advanced RAG techniques in your projects:
Clone this repository:
git clone https://github.com/NirDiamant/RAG_Techniques.gitNavigate to the technique you're interested in:
cd all_rag_techniques/technique-nameFollow the detailed implementation guide in each technique's directory.


AI Agents Made Simple reached #1 in Software Development, Software Engineering and Software Design Tools on Amazon.com's Kindle Store. A decision guide to building AI agents that work: 28 chapters, 148 illustrations, no code. Get the book on Amazon โ
A community-driven hub of 42+ runnable notebooks covering RAG techniques from foundational to cutting-edge - the intuition, the code, and the references to build more accurate, context-rich retrieval systems.
RAG Made Simple - the 400-page visual companion to this repo. Amazon Bestseller in Generative AI
Get it on Amazon (paperback ยท Kindle ยท free on Kindle Unlimited) โ ยท Read Chapter 1 free
We gratefully acknowledge the organizations and individuals who have made significant contributions to this project.
Company Sponsors



Individual Sponsors
Join over 50,000 AI enthusiasts getting unique cutting-edge insights and free tutorials! Plus, subscribers get exclusive early access and special 33% discounts on my books!
I break these ideas down into short, one-idea-per-episode explainers on YouTube.

๐ AI Is Rewarded for Guessing [Hallucination] why a model guesses instead of saying I don't know, watched on its own token probabilities, and where retrieval moves the fact out of the guess

RAG Explained: Why AI Gets Your Own Documents Wrong why chunks overlap, what "meaning space" is, and where simple RAG breaks down

How Do You Search a Spreadsheet by Meaning? turn each row into one labelled line and search the table by meaning

How Do You Know Your RAG Answer Isn't Made Up? three checkpoints that catch a bad chunk on the way in and an unsupported claim on the way out

Why Does RAG Return a Paragraph When You Asked for One Fact? why a paragraph's embedding is a blend that points at nothing in particular
Retrieval-Augmented Generation (RAG) is revolutionizing the way we combine information retrieval with generative AI. This repository showcases a curated collection of advanced techniques designed to supercharge your RAG systems, enabling them to deliver more accurate, contextually relevant, and comprehensive responses.
Our goal is to provide a valuable resource for researchers and practitioners looking to push the boundaries of what's possible with RAG. By fostering a collaborative environment, we aim to accelerate innovation in this exciting field.
๐ Agents Towards Production - code-first tutorials for shipping production-grade GenAI agents, prototype to scale.
Gives you a research agent that breaks a question into parallel sub-tasks, keeps notes across sessions, and runs code safely, so you can hand off literature review and data analysis instead of doing each step yourself.
Researches what people say about a topic over the last month by pulling posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Useful for tracking current discussion on any subject.
Helps researchers move a project through the academic pipeline, from literature search and citation handling to drafting, reviewing and checking a paper, with you confirming each stage. You stay the author of every claim.
Gives AI agents a library of ready-made skills for scientific research, covering areas such as bioinformatics, cheminformatics, literature review and molecular dynamics. Each skill lets the agent run a specialized analysis or query a scientific database instead of writing that workflow from scratch.
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial. Free and open source.
Is this tool yours?
Claim it with GitHubSubmit a pluginPromote it