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:2.7ksemantra-python
Multi-tool for semantic search
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:1.3kneo4j-graphrag-python
Neo4j GraphRAG for Python
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:673python-utcp
Official python implementation of UTCP. UTCP is an open standard that lets AI agents call any API directly, without extra middleware.
Python · MPL-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:511rag-postgres-openai-python
A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
Python · MIT · updated 16 days agoDetails›LLM & RAG frameworks
Stars:150klangchain
The agent engineering platform.
Python · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:63.6klitellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python · updated 9 days agoDetails›LLM & RAG frameworks
Stars:62kpathway
Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:53kllama_index
LlamaIndex is the document processing platform for AI
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:40.8kLightRAG
[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation
Python · MIT · updated 9 days agoDetails›LLM & RAG frameworks
Stars:39.2kdspy
DSPy: The framework for programming—not prompting—language models
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:36.7kgraphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:27.1khaystack
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…
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:24.7kRAG-Anything
"RAG-Anything: All-in-One RAG Framework"
Python · MIT · updated 14 days agoDetails›LLM & RAG frameworks
Stars:23.5kopik
Debug, evaluate, and monitor your LLM applications, RAG systems, and agentic workflows with comprehensive tracing, automated evaluations, and production-ready dashboards.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:21.9kserve
Build multimodal AI applications with cloud-native stack
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:19.3ksentence-transformers
State-of-the-Art Embeddings, Retrieval, and Reranking
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:16.4kragas
Supercharge Your LLM Application Evaluations
Python · Apache-2.0 · updated 17 days agoDetails›LLM & RAG frameworks
Stars:16koutlines
Structured Outputs
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:14.8kllmware
Unified framework for building enterprise RAG pipelines with small, specialized models
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:14.1kinstructor
structured outputs for llms
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:13.7ktxtai
All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:13.3kall-in-rag
大模型应用开发实战一:RAG 技术全栈指南,在线阅读地址:https://datawhalechina.github.io/all-in-rag/
Python · updated 14 days agoDetails›LLM & RAG frameworks
Stars:12.4kphoenix
AI Observability & Evaluation
Python · updated 9 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 14 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:7.5kopenllmetry
Open-source observability for your GenAI or LLM application, based on OpenTelemetry
Python · Apache-2.0 · updated 11 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.