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.

163,068Go
Analyze Code

#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.

156,780Python
Analyze Code

#3f/prompts.chat

a.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.

146,195HTML
Analyze Code

#4langgenius/dify

Production-ready platform for agentic workflow development.

129,920TypeScript
Analyze Code

#5langchain-ai/langchain

🦜🔗 The platform for reliable agents.

127,110Python
Analyze Code

#6open-webui/open-webui

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

124,513Python
Analyze Code

#7rasbt/LLMs-from-scratch

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

85,633Jupyter Notebook
Analyze Code

#8firecrawl/firecrawl

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

84,470TypeScript
Analyze Code

#9browser-use/browser-use

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

78,659Python
Analyze Code

#10mlabonne/llm-course

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

75,434
Analyze Code

#11infiniflow/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

73,497Python
Analyze Code

#12vllm-project/vllm

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

70,857Python
Analyze Code

#13OpenHands/OpenHands

🙌 OpenHands: AI-Driven Development

68,032Python
Analyze Code

#14hiyouga/LlamaFactory

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

67,420Python
Analyze Code

#15FoundationAgents/MetaGPT

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

64,344Python
Analyze Code

#16pathwaycom/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,280Jupyter Notebook
Analyze Code

#17Mintplex-Labs/anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

54,814JavaScript
Analyze Code

#18unslothai/unsloth

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

52,562Python
Analyze Code

#19affaan-m/everything-claude-code

Complete Claude Code configuration collection - agents, skills, hooks, commands, rules, MCPs. Battle-tested configs from an Anthropic hackathon winner.

49,031JavaScript
Analyze Code

#20mem0ai/mem0

Universal memory layer for AI Agents

47,726Python
Analyze Code

#21run-llama/llama_index

LlamaIndex is the leading document agent and OCR platform

47,100Python
Analyze Code

#22sansan0/TrendRadar

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

46,718Python
Analyze Code

#23upstash/context7

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

46,415TypeScript
Analyze Code

#24jeecgboot/JeecgBoot

【AI低代码平台】AI low-code platform empowers enterprises to quickly develop low-code solutions and build AI applications. 助力企业快速实现低代码开发和构建AI应用! AI应用平台涵盖:AI应用、AI模型、AI聊天助手、知识库、AI流程编排、MCP和插件,聊天式业务操作等。 强大代码生成器:实现前后端一键生成,无需手写代码! 显著提升效率节省成本,又不失灵活~

45,255Java
Analyze Code

#25mudler/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

42,939Go
Analyze Code

#26milvus-io/milvus

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

42,914Go
Analyze Code

#27ray-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,416Python
Analyze Code

#28zhayujie/chatgpt-on-wechat

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

41,351Python
Analyze Code

#29janhq/jan

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

40,523TypeScript
Analyze Code

#30QuivrHQ/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.

38,947Python
Analyze Code

#312noise/ChatTTS

A generative speech model for daily dialogue.

38,740Python
Analyze Code

#32chatchat-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,306Python
Analyze Code

#33BerriAI/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]

36,503Python
Analyze Code

#34reworkd/AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.

35,717TypeScript
Analyze Code

#35google/langextract

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

33,427Python
Analyze Code

#36khoj-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.

32,554Python
Analyze Code

#37asgeirtj/system_prompts_leaks

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

32,374HTML
Analyze Code

#38continuedev/continue

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

31,463TypeScript
Analyze Code

#39microsoft/graphrag

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

31,009Python
Analyze Code

#40TauricResearch/TradingAgents

TradingAgents: Multi-Agents LLM Financial Trading Framework

30,293Python
Analyze Code

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

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

29,686
Analyze Code

#42ItzCrazyKns/Perplexica

Perplexica is an AI-powered answering engine.

29,008TypeScript
Analyze Code

#43CopilotKit/CopilotKit

The Frontend for Agents & Generative UI. React + Angular

28,900TypeScript
Analyze Code

#44HKUDS/LightRAG

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

28,485Python
Analyze Code

#45datawhalechina/self-llm

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

28,290Jupyter Notebook
Analyze Code

#46voideditor/void

28,233TypeScript
Analyze Code

#47microsoft/semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps

27,274C#
Analyze Code

#48labring/FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.

27,140TypeScript
Analyze Code

#49ComposioHQ/composio

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

27,095TypeScript
Analyze Code

#50chroma-core/chroma

Open-source search and retrieval database for AI applications.

26,222Rust
Analyze Code