Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
  • Compare
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,943+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents1036
    • Coding971
    • Infrastructure415
    • Marketing398
    • Design335
    • Projects312
    • Analytics299
    • Research290
    • Testing183
    • Integration167
    • Data163
    • Security156
    • MCP145
    • Learning135
    • Communication120
    • Extensions114
    • Prompts110
    • Commerce106
    • Voice102
    • DevOps84
    • Web71
    • Finance18
    1. Home
    2. Tools
    3. RAG Techniques
    RAG Techniques icon

    RAG Techniques

    Retrieval-Augmented Generation

    A comprehensive open-source collection of 42+ advanced Retrieval-Augmented Generation (RAG) tutorials and implementations using LangChain, LlamaIndex, and PydanticAI.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source repository available on GitHub under a custom non-commercial license.

    Engagement

    Available On

    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationAI TutorialsAI Development Libraries

    Alternatives

    HaystackLlamaIndexGraphiti
    Developer
    Nir DiamantNir Diamant builds and publishes cutting-edge AI educational…

    Listed Apr 2026

    About RAG Techniques

    RAG Techniques is one of the most comprehensive open-source repositories for Retrieval-Augmented Generation (RAG) tutorials, covering 42+ techniques from foundational to advanced architectures. Maintained by Nir Diamant, the repository provides Jupyter notebook tutorials with runnable scripts for each technique, spanning query enhancement, context enrichment, advanced retrieval, evaluation, and agentic RAG. It leverages cutting-edge frameworks including LangChain, LlamaIndex, PydanticAI, and Contextual AI to help researchers and practitioners build production-ready RAG systems.

    • Basic RAG & Foundational Techniques — Clone the repo and run the simple_rag.ipynb notebook to get started with basic retrieval pipelines using LangChain or LlamaIndex.
    • Query Enhancement — Explore query transformations, HyDE (Hypothetical Document Embedding), and HyPE (Hypothetical Prompt Embeddings) to improve retrieval alignment.
    • Context Enrichment — Apply semantic chunking, contextual chunk headers, contextual compression, and relevant segment extraction to improve context quality.
    • Advanced Retrieval — Use fusion retrieval, intelligent reranking, hierarchical indices, dartboard retrieval, and multi-modal RAG with captioning or Colpali.
    • Iterative & Adaptive Techniques — Implement retrieval with feedback loops and adaptive retrieval strategies that adjust dynamically to query types.
    • RAG Evaluation — Evaluate systems end-to-end using DeepEval, GroUSE, Open-RAG-Eval, and RAGAS with metrics for faithfulness, relevance, and hallucination detection.
    • Advanced Architectures — Build Graph RAG with LangChain or Milvus, Microsoft GraphRAG, RAPTOR, Self-RAG, Corrective RAG (CRAG), and Agentic RAG with Contextual AI.
    • Memory-Augmented Retrieval — Implement MemoRAG with FAISS-based retrieval, surrogate query generation, and key-value pair extraction.
    • Explainability — Use explainable retrieval techniques to provide transparency into why specific documents were retrieved.
    • Community & Contributions — Join the RAG Techniques Discord community or Educational AI Subreddit and contribute via pull requests following the CONTRIBUTING.md guide.
    RAG Techniques - 1

    Community Discussions

    Be the first to start a conversation about RAG Techniques

    Share your experience with RAG Techniques, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source repository available on GitHub under a custom non-commercial license.

    • 42+ RAG technique Jupyter notebooks
    • Runnable Python scripts
    • LangChain and LlamaIndex implementations
    • Community Discord access
    • Google Colab support

    Capabilities

    Key Features

    • 42+ RAG technique tutorials in Jupyter notebooks
    • Foundational RAG implementations (Simple RAG, CSV RAG, Reliable RAG)
    • Query enhancement techniques (HyDE, HyPE, query transformations)
    • Context enrichment (semantic chunking, contextual compression, chunk headers)
    • Advanced retrieval (fusion retrieval, reranking, hierarchical indices, dartboard)
    • Multi-modal RAG with captioning and Colpali
    • Graph RAG with LangChain, Milvus, and Microsoft GraphRAG
    • RAPTOR recursive tree-organized retrieval
    • Self-RAG and Corrective RAG (CRAG) architectures
    • Agentic RAG with Contextual AI
    • MemoRAG memory-augmented retrieval
    • RAG evaluation with DeepEval, GroUSE, Open-RAG-Eval, and RAGAS
    • Runnable Python scripts for each technique
    • LangChain and LlamaIndex implementations
    • PydanticAI integration for type-safe agent workflows
    • Community-driven contributions via GitHub PRs

    Integrations

    LangChain
    LlamaIndex
    PydanticAI
    Contextual AI
    OpenAI
    FAISS
    Milvus
    DeepEval
    GroUSE
    RAGAS
    Microsoft GraphRAG
    Google Colab
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate RAG Techniques and help others make informed decisions.

    Developer

    Nir Diamant

    Nir Diamant builds and publishes cutting-edge AI educational resources focused on Retrieval-Augmented Generation and GenAI agents. He maintains several high-impact open-source repositories including RAG Techniques, GenAI Agents, and Agents Towards Production, collectively reaching tens of thousands of AI practitioners. His work spans practical tutorials, research-backed implementations, and a bestselling book on RAG techniques published on Amazon. He also runs the DiamantAI newsletter with over 50,000 subscribers.

    Read more about Nir Diamant
    WebsiteGitHubLinkedInX / Twitter
    1 tool in directory

    Similar Tools

    Haystack icon

    Haystack

    Open source AI framework for building production-ready RAG pipelines and agentic AI applications with LLMs.

    LlamaIndex icon

    LlamaIndex

    Enterprise document processing and AI agent framework for building GenAI applications with parsing, extraction, indexing, and retrieval capabilities.

    Graphiti icon

    Graphiti

    A Python library for building and querying dynamic, temporally-aware knowledge graphs for AI agents and RAG applications.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    50 tools

    AI Tutorials

    Step-by-step tutorials and hands-on guides for AI tools and frameworks.

    38 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    132 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Discussions