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.
73 repos in LLM & RAG frameworks matching “gin”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:5.4kLLM-Engineers-Handbook
The LLM's practical guide: From the fundamentals to deploying advanced LLM and RAG apps to AWS using LLMOps best practices
Python · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:761ai-engineering-course
AI Engineering Course - A free and complete AI Engineering Course to learn AI Engineering step by step - from Machine Learning, Neural Networks, and Transformers to LLMs, Fine-Tuning, RAG, AI Agents, LLM Inference, Evaluation, AI Safety, and AI System Design.
Markdown · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:523llm-inference-engineering
Learn LLM Inference Engineering step by step - from KV cache, PagedAttention, and continuous batching to vLLM, SGLang, and GPUs.
Markdown · Apache-2.0 · updated 22 days 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:173EvolvingInfra
A inference framework that adapt to diverse and dynamic agent workload
Python · updated 10 days agoDetails›LLM & RAG frameworks
Stars:106antigravity-plugin-context-mode
Reduce context size by 90%+ *and* make your agent smarter. Antigravity Context Mode is a local-first plugin built specifically for the Google Antigravity App. It prevents terminal commands, build logs, and multi-megabyte files from flooding your conversation history, saving thousands of tokens per…
JavaScript · MIT · updated 13 days agoDetails›LLM & RAG frameworks
Stars:150klangchain
The agent engineering platform.
Python · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:94.5kragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Go · Apache-2.0 · 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: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: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:16koutlines
Structured Outputs
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:12.4kphoenix
AI Observability & Evaluation
Python · updated 10 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: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.2kargilla
Argilla is a collaboration tool for AI engineers and domain experts to build high-quality datasets
Python · Apache-2.0 · updated 14 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.4kmemory-lancedb-pro
Enhanced LanceDB memory plugin for OpenClaw — Hybrid Retrieval (Vector + BM25), Cross-Encoder Rerank, Multi-Scope Isolation, Management CLI
JavaScript · updated 12 days 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.7kmorphik-core
Open-source multimodal retrieval engine (Morphik Core)
Python · updated 11 days agoDetails›LLM & RAG frameworks
Stars:3.5khumanize-text
Open-source AI humanizer: rewrite AI-generated text into natural, human-sounding prose. LLM rewriting + multi-engine translation, with step-by-step traces. Python CLI, n8n & Docker.
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:3.5kAI-Novel-Writing-Assistant
面向长篇小说创作的 AI Native 开源系统,用 Agent、世界观、写法引擎、RAG 和整本生产工作流,帮助新手从一句灵感走到完整小说。AI-native engine for end-to-end novel creation — from idea to full chapters, with structured planning, worldbuilding, and agent-driven workflows.
TypeScript · 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:3kChainForge
An open-source visual programming environment for battle-testing prompts to LLMs.
TypeScript · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:2.6khamilton
Apache Hamilton helps data scientists and engineers define testable, modular, self-documenting dataflows, that encode lineage/tracing and metadata. Runs and scales everywhere python does.
Jupyter Notebook · Apache-2.0 · updated 15 days 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.4kTensorFold
LLM Inference Engine for Metal, CUDA and Vulkan.
Zig · Apache-2.0 · updated 10 days 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.3kzero-to-sglang
Official SGLang x Datawhale course on LLM inference: understand inference, build a mini-sglang from scratch, then read the real SGLang source and land your first PR. Available in English and Chinese.
Python · updated 14 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.