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.
57 repos in LLM & RAG frameworks matching “api”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:2.5kapi-for-open-llm
Openai style api for open large language models, using LLMs just as chatgpt! Support for LLaMA, LLaMA-2, BLOOM, Falcon, Baichuan, Qwen, Xverse, SqlCoder, CodeLLaMA, ChatGLM, ChatGLM2, ChatGLM3 etc. 开源大模型的统一后端接口
Python · Apache-2.0 · updated 2 years 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:11.9kNarratoAI
利用 AI 大模型,一键解说并剪辑视频
Python · MIT · updated 1 month 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: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:3.7kdocument.ai
可溯源、带时效判断的企业知识库问答:每条结论标明出自哪份文档的哪个版本、哪一处,以及在目标时间是否有效(Traceable, version- and time-aware enterprise RAG)
Python · AGPL-3.0 · updated 15 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:1.8kbm25s
Fast BM25 search in Python, powered by Numpy and Numba
Python · MIT · updated 18 days agoDetails›LLM & RAG frameworks
Stars:1.3kaegra
Open source alternative to LangGraph Platform (now LangSmith Deployments) - Self-hosted AI agent backend with FastAPI and PostgreSQL. Zero vendor lock-in, full control over your agent infrastructure.
Python · Apache-2.0 · updated 12 days agoDetails›LLM & RAG frameworks
Stars:1.2krag-search
RAG Search API
Python · Apache-2.0 · updated 2 years agoDetails›LLM & RAG frameworks
Stars:959otari
Open-source, OpenAI-compatible LLM gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:940langcorn
Serving LangChain LLM apps and agents automagically with FastApi. LLMops
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:849dev-proxy
Simulate API failures, throttling, and chaos — all from your command line.
C# · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:828room
Open-source earning-focused swarm intelligence engine. Self-governing AI collectives (queen, workers, quorum voting) running locally via MCP. Works with Claude Code, Codex, or pay-per-use APIs.
TypeScript · MIT · updated 7 months agoDetails›LLM & RAG frameworks
Stars:790learn-generative-ai
Learn Cloud Applied Generative AI Engineering (GenEng) using OpenAI, Gemini, Streamlit, Containers, Serverless, Postgres, LangChain, Pinecone, and Next.js
Python · updated 2 years 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:637RAG-Driven-Generative-AI
This repository provides programs to build Retrieval Augmented Generation (RAG) code for Generative AI with LlamaIndex, Deep Lake, and Pinecone leveraging the power of OpenAI and Hugging Face models for generation and evaluation.
Jupyter Notebook · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:610fullstack-ai-agent-roadmap
🎯 从零基础到 AI Agent 全栈工程师 · 110 个详细教程 · 58 万字 · 400+ GitHub 项目精选 · Obsidian 友好 · 中文
updated 2 months 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:572nervecenter
new-api / sub2api 中转站账号管理中心:余额、API Key、用量、倍率、模型比价 | https://nvcenter.cc
TypeScript · updated 1 month agoDetails›LLM & RAG frameworks
Stars:542simplemind
Python API client for AI providers that intends to replace LangChain and LangGraph for most common use cases.
Python · Apache-2.0 · updated 1 month agoDetails›LLM & RAG frameworks
Stars:524Companion-Space
伴学空间 · 像打视频电话一样的本地二次元 AI 1v1 导师(内置 6 位动态老师 + 同步白板 + FSRS 复习)| Local-first video-call anime AI tutor with synced board & 6 animated tutors
Python · Apache-2.0 · updated 10 days 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:504investment-news
为 A股投资者打造的全球产业链资讯看板 · 12 大赛道一一对应 A股板块(半导体/AI/机器人/新能源车…),覆盖 100+ 权威源,用你自己的大模型每日提炼中文「今日要点」+ 翻译 · 本地运行、零 API key · Local AI news dashboard tracking the global industry signals behind China A-share sectors
JavaScript · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:493CSSwitch
帮你的 Claude Science 一键接入你自己的 API:DeepSeek / 通义千问 / 智谱 GLM / Kimi / MiniMax / 小米 MiMo / 硅基流动 / OpenRouter / 任意 OpenAI·Anthropic 兼容端点
Rust · MIT · updated 3 months agoDetails›LLM & RAG frameworks
Stars:492RAGNotebook
基于LangChain、LangGraph、FastAPI和React的RAG项目,主分支为基于知识图谱的知识管理平台,base-rag分支为完整的向量RAG项目供学习使用
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:475pentest-harness
Pentest Harness — Heaven for Hackers. A self-hosted AI agent harness for authorized pentests, bug bounty, security labs, and CTFs. Bring your own AI model API; sessions stay local.
TypeScript · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:472oh-my-cpa
Self-hosted control plane & usage observability console for CLIProxyAPI (CPA) — AI providers, client keys, streaming telemetry, and model cost snapshots.
Go · MIT · updated 10 days agoDetails›LLM & RAG frameworks
Stars:437ResumeForge
简历通 ResumeForge —— 本地优先的 AI 简历工作台:岗位管理、事实台账防虚构、AI 定制/手写简历、多格式导出、模拟面试与面试深挖、自动投递台、求职进度与数据看板。FastAPI + React + SQLite,单机运行、数据不出本机。 | AI resume builder, job tracker & interview prep workspace (local-first, self-hosted, Chinese-first).
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:429antirion
🕷️ The fastest open-source AI Gateway and LLM Gateway — one binary with built-in console to route, secure, budget and observe every LLM call across OpenAI, Anthropic, Gemini, Bedrock and more.
Rust · 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.