#6464th of 88 in Learning and cookbooks

brag-langchain

Jupyter notebooks teaching RAG with LangChain, from basics to reranking

Stars
4.2k
License
custom license
Last commit
Oct 2026
Language
Jupyter Notebook
Stars, last 29 weeks+166
21 Apr 2026: 4,032 stars28 Apr 2026: 4,041 stars5 May 2026: 4,045 stars12 May 2026: 4,055 stars19 May 2026: 4,058 stars26 May 2026: 4,062 stars2 Jun 2026: 4,067 stars9 Jun 2026: 4,071 stars16 Jun 2026: 4,078 stars23 Jun 2026: 4,088 stars30 Jun 2026: 4,098 stars7 Jul 2026: 4,104 stars14 Jul 2026: 4,110 stars21 Jul 2026: 4,114 stars28 Jul 2026: 4,120 stars4 Aug 2026: 4,122 stars11 Aug 2026: 4,124 stars18 Aug 2026: 4,128 stars25 Aug 2026: 4,129 stars1 Sept 2026: 4,136 stars8 Sept 2026: 4,141 stars15 Sept 2026: 4,146 stars22 Sept 2026: 4,155 stars29 Sept 2026: 4,164 stars6 Oct 2026: 4,166 stars13 Oct 2026: 4,181 stars20 Oct 2026: 4,187 stars27 Oct 2026: 4,188 stars3 Nov 2026: 4,195 stars10 Nov 2026: 4,198 stars

4,032 on 21 Apr 20264,198 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Five sequential Jupyter notebooks that build RAG pipelines with LangChain, OpenAI embeddings and a Chroma or Pinecone vector store. They cover multi-query retrieval, logical and semantic routing, multi-vector indexing, ColBERT, RAG-Fusion with reciprocal rank fusion, and Cohere reranking. It is tutorial code, not a deployable application.

Who it is for: Python developers learning RAG techniques with LangChain

Strengths

  • Notebooks progress from basic pipeline to RRF, ColBERT and Cohere reranking
  • Includes a starter notebook for a customizable RAG chatbot
  • Covers routing and metadata-filter query construction, not just plain retrieval
  • Pinned Python version (3.11.11) and an .env.example for setup

Weaknesses

  • Requires external API keys: OpenAI, Pinecone, Cohere and LangSmith
  • Notebooks only; no server, UI or packaged deployment
  • CRAG, Self-RAG, RAPTOR and chunking are mostly links to outside resources
  • License is not identified (NOASSERTION), which complicates reuse

What it needs

  • no GPU
  • Needs OpenAI API, Pinecone, Cohere API, LangSmith, ChromaDB
  • Models: OpenAI

Quick answers

Is brag-langchain open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Does brag-langchain need a GPU?

No, it runs without one.

Also in Learning and cookbooks

See all 88
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases78.5k stars+10,997 (+16%) in 30 daysMIT91 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript123.4k stars+2,347 (+1.9%) in 30 daysMIT83 out of 100
3rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques30.3k stars+563 (+1.9%) in 30 dayscustom license81 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering30.1k stars+1,266 (+4.4%) in 30 dayscustom license81 out of 100
#5ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow Live demo ↗ (opens in a new tab)70.7k stars+1,156 (+1.7%) in 30 daysMIT80 out of 100