Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Hugging Face Hub

Python client library for downloading and publishing models and datasets on Hugging Face.

Model SDKs PyPI Apache-2.0

Used in agent projects
59
0.5% of 12,697 public repos built with AI coding agents
Rank in model sdks
#8 of 15
by use in those projects
Downloads
60M
PyPI, last 7 days, huggingface-hub
GitHub stars
3,974
last push Oct 10, 2026

How Hugging Face Hub is used

Hugging Face Hub is a dependency in 59 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.5%), #8 of 15 in model sdks. The most used alternative there is OpenAI. Projects that use it most often also use NumPy (79.7%), Pydantic (71.2%), Requests (71.2%).

Often used with Hugging Face Hub

NumPy79.7% of Hugging Face Hub projects · 20.8× more than average
Pydantic71.2% of Hugging Face Hub projects · 13.9× more than average
Requests71.2% of Hugging Face Hub projects · 13.4× more than average
python-dotenv66.1% of Hugging Face Hub projects · 10.1× more than average
PyYAML64.4% of Hugging Face Hub projects · 21.2× more than average
tqdm62.7% of Hugging Face Hub projects · 56.5× more than average
OpenAI Python Library61.0% of Hugging Face Hub projects · 31.8× more than average
Pillow59.3% of Hugging Face Hub projects · 25.8× more than average

By coding agent

Claude Code0.9% of projects set up for it
GitHub Copilot0.8% of projects set up for it
Cursor0.8% of projects set up for it

Share of public repos configured for each agent that list Hugging Face Hub as a dependency.

Install

Packagepip install huggingface-hub
Main stacksPython (55), Next.js (3), Other (1)
Example projectspavelzbornik/whisperX-FastAPI, XargonWan/Synthetic_Heart, Llaminar/llaminar, RoboFinSystems/robosystems, banodoco/brain-of-bndc

Alternatives to Hugging Face Hub

All model sdks

Tool Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI npm
Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.
362 (2.9%) 43.2M 11.2K Apache-2.0
AI SDK npm
Vercel's unified SDK for building AI apps with OpenAI, Anthropic, Google and more.
328 (2.6%) 29.8M 27.2K Apache-2.0
Google Generative AI npm
Official SDK for Google Gemini API to build AI-powered applications.
258 (2.0%) 25.3M 1,686 Apache-2.0
OpenAI Python Library pypi
Official Python SDK to call OpenAI APIs including GPT models and embeddings.
244 (1.9%) 75.1M 31.8K —
Anthropic SDK npm
Official TypeScript SDK for calling Claude API and building agent applications.
211 (1.7%) 46.5M 2,136 MIT
Anthropic Python SDK pypi
Official Python library for calling Claude via the Anthropic API.
115 (0.9%) 40.9M 3,954 MIT
Google GenAI Python SDK pypi
Official Python SDK for Google's generative AI models including Gemini.
111 (0.9%) 34.1M 4,013 —
Transformers.js npm
Run Hugging Face transformer models directly in browser without servers.
34 (0.3%) 3.9M 16.3K Apache-2.0
Is Hugging Face Hub right for your project? Ask AgentGid →