Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
242 repos in LLM & RAG frameworks matching “py”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:13.3kall-in-rag
大模型应用开发实战一:RAG 技术全栈指南,在线阅读地址:https://datawhalechina.github.io/all-in-rag/
Python · updated 15 days agoDetails›LLM & RAG frameworks
Stars:12.4kphoenix
AI Observability & Evaluation
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:12.3kFlagEmbedding
Retrieval and Retrieval-augmented LLMs
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:11.9kNarratoAI
利用 AI 大模型,一键解说并剪辑视频
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:9.6kpaper-qa
High accuracy RAG for answering questions from scientific documents with citations
Python · Apache-2.0 · updated 15 days agoDetails›LLM & RAG frameworks
Stars:9.2kKAG
KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector…
Python · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:8.2kai-infra-book
《深入理解 AI Infra:量化分析与系统设计》(李博杰 著)开源书稿:从硬件约束和模型架构出发,量化推导 LLM 推理与训练系统设计。含全书正文、PDF、配套计算工具与实验
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:8.1kR2R
SoTA production-ready AI retrieval system. Agentic Retrieval-Augmented Generation (RAG) with a RESTful API.
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:8.1kevidently
Evidently is an open-source ML and LLM observability framework. Evaluate, test, and monitor any AI-powered system or data pipeline. From tabular data to Gen AI. 100+ metrics.
Jupyter Notebook · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:7.5kopenllmetry
Open-source observability for your GenAI or LLM application, based on OpenTelemetry
Python · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:7.4kMovie_Data_Capture
The AI local media metadata crawler
Python · GPL-3.0 · updated 14 days agoDetails›LLM & RAG frameworks
Stars:6.9kclearml
ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
Python · Apache-2.0 · updated 28 days agoDetails›LLM & RAG frameworks
Stars:5.4kLLM-Engineers-Handbook
The LLM's practical guide: From the fundamentals to deploying advanced LLM and RAG apps to AWS using LLMOps best practices
Python · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:5.2kargilla
Argilla is a collaboration tool for AI engineers and domain experts to build high-quality datasets
Python · Apache-2.0 · updated 15 days agoDetails›LLM & RAG frameworks
Stars:5.1kjson_repair
Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
Python · MIT · updated 19 days agoDetails›LLM & RAG frameworks
Stars:4.8kEngram
Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
Python · Apache-2.0 · updated 10 months agoDetails›LLM & RAG frameworks
Stars:4.6kRecBole
A unified, comprehensive and efficient recommendation library
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:4.5kDeepKE
[EMNLP 2022] An Open Toolkit for Knowledge Graph Extraction and Construction
Python · MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:4.5kllms-from-scratch-cn
仅需Python基础,从0构建大语言模型;从0逐步构建GLM4\Llama3\RWKV6, 深入理解大模型原理
Jupyter Notebook · updated 2 months agoDetails›LLM & RAG frameworks
Stars:4.4kllm-twin-course
🤖 𝗟𝗲𝗮𝗿𝗻 for 𝗳𝗿𝗲𝗲 how to 𝗯𝘂𝗶𝗹𝗱 an end-to-end 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻-𝗿𝗲𝗮𝗱𝘆 𝗟𝗟𝗠 & 𝗥𝗔𝗚 𝘀𝘆𝘀𝘁𝗲𝗺 using 𝗟𝗟𝗠𝗢𝗽𝘀 best practices: ~ 𝘴𝘰𝘶𝘳𝘤𝘦 𝘤𝘰𝘥𝘦 + 12 𝘩𝘢𝘯𝘥𝘴-𝘰𝘯 𝘭𝘦𝘴𝘴𝘰𝘯𝘴
Python · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:4.4kllm-twin-course
🤖 𝗟𝗲𝗮𝗿𝗻 for 𝗳𝗿𝗲𝗲 how to 𝗯𝘂𝗶𝗹𝗱 an end-to-end 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻-𝗿𝗲𝗮𝗱𝘆 𝗟𝗟𝗠 & 𝗥𝗔𝗚 𝘀𝘆𝘀𝘁𝗲𝗺 using 𝗟𝗟𝗠𝗢𝗽𝘀 best practices: ~ 𝘴𝘰𝘶𝘳𝘤𝘦 𝘤𝘰𝘥𝘦 + 12 𝘩𝘢𝘯𝘥𝘴-𝘰𝘯 𝘭𝘦𝘴𝘴𝘰𝘯𝘴
Python · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:4.1kfsrs4anki
A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm
Jupyter Notebook · MIT · updated 3 months agoDetails›LLM & RAG frameworks
Stars:4knano-graphrag
A simple, easy-to-hack GraphRAG implementation
Python · MIT · updated 10 months agoDetails›LLM & RAG frameworks
Stars:3.7kmorphik-core
Open-source multimodal retrieval engine (Morphik Core)
Python · updated 11 days agoDetails›LLM & RAG frameworks
Stars:3.7kevalscope
A streamlined and customizable framework for efficient large model (LLM, VLM, AIGC) evaluation and performance benchmarking.
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:3.7kdocument.ai
可溯源、带时效判断的企业知识库问答:每条结论标明出自哪份文档的哪个版本、哪一处,以及在目标时间是否有效(Traceable, version- and time-aware enterprise RAG)
Python · AGPL-3.0 · updated 15 days agoDetails›LLM & RAG frameworks
Stars:3.7kdataherald
Interact with your SQL database, Natural Language to SQL using LLMs
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:3.6kFlashRAG
FlashRAG: A Python Toolkit for Efficient RAG Research (WWW2025 Resource)
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:3.5kVideoRAG
[KDD'2026] "VideoRAG: Chat with Your Videos"
Python · updated 8 months agoDetails›LLM & RAG frameworks
Stars:3.5khumanize-text
Open-source AI humanizer: rewrite AI-generated text into natural, human-sounding prose. LLM rewriting + multi-engine translation, with step-by-step traces. Python CLI, n8n & Docker.
Python · MIT · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.