开源精选 · LLM

Best LLM projects on GitHub

Top open-source LLM repositories on GitHub, ranked by stars, plus the fastest-rising new projects. Tagged llm, large-language-models.

LLM 镇场榜

标注 llm, large-language-models 的高星活跃仓库。

  1. Significant-Gravitas/AutoGPT Python ★ 184,982

    AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

  2. ollama/ollama Go ★ 174,337

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

  3. f/prompts.chat HTML ★ 163,818

    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.

  4. huggingface/transformers Python ★ 161,644

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

  5. langflow-ai/langflow Python ★ 149,761

    Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

  6. langgenius/dify TypeScript ★ 145,505

    Production-ready platform for agentic workflow development.

  7. open-webui/open-webui Python ★ 141,874

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

  8. langchain-ai/langchain Python ★ 139,496

    The agent engineering platform.

  9. firecrawl/firecrawl TypeScript ★ 133,647

    The API to search, scrape, and interact with the web at scale. 🔥

  10. browser-use/browser-use Python ★ 99,162

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

  11. rasbt/LLMs-from-scratch Jupyter Notebook ★ 97,268

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

  12. TauricResearch/TradingAgents Python ★ 86,721

    TradingAgents: Multi-Agents LLM Financial Trading Framework

  13. vllm-project/vllm Python ★ 83,090

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

  14. mlabonne/llm-course ★ 80,186

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

  15. OpenHands/OpenHands Python ★ 77,391

    🙌 OpenHands: AI-Driven Development

  16. hiyouga/LlamaFactory Python ★ 72,218

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

  17. bytedance/deer-flow Python ★ 71,337

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

  18. binary-husky/gpt_academic Python ★ 70,892

    为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

  19. FoundationAgents/MetaGPT Python ★ 68,849

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

  20. shareAI-lab/learn-claude-code Python ★ 66,957

    Bash is all you need - A nano claude code - like 「agent harness」, built from 0 to 1

  21. unslothai/unsloth Python ★ 66,656

    Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.

  22. Mintplex-Labs/anything-llm JavaScript ★ 61,675

    Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

  23. datawhalechina/hello-agents Python ★ 59,738

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

  24. pathwaycom/llm-app Jupyter Notebook ★ 59,340

    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.

  25. mem0ai/mem0 Python ★ 58,728

    Universal memory layer for AI Agents

  26. upstash/context7 TypeScript ★ 57,513

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

  27. FlowiseAI/Flowise TypeScript ★ 53,659

    Build AI Agents, Visually

  28. BerriAI/litellm Python ★ 50,616

    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]

  29. run-llama/llama_index Python ★ 50,174

    LlamaIndex is the leading document agent and OCR platform

  30. mudler/LocalAI Go ★ 46,901

    LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

LLM 新秀榜

近期新建、涨势最猛的项目。

  1. open-multi-agent/open-multi-agent TypeScript ★ 6,384

    From a goal to a task DAG, automatically. TypeScript-native multi-agent orchestration.

  2. TencentDB Agent Memory delivers fully local long-term memory for AI Agents via a 4-tier progressive pipeline, with zero external API dependencies.

  3. Arthur-Ficial/apfel Swift ★ 5,786

    The free AI already on your Mac. CLI tool, OpenAI-compatible server, and interactive chat - all on-device via Apple Intelligence. No API keys, no cloud, no downloads.

  4. holaboss-ai/holaOS TypeScript ★ 5,513

    Your super agent for work: local-first, learn your working context in mins and never forget it.

  5. mnfst/awesome-free-llm-apis JavaScript ★ 5,116

    List of Permanent Free LLM API (API Keys)

  6. opensquilla/opensquilla Python ★ 4,231

    OpenSquilla - Token-Efficient AI Agent with same budget, higher intelligence density

  7. Curated list of the best truly open-source AI projects, models, tools, and infrastructure.

  8. 《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 - Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:

  9. A trilingual (繁中 / English / 简中) learning roadmap for agentic AI: from LLM basics to multi-agent systems, with 240+ curated resources and hands-on examples. 中文 AI agent 學習地圖。

  10. yvgude/lean-ctx Rust ★ 2,745

    Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents - one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60 - 90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.

  11. cosmicstack-labs/mercury-agent TypeScript ★ 2,635

    Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI or Telegram.

  12. Free LLM API keys for GPT-5.5, Claude, DeepSeek, Gemini, Grok - copy, paste, use. Updated 3-5x daily. No credit card needed.

  13. wquguru/harness-books Python ★ 2,484

    📚 Two books on harness engineering - the design philosophies behind Claude Code & Codex: constraints, query loops, context governance, multi-agent verification. harness-books.agentway.dev

  14. Open-Less/openless HTML ★ 2,371

    Hold a key, speak, release - AI-polished text appears at your cursor in any app. Open-source voice input for macOS & Windows. (按住快捷键说话,松开即得润色后的文字)

  15. raiyanyahya/how-to-train-your-gpt Jupyter Notebook ★ 2,243

    Build a modern LLM from scratch. Every line commented. Explained like we are five.