SHORTLIST20
中文
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
编程

Python AI, LLM and agent libraries

Libraries for LLM apps, AI agents, model serving and speech in Python, ranked by GitHub stars

更新于 · GitHub stars (stars)

为什么是这20个

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

这份清单有用吗?
  1. 1

    hermes-agent

    An adaptive personal AI assistant that grows with you.

    266,145 stars 60,366 forkslast push 2026-11-26PythonMIT

    也在: #3 AI agent frameworks on GitHub

  2. 2

    Transformers

    A deep learning library containing thousands of pre-trained models on different tasks. The goto place for anything related to Large Language Models.

    169,339 stars 35,302 forkslast push 2026-11-25PythonApache-2.0

    也在: #1 natural language processing libraries

  3. 3

    langchain

    A framework for building agents and LLM-powered applications.

    150,004 stars 25,168 forkslast push 2026-11-25PythonMIT

    也在: #7 AI agent frameworks on GitHub

  4. 4

    openai-whisper

    A general-purpose automatic speech recognition model trained on 680k hours of multilingual and multitask supervised data.

    113,550 stars 13,740 forkslast push 2026-08-31PythonMIT

  5. 5

    vllm

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

    97,580 stars 25,301 forkslast push 2026-11-26PythonApache-2.0

    也在: #3 tools for deploying and serving machine learning models

  6. 6

    unsloth

    Faster, lower-memory LLM fine-tuning, as a Python library or a desktop app.

    80,266 stars 7,478 forkslast push 2026-11-26PythonApache-2.0

    也在: #1 machine learning training and orchestration tools#8 self-hosted apps

  7. 7

    mem0

    An intelligent memory layer for AI agents enabling personalized interactions.

    69,483 stars 8,268 forkslast push 2026-11-25PythonApache-2.0

  8. 8

    crewai

    A framework for orchestrating role-playing autonomous AI agents for collaborative task solving.

    61,275 stars 9,294 forkslast push 2026-11-26PythonMIT

  9. 9

    llama-index

    A toolkit for building RAG pipelines and agents over your data.

    53,012 stars 8,640 forkslast push 2026-11-26PythonMIT

    也在: #4 open-source vector databases

  10. 10

    AstrBot

    A multi-platform AI assistant that connects LLMs to chat apps like Telegram, Slack, and QQ, extensible with Python plugins.

    47,514 stars 3,671 forkslast push 2026-11-25PythonAGPL-3.0

  11. 11

    langgraph

    Low-level orchestration framework for building stateful, long-running LLM agents.

    45,430 stars 7,864 forkslast push 2026-11-26PythonMIT

  12. 12

    openviking

    A context database for AI agents that unifies memory, resources, and skills.

    42,804 stars 3,572 forkslast push 2026-11-26PythonAGPL-3.0

    也在: #6 open-source vector databases

  13. 13

    dspy

    A framework for programming, not prompting, language models.

    39,237 stars 3,554 forkslast push 2026-11-25PythonMIT

  14. 14

    sglang

    A high-performance serving framework for large language models and multimodal models.

    39,069 stars 10,864 forkslast push 2026-11-26PythonApache-2.0

    也在: #10 tools for deploying and serving machine learning models

  15. 15

    diffusers

    Pre-trained diffusion models for generating and editing images, audio, and video.

    34,978 stars 7,517 forkslast push 2026-11-26PythonApache-2.0

  16. 16

    openai-agents

    OpenAI's framework for building and managing AI agents.

    30,880 stars 5,119 forkslast push 2026-11-25PythonMIT

  17. 17

    fastmcp

    A high-level, Pythonic framework for building MCP servers and clients.

    28,761 stars 2,657 forkslast push 2026-11-26PythonApache-2.0

  18. 18

    faster-whisper

    A Whisper reimplementation on CTranslate2, up to 4 times faster than openai-whisper with less memory.

    27,019 stars 2,301 forkslast push 2026-11-25PythonMIT

  19. 19

    deepinfer

    DeepSeek's production inference engine for DeepSeek models, with MoE expert parallelism.

    26,380 stars 3,261 forkslast push 2026-11-19PythonApache-2.0

  20. 20

    mcp

    The official Python SDK for building Model Context Protocol servers and clients.

    24,971 stars 4,178 forkslast push 2026-11-17PythonMIT

如何衡量

Every tool in the AI and Agents section(s) of the community list vinta/awesome-python on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

参考资料

  1. vinta/awesome-python: AI and Agents, GitHub community list (list text CC BY 4.0; star counts from the GitHub API). Checked 2026-11-26 03:28 UTC.
  2. vinta/awesome-python (AI and Agents), GitHub community list, 38 tools with a public repository.