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:1.3kaegra
Open source alternative to LangGraph Platform (now LangSmith Deployments) - Self-hosted AI agent backend with FastAPI and PostgreSQL. Zero vendor lock-in, full control over your agent infrastructure.
Python · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:1.3ktextfold
Fold papers, web pages, files, and AI replies into five levels of detail. Zoom from an overview to the original text.
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:1.3krizzo-pii
Local-first privacy guard: anonymize your documents before sharing with LLMs.
Python · MIT · updated 15 days agoDetails›LLM & RAG frameworks
Stars:1.3kSearch-o1
Search-o1: Agentic Search-Enhanced Large Reasoning Models [EMNLP 2025]
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:1.2kagentic-soc-platform
Agentic SOC Platform: A powerful, flexible, open-source, and agent-centric automated security operations platform (AI SOC)
Python · updated 2 months agoDetails›LLM & RAG frameworks
Stars:1.2klangtrace
Langtrace is an open-source, Open Telemetry based end-to-end observability tool for LLM applications, providing real-time tracing, evaluations and metrics for popular LLMs, LLM frameworks, vectorDBs and more.. Integrate using Typescript, Python.
TypeScript · AGPL-3.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:1.2kRAGxplorer
Open-source tool to visualise your RAG
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:1.2kai
This repository will have different projects using AutoGen and Tutorials
Python · MIT · updated 20 days agoDetails›LLM & RAG frameworks
Stars:1.2krag-search
RAG Search API
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:1.1kRAG-Retrieval
Unify Efficient Fine-tuning of RAG Retrieval, including Embedding, ColBERT, ReRanker.
Python · MIT · updated 3 months agoDetails›LLM & RAG frameworks
Stars:1.1kDataDreamer
DataDreamer: Prompt. Generate Synthetic Data. Train & Align Models.
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:1kGraphRAG-SDK
Build fast and accurate GenAI apps with GraphRAG SDK at scale
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:1kIndex-1.9B
A lightweight multilingual LLM
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:1kawesome-japanese-nlp-resources
A curated list of resources for Japanese natural language processing (NLP): Python libraries, LLMs, dictionaries, corpora, and datasets. Includes Claude Code and Codex skills to search resources.
CC0-1.0 · updated 14 days agoDetails›LLM & RAG frameworks
Stars:1kFlashRank
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.
Python · Apache-2.0 · updated 4 months agoDetails›LLM & RAG frameworks
Stars:998keras-hub
Pretrained model hub for Keras 3.
Python · Apache-2.0 · updated 10 days agoDetails›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:950KG_RAG
Empower Large Language Models (LLM) using Knowledge Graph based Retrieval-Augmented Generation (KG-RAG) for knowledge intensive tasks
Jupyter Notebook · Apache-2.0 · updated 2 years 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:871Daily-LLM
🔥机器学习/深度学习/Python/大模型/多模态/LLM/deeplearning/Python/Algorithm interview/NLP Tutorial
TypeScript · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:869sgpt
SGPT: GPT Sentence Embeddings for Semantic Search
Jupyter Notebook · MIT · updated 2 years 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:753ai_wiki
《AI全栈-全网优秀资源搜集站》:搜集全网优秀资源,记载工程实践问题的解决策略与关键要点,分享各种实用案例,追踪前沿技术发展,囊括 AI 全栈知识,涵盖大模型、编程技术、机器学习、深度学习、强化学习、图神经网络、语音识别、NLP 及图像识别等领域
Jupyter Notebook · updated 13 days agoDetails›LLM & RAG frameworks
Stars:751llm-architecture-from-scratch
Implementing LLM architectures from scratch in PyTorch
Python · BSD-3-Clause · updated 13 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.