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

The agent engineering platform.

168.2M 148K 25K
langchain-ai
langchain-core

The agent engineering platform.

145.3M 148K 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.

100.2M 168K 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]

95M 61K 12K
huggingface
datasets

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

64.6M 22K 4K
langchain-ai
langgraph

Build resilient agents.

46.7M 43K 7K
langchain-ai
langgraph-sdk

Build resilient agents.

44.5M 43K 7K
langchain-ai
langgraph-checkpoint

Build resilient agents.

43.2M 43K 7K
langchain-ai
langgraph-prebuilt

Build resilient agents.

42.3M 43K 7K
langchain-ai
langchain-openai

The agent engineering platform.

37.9M 148K 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.

37.8M 9K 1K
langchain-ai
langchain-text-splitters

The agent engineering platform.

37M 148K 25K
mangiucugna
json-repair

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

32.3M 5K 221
langchain-ai
langchain-google-vertexai

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

30.7M 404 498
pydantic
pydantic-ai-slim

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

25.4M 21K 3K
pydantic
pydantic-graph

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

25.2M 21K 3K
agentclientprotocol
agent-client-protocol

Python SDK for ACP clients and agents.

22.9M 333 51
langchain-ai
langchain-anthropic

The agent engineering platform.

18.6M 148K 25K
langchain-ai
langchain-classic

The agent engineering platform.

15M 148K 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.

14.4M 44K 8K
langchain-ai
langchain-google-genai

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

14M 404 498
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

13.6M 7K 455
openai
openai-agents

A lightweight, powerful framework for multi-agent workflows

12.8M 30K 5K
langchain-ai
langchain-google-community

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

11.3M 404 498
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology