Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

LLM Python Packages

Python packages with the GitHub topic llm. Sorted by monthly downloads, with stars and forks.
langchain-ai
langchain-core

The agent engineering platform.

158M 150K 25K
langchain-ai
langchain

The agent engineering platform.

155.7M 150K 25K
huggingface
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.

120.6M 169K 35K
BerriAI
litellm

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

105.7M 64K 14K
huggingface
datasets

🤗 The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools

64.9M 22K 4K
langchain-ai
langgraph

Build resilient agents.

60.4M 46K 8K
langchain-ai
langgraph-sdk

Build resilient agents.

58.2M 46K 8K
langchain-ai
langgraph-checkpoint

Build resilient agents.

57.4M 46K 8K
langchain-ai
langgraph-prebuilt

Build resilient agents.

56.4M 46K 8K
mangiucugna
json-repair

Repair malformed JSON from LLMs, APIs, logs, and user input in Python.

48.8M 5K 232
langchain-ai
langchain-openai

The agent engineering platform.

46.7M 150K 25K
langchain-ai
langchain-text-splitters

The agent engineering platform.

41.1M 150K 25K
strands-agents
strands-agents

Build an agent harness and control it end-to-end. Open-source SDK for production AI agents in Python & TypeScript - any model, any cloud.

38.2M 9K 2K
pydantic
pydantic-ai-slim

How Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.

36.9M 21K 3K
pydantic
pydantic-graph

How Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.

36.5M 21K 3K
langchain-ai
langchain-google-vertexai

🦜🔗 LangChain interfaces to Google's suite of AI products (e.g. Gemini & Vertex AI)

33.3M 407 512
agentclientprotocol
agent-client-protocol

Python SDK for ACP clients and agents.

32.7M 355 65
langchain-ai
langchain-anthropic

The agent engineering platform.

25.9M 150K 25K
openai
openai-agents

A lightweight, powerful framework for multi-agent workflows

20M 31K 5K
langchain-ai
langchain-google-genai

🦜🔗 LangChain interfaces to Google's suite of AI products (e.g. Gemini & Vertex AI)

19.5M 407 512
adbar
trafilatura

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

17.2M 7K 523
langchain-ai
langchain-classic

The agent engineering platform.

17M 150K 25K
ray-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.

16.4M 44K 8K
langchain-ai
langgraph-checkpoint-postgres

Build resilient agents.

13.8M 46K 8K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology