back to home

Best Open Source llm Libraries

A curated list of the most popular GitHub repositories tagged with llm. Select any project to visualize its architecture and dive into the codebase using RepoMind's AI engine.

#1ollama/ollama

Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

165,352Go
Explore Repo

#2huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

157,977Python
Explore Repo

#3f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

153,044HTML
Explore Repo

#4langgenius/dify

Production-ready platform for agentic workflow development.

133,206TypeScript
Explore Repo

#5langchain-ai/langchain

The agent engineering platform

129,905Python
Explore Repo

#6open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

127,535Python
Explore Repo

#7NousResearch/hermes-agent

The agent that grows with you

102,964Python
Explore Repo

#8firecrawl/firecrawl

🔥 The Web Data API for AI - Turn entire websites into LLM-ready markdown or structured data

94,243TypeScript
Explore Repo

#9rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

88,434Jupyter Notebook
Explore Repo

#10affaan-m/everything-claude-code

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

82,144JavaScript
Explore Repo

#11browser-use/browser-use

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

81,074Python
Explore Repo

#12mlabonne/llm-course

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

76,889
Explore Repo

#13infiniflow/ragflow

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

75,227Python
Explore Repo

#14vllm-project/vllm

A high-throughput and memory-efficient inference and serving engine for LLMs

73,416Python
Explore Repo

#15OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

69,279Python
Explore Repo

#16hiyouga/LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

68,588Python
Explore Repo

#17FoundationAgents/MetaGPT

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

65,334Python
Explore Repo

#18Mintplex-Labs/anything-llm

The all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.

56,354JavaScript
Explore Repo

#19pathwaycom/llm-app

Ready-to-run cloud templates for RAG, AI pipelines, and enterprise search with live data. 🐳Docker-friendly.⚡Always in sync with Sharepoint, Google Drive, S3, Kafka, PostgreSQL, real-time data APIs, and more.

56,318Jupyter Notebook
Explore Repo

#20unslothai/unsloth

Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.

54,106Python
Explore Repo

#21mem0ai/mem0

Universal memory layer for AI Agents

50,155Python
Explore Repo

#22upstash/context7

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

49,407TypeScript
Explore Repo

#23sansan0/TrendRadar

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

49,137Python
Explore Repo

#24run-llama/llama_index

LlamaIndex is the leading document agent and OCR platform

47,731Python
Explore Repo

#25jeecgboot/JeecgBoot

JeecgBoot 是一款 AI 驱动的低代码开发平台,提供"零代码"与"代码生成"双模式——零代码模式一句话搭建系统,代码生成模式自动输出前后端代码与建表 SQL,生成即可运行。平台内置 AI 聊天助手、AI大模型、知识库、AI流程编排、MCP 与插件体系,兼容主流大模型,支持一句话生成流程图、设计表单、聊天式业务操作,解决 Java 项目 80% 重复工作,高效且不失灵活。

45,421Java
Explore Repo

#26mudler/LocalAI

:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement, running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more. Features: Generate Text, MCP, Audio, Video, Images, Voice Cloning, Distributed, P2P and decentralized inference

43,766Go
Explore Repo

#27milvus-io/milvus

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

43,377Go
Explore Repo

#28zhayujie/chatgpt-on-wechat

CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长。同时支持飞书、钉钉、企微、QQ、微信公众号、网页等接入,可选择OpenAI/Claude/Gemini/DeepSeek/ Qwen/GLM/Kimi/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助手和企业数字员工。

42,255Python
Explore Repo

#29ray-project/ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

41,784Python
Explore Repo

#30janhq/jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

41,108TypeScript
Explore Repo

#31BerriAI/litellm

Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, VLLM, NVIDIA NIM]

39,379Python
Explore Repo

#32QuivrHQ/quivr

Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.

39,023Python
Explore Repo

#332noise/ChatTTS

A generative speech model for daily dialogue.

38,941Python
Explore Repo

#34chatchat-space/Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain

37,542Python
Explore Repo

#35google/langextract

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

34,749Python
Explore Repo

#36asgeirtj/system_prompts_leaks

Collection of extracted System Prompts from popular chatbots like ChatGPT, Claude & Gemini

34,463HTML
Explore Repo

#37khoj-ai/khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

33,448Python
Explore Repo

#38ItzCrazyKns/Vane

Vane is an AI-powered answering engine.

33,071TypeScript
Explore Repo

#39TauricResearch/TradingAgents

TradingAgents: Multi-Agents LLM Financial Trading Framework

32,483Python
Explore Repo

#40continuedev/continue

⏩ Source-controlled AI checks, enforceable in CI. Powered by the open-source Continue CLI

31,901TypeScript
Explore Repo

#41microsoft/graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system

31,549Python
Explore Repo

#42bytedance/deer-flow

An open-source SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skills and subagents, it handles different levels of tasks that could take minutes to hours.

31,386Python
Explore Repo

#43shareAI-lab/learn-claude-code

Bash is all you need - A nano Claude Code–like agent, built from 0 to 1

30,057TypeScript
Explore Repo

#44JushBJJ/Mr.-Ranedeer-AI-Tutor

A GPT-4 AI Tutor Prompt for customizable personalized learning experiences.

29,674
Explore Repo

#45HKUDS/LightRAG

[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

29,480Python
Explore Repo

#46CopilotKit/CopilotKit

The Frontend Stack for Agents & Generative UI. React + Angular. Makers of the AG-UI Protocol

29,470TypeScript
Explore Repo

#47datawhalechina/self-llm

《开源大模型食用指南》针对中国宝宝量身打造的基于Linux环境快速微调(全参数/Lora)、部署国内外开源大模型(LLM)/多模态大模型(MLLM)教程

29,026Jupyter Notebook
Explore Repo

#48hesreallyhim/awesome-claude-code

A curated list of awesome skills, hooks, slash-commands, agent orchestrators, applications, and plugins for Claude Code by Anthropic

28,715Python
Explore Repo

#49voideditor/void

28,342TypeScript
Explore Repo

#50datawhalechina/hello-agents

📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程

28,105Python
Explore Repo