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:311PoisonedRAG
[USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
Python · MIT · updated 10 months agoDetails›LLM & RAG frameworks
Stars:306ai4eh
AI for Ethical Hacking - Workshop
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:302athina-evals
Python SDK for running evaluations on LLM generated responses
Python · updated 1 year agoDetails›LLM & RAG frameworks
Stars:280Adaptive-rag
按问题复杂度自动分流的电商客服 RAG:简单问题直接回答;复杂问题经过多跳检索并自我纠错;查单、退改通过工具调用完成,且高风险写操作必须先经人工确认。基于 FastAPI 和 LangGraph,混合检索并附带引用,内置离线评测与 Prometheus 指标。涵盖简历写法和项目面试拷打
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:270ReproLLM
LLM experiment reproducibility toolkit
Python · Apache-2.0 · updated 24 days agoDetails›LLM & RAG frameworks
Stars:267NamiGPT
零基础入门大模型(LLM)的基础教程:从零手写 GPT-2,一行行看懂大模型是怎么工作的 | Build GPT-2 from scratch in PyTorch, step by step
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:262is-gpt-nerfed
Shrinkflation detector for Codex
Python · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:232chunky
Open-source toolkit for reliable RAG pipelines: convert PDFs to Markdown, clean documents, inspect chunks, compare chunking strategies, and enrich metadata for LLM applications.
Python · MIT · updated 22 days agoDetails›LLM & RAG frameworks
Stars:229vllm-rlt
A vLLM-inspired inference engine for looped transformers, with loop-level scheduling and execution across composable stages
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:221OpenAssembler
Open source compiler for your whole ML repo (support python, CUDA C/C++) into sass and cuda binary (which are closed sourced by Nvidia); 3-40% faster than Openai Triton for Neural Network (primarily LLM) based training/inferencing
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:218frugon
Free, local, open-source LLM cost analyzer - see where your LLM bill leaks, on your machine.
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:213TreeSearch
TreeSearch: Search your codebase like a human — not like a vector database. No embeddings. No chunking. Just millisecond search over structured documents and large codebases. 无需 embedding,无需切分文档,在结构化文档和大型代码库中实现毫秒级检索。
Python · Apache-2.0 · updated 7 months agoDetails›LLM & RAG frameworks
Stars:201graphmemory
Bitemporal AI memory system: six-variable decay, time-graded recall, TTL expiry, dedupe, competitive retrieval (Neo4j + PostgreSQL + Redis)
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:199context-engine
A pure-Python context management layer for LLM systems — retrieval, re-ranking, memory decay, and token-budget enforcement in one pipeline.
Python · MIT · updated 6 months agoDetails›LLM & RAG frameworks
Stars:198nexusdesk
Open-source, self-hosted, extensible Agent platform built around ReAct and Harness engineering, with AI customer support as its first complete reference application.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:194EvalForge
Evaluator-neutral AI evaluation evidence, baseline regression gates, and JSON, JUnit, and SARIF reports for CI.
Python · MIT · updated 14 days agoDetails›LLM & RAG frameworks
Stars:191trove-ai
中文互联网内容的个人 AI 稍后读 + 知识库 · Read-later + AI knowledge base for the Chinese internet
Python · updated 3 months agoDetails›LLM & RAG frameworks
Stars:174office_oxide
The fastest Office document library for Python, Rust, Go, JS/TS, C# and WASM. DOCX, XLSX, PPTX, DOC, XLS, PPT. Up to 100× faster than python-docx/openpyxl/python-pptx. 100% pass rate on valid Office files. MIT/Apache-2.0.
Rust · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:173EvolvingInfra
A inference framework that adapt to diverse and dynamic agent workload
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:173lossless-memory
Lossless long-term memory for a personal AI: never summarize, keep every line, put a timestamp on everything.
Python · MIT · updated 16 days agoDetails›LLM & RAG frameworks
Stars:160Not-Ai
Not Ai isn’t just about bypassing AI detectors. It puts good writing first, creating clear, honest prose shaped by human writing standards. It’s perfect for college and school projects, LinkedIn/X posts, emails, factual articles, personal essays, social media posts, and technical documentation, esp…
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:158zero-to-ai-fullstack
A Java backend engineer learning AI full-stack in public — Python · FastAPI · RAG · pgvector · Next.js
Python · MIT · updated 6 months agoDetails›LLM & RAG frameworks
Stars:155DecisionPivot
DecisionPivot: a diagnostic benchmark for decision models in LLM systems. Contrast pairs that differ in one decisive detail, generators with independent solvers, scorer and runners.
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:152recruitops-agent
Local-first recruitment intelligence and application operations agent
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:137TwinFix
TwinFix — AI agent that diagnoses, reproduces and fixes bugs in a disposable twin environment. 在一次性孪生环境中自动诊断、复现并修复故障的 AI Agent。
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:131Three
A self-extending AI agent that runs anywhere Termux runs. Writes its own capabilities, remembers across sessions.
Python · MIT · updated 21 days agoDetails›LLM & RAG frameworks
Stars:125mcd-meal-pairing
麦当劳配餐决策 Skill|1881 种搭配里算出三档最优解,并告诉你为什么不是另外那些。控卡、忌口、拼单 max-min 公平分配;LLM 不参与算钱,每个数字可追溯。
Python · updated 1 month agoDetails›LLM & RAG frameworks
Stars:115AMA
ACL 2026 Code and Skills for “AMA: Adaptive Memory via Multi-Agent Collaboration”.
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:115Korean-llm
PyTorch 기반 한국어 LLM 구현 및 학습 프로젝트
Python · GPL-3.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:113DGP
🔥🔥🔥[NeurIPS 2026] Official Implementation of DGP: Where to Connect? Boosting MLLMs via Dynamic Gated Pathways across ALL ViT and LLM Layers
Python · Apache-2.0 · updated 22 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.