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.
220 repos in LLM & RAG frameworks matching “python”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:959otari
Open-source, OpenAI-compatible LLM gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:940langcorn
Serving LangChain LLM apps and agents automagically with FastApi. LLMops
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:914pylate
Late Interaction Models Training & Retrieval
Python · MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:871Daily-LLM
🔥机器学习/深度学习/Python/大模型/多模态/LLM/deeplearning/Python/Algorithm interview/NLP Tutorial
TypeScript · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:852byaldi
Use late-interaction multi-modal models such as ColPali in just a few lines of code.
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:849AutoSchemaKG
This repository contains the implementation of AutoSchemaKG, a novel framework for automatic knowledge graph construction that combines schema generation via conceptualization.
Python · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:846doc-to-lora
Hypernetworks that update LLMs to remember factual information
Python · MIT · updated 5 months agoDetails›LLM & RAG frameworks
Stars:843Medical-Graph-RAG
A Graph RAG System for Evidenced-based Medical Information Retrieval [ACL 2025]
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:824rag
This NVIDIA RAG blueprint serves as a reference solution for a foundational Retrieval Augmented Generation (RAG) pipeline.
ArchivedDetails›LLM & RAG frameworks
Stars:806contrastors
Train Models Contrastively in Pytorch
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:790learn-generative-ai
Learn Cloud Applied Generative AI Engineering (GenEng) using OpenAI, Gemini, Streamlit, Containers, Serverless, Postgres, LangChain, Pinecone, and Next.js
Python · updated 2 years agoDetails›LLM & RAG frameworks
Stars:751llm-architecture-from-scratch
Implementing LLM architectures from scratch in PyTorch
Python · BSD-3-Clause · updated 12 days agoDetails›LLM & RAG frameworks
Stars:738chatdocs
Chat with your documents offline using AI.
Python · MIT · updated 3 years agoDetails›LLM & RAG frameworks
Stars:713safelabs-eval
Red-teaming and evaluation framework for AI agents, built around an OWASP-inspired ASI01–ASI10 taxonomy
Python · Apache-2.0 · updated 24 days agoDetails›LLM & RAG frameworks
Stars:705VLM2Vec
This repo contains the code for "VLM2Vec / MMEB" [ICLR 2025], "VLM2Vec-V2 / MMEB-V2" [TMLR 2026], and "MMEB-V3" [COLM 2026]
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:677buffer-of-thought-llm
[NeurIPS 2024 Spotlight] Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Models
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:645memorizing-transformers-pytorch
Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch
Python · MIT · updated 3 years agoDetails›LLM & RAG frameworks
Stars:641EasyRAG
Easy-to-Use RAG Framework; CCF AIOps International Challenge 2024 Top3 Solution; CCF AIOps 国际挑战赛 2024 季军方案
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:634LARS
An application for running LLMs locally on your device, with your documents, facilitating detailed citations in generated responses.
Python · AGPL-3.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:633langchain-ask-pdf
An AI-app that allows you to upload a PDF and ask questions about it. It uses OpenAI's LLMs to generate a response.
Python · updated 2 years agoDetails›LLM & RAG frameworks
Stars:619paper_to_podcast
A very quick project that transforms research papers into engaging three-person discussions, offering an intuitive and thought-provoking listening experience. Perfect for podcast enthusiasts seeking a fresh way to explore academic content.
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:605ChatDB
The official repository of "ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory".
Python · updated 3 years agoDetails›LLM & RAG frameworks
Stars:600Graph-R1
[ICML 2026] Official resources of "Graph-R1: Towards Agentic GraphRAG Framework via End-to-end Reinforcement Learning".
Python · MIT · updated 29 days agoDetails›LLM & RAG frameworks
Stars:589Youtube-playlist-to-formatted-text
A desktop application that extracts YouTube playlist transcripts and enhances them using Google's Gemini AI models. The output is a book in any language you want.
Python · MIT · updated 9 months agoDetails›LLM & RAG frameworks
Stars:576AnglE
Train and Infer Powerful Sentence Embeddings with AnglE | SOTA on STS and MTEB Leaderboard
Python · MIT · updated 8 months agoDetails›LLM & RAG frameworks
Stars:572LinearRAG
[ICLR 2026] LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora
Python · GPL-3.0 · updated 4 months agoDetails›LLM & RAG frameworks
Stars:552HiRAG
[EMNLP'25 findings] An easy-to-use Graph RAG system using hierarchical knowledge.
Python · MIT · updated 5 months agoDetails›LLM & RAG frameworks
Stars:546Magic-Insight
One-stop data intelligence agent, providing insights from all mainstream data formats in a single dialogue box, including documents, databases, business systems, and images.一站式数据智能体,一个对话框提供所有主流格式数据的见解,包括文档、数据库、业务系统和图像。
Python · AGPL-3.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:542simplemind
Python API client for AI providers that intends to replace LangChain and LangGraph for most common use cases.
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:524Companion-Space
伴学空间 · 像打视频电话一样的本地二次元 AI 1v1 导师(内置 6 位动态老师 + 同步白板 + FSRS 复习)| Local-first video-call anime AI tutor with synced board & 6 animated tutors
Python · Apache-2.0 · updated 10 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.