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.
69 repos in LLM & RAG frameworks matching “form”
Libraries for building apps on large language models, retrieval and prompts.
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: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: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: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:507Transformers-for-NLP-and-Computer-Vision-3rd-Edition
Transformers 3rd Edition
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:487NextTransformer
A comprehensive, cutting-edge open-source framework for next-generation Transformers/LLM, with compute-matched benchmarking and a platform for autonomous architecture research.
Python · MIT · updated 11 days 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: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:53kllama_index
LlamaIndex is the document processing platform for AI
Python · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:37.7klangfuse
Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript · updated 10 days agoDetails›LLM & RAG frameworks
Stars:27.5kpromptfoo
Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.
TypeScript · MIT · updated 10 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:12.3kFlagEmbedding
Retrieval and Retrieval-augmented LLMs
Python · MIT · updated 1 month 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:6.3khelicone
Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23
TypeScript · Apache-2.0 · updated 13 days agoDetails›LLM & RAG frameworks
Stars:5.1kjson_repair
Repair malformed JSON from LLMs, APIs, logs, and user input in Python.
Python · MIT · updated 19 days agoDetails›LLM & RAG frameworks
Stars:4.7kbeat-ai
不玩晦涩不搞少数派的 AI 入门圣经,从学生到工程师都能轻松掌握。涵盖神经网络到大模型、顶层设计到微观原理、工程实现到算法基础。 学完后,大家能彻底看懂为什么下一 token 预测这个看似不起眼的能力可以改变世界,也能发现原来 AI 并没有想象中那么神秘、那么高不可攀。 Let's just beat it !
JavaScript · updated 3 months agoDetails›LLM & RAG frameworks
Stars:4.5kDeepKE
[EMNLP 2022] An Open Toolkit for Knowledge Graph Extraction and Construction
Python · MIT · updated 4 months agoDetails›LLM & RAG frameworks
Stars:4.2kGEOFlow
Open-source GEO content engineering and multi-site distribution platform with AI quality inspection, illustrated admin help, hosted sites, browser-assisted publishing, and signed updates.
PHP · AGPL-3.0 · updated 18 days agoDetails›LLM & RAG frameworks
Stars:3.7kevalscope
A streamlined and customizable framework for efficient large model (LLM, VLM, AIGC) evaluation and performance benchmarking.
Python · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:3.5kmteb
MTEB: State-of-the-art evaluation of embeddings across languages and modalities
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:3.3kpezzo
Open-source, developer-first LLMOps platform designed to streamline prompt design, version management, instant delivery, collaboration, troubleshooting, observability and more.
TypeScript · Apache-2.0 · updated 23 days agoDetails›LLM & RAG frameworks
Stars:3kdiy-llm
Covers pre-training data, Tokenizer, Transformer, MoE,distributed training, Scaling Laws, inference & alignment .6 progressive code assignments for full-stack LLM learning | 涵盖预训练数据、分词器、Transformer、MoE、分布式训练、缩放定律、推理与对齐,6 项渐进代码作业,掌握 LLM 全栈知识
Jupyter Notebook · updated 11 days agoDetails›LLM & RAG frameworks
Stars:2.9kcolpali
The code used to train and run inference with the ColVision models, e.g. ColPali, ColQwen2, and ColSmol.
Python · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:2.4kuptrain
UpTrain is an open-source unified platform to evaluate and improve Generative AI applications. We provide grades for 20+ preconfigured checks (covering language, code, embedding use-cases), perform root cause analysis on failure cases and give insights on how to resolve them.
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:2.3kbeir
A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across 15+ diverse IR datasets.
Python · Apache-2.0 · updated 1 year agoDetails›LLM & RAG frameworks
Stars:2.3kautolabel
Label, clean and enrich text datasets with LLMs.
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:2.3kedgequake
EdegQuake High-performance GraphRAG inspired from LightRag written in Rust; Transform documents into intelligent knowledge graphs for superior retrieval and generation
Rust · Apache-2.0 · updated 14 days agoDetails›LLM & RAG frameworks
Stars:1.7kpaddler
Open-source LLM/VLM load balancer and serving platform for self-hosting LLMs (and VLMs) at scale Alternative to projects like llm-d, Docker Model Runner, etc but with less moving parts and simple deployments built around ggml ecosystem. Runs on CPU and GPU.
Rust · Apache-2.0 · updated 20 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.