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.
112 repos in LLM & RAG frameworks matching “model”
Libraries for building apps on large language models, retrieval and prompts.
LLM & RAG frameworks
Stars:314gfm-rag
[NeurIPS'25, ICLR'26] Graph Foundation Model for Retrieval Augmented Generation
Python · Apache-2.0 · updated 2 months agoDetails›LLM & RAG frameworks
Stars:312cevahir-ai
Full-stack open-source AI engine for building language models — tokenizer training, transformer architecture, cognitive reasoning and chat pipeline.
Python · Apache-2.0 · updated 10 days agoDetails›LLM & RAG frameworks
Stars:311MoleCode
Molecode presents molecules as code and enables LLMs to operate and reason on chemistry directly.
Python · MIT · updated 5 months agoDetails›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:308A-Guide-to-Retrieval-Augmented-LLM
an intro to retrieval augmented large language model
updated 3 years agoDetails›LLM & RAG frameworks
Stars:303apexo-code
Apexo: An open-source, general-purpose coding agent for terminal (TUI), web, and desktop with autonomous goals, workflows, persistent memory, command sandboxing, and first-class support for Gemini, Grok, and OpenAI-compatible models.
TypeScript · MIT · updated 11 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:237busbar
The execution control plane for AI agents. Govern every model request, MCP tool call, A2A delegation, and downstream action—while keeping your native protocols intact: six native LLM protocols in, six native LLM protocols out.
Rust · Apache-2.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:202OmniCopilot
1200+ AI models in your GitHub Copilot Chat — free & forever free. VS Code extension powered by OmniRoute: 340+ providers (90+ free) — Kimi, Claude, GPT, Gemini, GLM, DeepSeek, Qwen — with agent mode, tool calling, vision and quota-aware auto-fallback. MIT.
TypeScript · MIT · updated 11 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:187crux
Taking the pi coding agent to Claude Code-level performance: 0.539 → 0.773 pass@1 on Terminal-Bench 2.1 with the same self-hosted 27B model, by re-engineering the agent.
TypeScript · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:184zhizhi-agent-runtime
A model-agnostic, stateless Go agent runtime featuring dual-IR planning, dependency-aware batch scheduling, capability-driven MCP/tool orchestration, policy-based failure recovery, conditional replanning, side-effect control, and end-to-end execution observability. 知枝(Zhizhi)智能体运行时框架,基于 Go 构建,支持任务规…
Go · MIT · updated 0 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:139hermes-console
Console is a private, native Android app for your self-hosted Hermes Agent: chat that shows the agent's work, voice, bots and rooms, cron, tasks, models and an SSH terminal. One code to connect. No account, no telemetry. GPL-3.0.
Dart · GPL-3.0 · updated 11 days agoDetails›LLM & RAG frameworks
Stars:137pi-freeflow
🌊 30 free curated AI models (up to 1M context) for Oh My Pi & Pi. Thin by design — model list, relay proxy, tool-call diagnostics — add your own relays to spread requests across more IPs.
TypeScript · MIT · updated 11 days agoDetails›LLM & RAG frameworks
Stars:125opencode-free-bridge
OpenAI-compatible bridge for OpenCode free-tier models — no account required
JavaScript · MIT · updated 21 days agoDetails›LLM & RAG frameworks
Stars:115laya-php
Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.
PHP · Apache-2.0 · updated 18 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›LLM & RAG frameworks
Stars:112AlphaResearchOS
Agentic quant research workbench with CSV data inspection, local Codex and compatible APIs, predictive models, independent reviews, and reproducible backtests.
Python · MIT · updated 1 month agoDetails›LLM & RAG frameworks
Stars:109raw-cli
The agent harness you can fork. A working agent loop with compaction, sessions, approvals, a terminal REPL, a local dashboard and ACP, where every tool, skill, hook and policy is a file you can change. Build your own internal or coding agent on any model.
TypeScript · MIT · updated 21 days agoDetails›LLM & RAG frameworks
Stars:102uncut
The lossless, headless coding agent harness. One 7 MB static binary, four tools, plain stdin/stdout, no silent cuts.
Go · MIT · updated 17 days agoDetails›LLM & RAG frameworks
OpenPipe
Turn expensive prompts into cheap fine-tuned models
TypeScript · Apache-2.0Details›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.