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:39.2kdspy
DSPy: The framework for programming—not prompting—language models
Python · MIT · updated 12 days agoDetails›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:914pylate
Late Interaction Models Training & Retrieval
Python · MIT · updated 4 months 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: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: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 17 days agoDetails›LLM & RAG frameworks
Stars:455xmc.dspy
In-Context Learning for eXtreme Multi-Label Classification (XMC) using only a handful of examples.
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:426recurrent-memory-transformer-pytorch
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:104copytrading
Local-first macOS app that copies Discord trading signals into Alpaca accounts, with a risk-limited engine, an AI assistant, and English or 简体中文. Developer preview.
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:100agent-py
Personal AIOps engineering project with durable workflows, scoped hybrid retrieval, reliable event delivery, and verified API/browser contracts.
Python · updated 1 month 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 10 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 10 days agoDetails›LLM & RAG frameworks
Stars:36.7kgraphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Python · MIT · updated 12 days agoDetails›LLM & RAG frameworks
Stars:32.8kself-llm
《开源大模型食用指南》针对中国宝宝量身打造的基于Linux环境快速微调(全参数/Lora)、部署国内外开源大模型(LLM)/多模态大模型(MLLM)教程
Jupyter Notebook · Apache-2.0 · updated 14 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 15 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:21.8kguidance
A guidance language for controlling large language models.
Jupyter Notebook · MIT · updated 6 months agoDetails›LLM & RAG frameworks
Stars:19.3ksentence-transformers
State-of-the-Art Embeddings, Retrieval, and Reranking
Python · Apache-2.0 · updated 11 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 2 months agoDetails›LLM & RAG frameworks
Stars:14.3kllm-universe
本项目是一个面向小白开发者的大模型应用开发教程,在线阅读地址:https://datawhalechina.github.io/llm-universe/
Jupyter Notebook · updated 3 months 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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.