PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Large Language Models Python Packages

Python packages with the GitHub topic large-language-models. Sorted by relevance, with stars and monthly downloads.
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.

56.1M 43K 8K
mlc-ai
xgrammar

Fast, Flexible and Portable Structured Generation

6.6M 2K 148
onnx
onnx-ir

Efficient in-memory representation for ONNX, in Python

3.7M 45 20
redis
redisvl

Redis Vector Library (RedisVL) -- the AI-native Python client for Redis.

2.2M 400 84
deepset-ai
haystack-ai

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

893K 25K 3K
amazon-science
chronos-forecasting

Chronos: Pretrained Models for Time Series Forecasting

637K 5K 636
urchade
gliner

Generalist and Lightweight Model for Named Entity Recognition (Extract any entity types from texts)

573K 3K 273
vndee
llm-sandbox

Lightweight and portable LLM sandbox runtime (code interpreter) Python library.

550K 1K 102
fla-org
fla-core

🚀 Efficient implementations for emerging model architectures

513K 5K 531
AgentOps-AI
tokencost

Easy token price estimates for 400+ LLMs. TokenOps.

438K 2K 104
fla-org
flash-linear-attention

🚀 Efficient implementations for emerging model architectures

420K 5K 531
protectai
llm-guard

The Security Toolkit for LLM Interactions

285K 3K 391
google
langextract

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

265K 37K 3K
agentscope-ai
agentscope

Build and run agents you can see, understand and trust.

236K 25K 3K
hiyouga
llamafactory

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

235K 71K 9K
activeloopai
deeplake

Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.

227K 9K 710
HKUDS
lightrag-hku

[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"

211K 35K 5K
NVIDIA
megatron-core

Ongoing research training transformer models at scale

185K 16K 4K
camel-ai
camel-ai

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

140K 17K 2K
open-thought
reasoning-gym

[NeurIPS 2025 Spotlight] Reasoning Environments for Reinforcement Learning with Verifiable Rewards

137K 1K 119
langflow-ai
langflow

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

99K 149K 9K
langflow-ai
langflow-base

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

96K 149K 9K
zou-group
textgrad

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients. Published in Nature.

80K 4K 289
tensorzero
tensorzero

TensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation.

77K 11K 829
    • Data from PyPI, GitHub, ClickHouse, and BigQuery