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

Retrieval Augmented Generation Python Packages

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

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

5.5M 3K 271
redis
redisvl

Redis Vector Library. The AI-native Python client for Redis.

1.8M 431 108
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.

599K 27K 3K
FlagOpen
flagembedding

Retrieval and Retrieval-augmented LLMs

533K 12K 954
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.

482K 1K 71
datastax
graph-retriever

Graph traversal for improved RAG

160K 91 29
datastax
langchain-graph-retriever

Graph traversal for improved RAG

160K 91 29
VectifyAI
pageindex

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

135K 39K 3K
HKUDS
lightrag-hku

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

130K 40K 6K
illuin-tech
colpali-engine

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

95K 3K 267
oeken
needle-python

Needle simplifies building RAG pipelines.

42K 45 2
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.

38K 27K 3K
The-Pocket
pocketflow

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

27K 11K 1K
awslabs
cdklabs-generative-ai-cdk-constructs

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

23K 544 77
Clarifai
clarifai

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

17K 46 9
neuml
txtai

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

16K 13K 945
qdrant
fastembed-gpu

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

15K 3K 271
Blaizzy
mlx-embeddings

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

14K 449 64
biocypher
biocypher

A unifying framework for biomedical research knowledge graphs

12K 337 56
lyonzin
knowledge-rag

Local RAG MCP server for Claude Code — hybrid search (semantic + BM25), cross-encoder reranking, 13 MCP tools, 20 format parsers. Zero external servers, zero API keys.

11K 292 44
mixedbread-ai
mxbai-rerank

Crispy reranking models by Mixedbread

10K 55 7
JDeun
schemarouter

Typed capability routing and governed execution for AI agents across APIs, tools, and data systems.

9K 2 0
jyunming
axon-rag

Local-first RAG engine with cited answers from your own docs. GraphRAG, sealed sharing, MCP-native, VS Code Copilot integration. Nothing leaves your machine.

9K 4 0
HKUDS
raganything

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

8K 24K 3K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology