PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Retrieval Augmented Generation Python Packages

Python packages with the GitHub topic retrieval-augmented-generation. Sorted by relevance, with stars and monthly downloads.
qdrant
fastembed

Fast, Accurate, Lightweight Python library to make State of the Art Embedding

11.1M 3K 212
redis
redisvl

Redis Vector Library (RedisVL) -- the AI-native Python client for Redis.

2.6M 411 92
deepset-ai
haystack-ai

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

1M 26K 3K
PrithivirajDamodaran
flashrank

Lite & Super-fast re-ranking for your search & retrieval pipelines. Supports SoTA Listwise and Pairwise reranking based on LLMs and cross-encoders and more. Created by Prithivi Da, open for PRs & Collaborations.

703K 987 70
FlagOpen
flagembedding

Retrieval and Retrieval-augmented LLMs

578K 12K 900
HKUDS
lightrag-hku

[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

262K 37K 5K
oeken
needle-python

Needle simplifies building RAG pipelines.

205K 45 1
datastax
graph-retriever

Graph traversal for improved RAG

195K 89 28
datastax
langchain-graph-retriever

Graph traversal for improved RAG

195K 89 28
illuin-tech
colpali-engine

The code used to train and run inference with the ColVision models, e.g. ColPali, ColQwen2, and ColSmol.

156K 3K 255
Clarifai
clarifai

Experience the power of Clarifai’s AI platform with the python SDK. 🌟 Star to support our work!

87K 44 9
Blaizzy
mlx-embeddings

MLX-Embeddings is the best package for running Vision and Language Embedding models locally on your Mac using MLX.

71K 412 54
deepset-ai
farm-haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

62K 26K 3K
VectifyAI
pageindex

📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG

59K 34K 3K
neuml
txtai

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

39K 13K 841
The-Pocket
pocketflow

Pocket Flow: 100-line LLM framework. Let Agents build Agents!

36K 11K 1K
HKUDS
raganything

"RAG-Anything: All-in-One RAG Framework"

29K 22K 3K
awslabs
cdklabs-generative-ai-cdk-constructs

AWS Generative AI CDK Constructs are sample implementations of AWS CDK for common generative AI patterns.

27K 541 77
qdrant
fastembed-gpu

Fast, Accurate, Lightweight Python library to make State of the Art Embedding

20K 3K 212
biocypher
biocypher

A unifying framework for biomedical research knowledge graphs

18K 315 54
LearningCircuit
local-deep-research

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

16K 9K 763
mixedbread-ai
mxbai-rerank

Crispy reranking models by Mixedbread

14K 52 7
Marker-Inc-Korea
autorag

AutoRAG: An Open-Source Framework for Retrieval-Augmented Generation (RAG) Evaluation & Optimization with AutoML-Style Automation

8K 5K 406
nevenincs
vaultspec-rag

GPU-accelerated semantic search for your docs and source code - hybrid dense + sparse RAG on a local Qdrant backend, served to Claude Code and other MCP clients. The search companion to vaultspec-core.

7K 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery