PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Llm Python Packages

Python packages with the GitHub topic llm. Sorted by relevance, with stars and monthly downloads.
BerriAI
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]

359.2M 46K 8K
sgl-project
sglang

SGLang is a high-performance serving framework for large language models and multimodal models.

298.9M 27K 6K
langchain-ai
langchain

The agent engineering platform

238.8M 136K 22K
pydantic
pydantic-ai-slim

AI Agent Framework, the Pydantic way

161.4M 17K 2K
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.

143.5M 160K 33K
huggingface
datasets

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

118.9M 21K 3K
langchain-ai
langchain-core

The agent engineering platform

107.1M 136K 22K
pydantic
pydantic-graph

AI Agent Framework, the Pydantic way

83.6M 17K 2K
langchain-ai
langchain-openai

The agent engineering platform

65.8M 136K 22K
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.

52.9M 42K 8K
langchain-ai
langgraph

Build resilient language agents as graphs.

48.4M 31K 5K
langchain-ai
langchain-text-splitters

The agent engineering platform

43M 136K 22K
langchain-ai
langgraph-prebuilt

Build resilient language agents as graphs.

40.6M 31K 5K
langchain-ai
langgraph-checkpoint

Build resilient language agents as graphs.

39.2M 31K 5K
langchain-ai
langgraph-sdk

Build resilient language agents as graphs.

38.5M 31K 5K
pydantic
pydantic-ai

AI Agent Framework, the Pydantic way

31.5M 17K 2K
openai
openai-agents

A lightweight, powerful framework for multi-agent workflows

26.9M 26K 4K
langchain-ai
langchain-google-vertexai

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

23.7M 371 426
pydantic
pydantic-evals

AI Agent Framework, the Pydantic way

22.9M 17K 2K
mangiucugna
json-repair

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

20.2M 5K 187
tadata-org
fastapi-mcp

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

18.2M 12K 945
langchain-ai
langchain-anthropic

The agent engineering platform

17.9M 136K 22K
langchain-ai
langchain-classic

The agent engineering platform

16.4M 136K 22K
langchain-ai
langchain-google-genai

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

13.4M 371 426
    • Data from PyPI, GitHub, ClickHouse, and BigQuery