Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Ollama

Official Python client for running and interacting with local language models via Ollama.

Model SDKs PyPI MIT

Used in agent projects
32
2.0% of 1,622 Python repos built with AI coding agents
Gid Score
64 /100
#504 of 3,794 tools, #13 in model sdks · ranking
Rank in model sdks
#10 of 79
by use in those projects
Downloads
2.9M
PyPI, last 7 days, ollama
GitHub stars
10.6K
1,209 forks · last push Oct 16, 2026

How Ollama is used

Ollama is a dependency in 32 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (2.0% of the 1,622 Python ones), #10 of 79 in model sdks. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 387; those are left out of every share on this page. The most used alternative in our scan is OpenAI Python Library (245 projects). Projects that use it most often also use python-dotenv (78.1%), Pydantic (62.5%), OpenAI Python Library (53.1%).

AgentGid articles about Ollama

All guides

Ollama popularity over time

Top tools by Gid Score

Ollama: downloads per weekPyPI, ollama 2,973,897
Ollama: GitHub starsollama/ollama-python 10,611

Gid Score 64: downloads 74, use in agent projects 70, GitHub stars 51, downloads trend 55 (each 0-100). How it is calculated.

Often used with Ollama

python-dotenv78.1% of Ollama projects · 8.5× more than average
Pydantic62.5% of Ollama projects · 7.2× more than average
OpenAI Python Library53.1% of Ollama projects · 13.5× more than average
Requests53.1% of Ollama projects · 7.8× more than average
FastAPI50.0% of Ollama projects · 6.7× more than average
NumPy50.0% of Ollama projects · 8.6× more than average
Uvicorn50.0% of Ollama projects · 6.5× more than average
Model Context Protocol SDK (Python)46.9% of Ollama projects · 5.9× more than average

By coding agent

Claude Code0.6% of projects set up for it
GitHub Copilot0.5% of projects set up for it
Cursor0.4% of projects set up for it

Share of public repos configured for each agent that list Ollama as a dependency.

Install

Packagepip install ollama
Main stacksPython (31), Next.js (1)
Example projectsamanimran786/jarvis-ai, Who-Visions/NouGenShards

Alternatives to Ollama

All model sdks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Ollama are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI Python Library pypi
Official Python SDK to call OpenAI APIs including GPT models and embeddings.
86 245 (15.1%) 82.1M 31.9K Apache-2.0
Anthropic Python SDK pypi
Official Python library for calling Claude via the Anthropic API.
73 113 (7.0%) 42.7M 3,980 MIT
Google GenAI Python SDK pypi
Official Python SDK for Google's generative AI models including Gemini.
72 102 (6.3%) 36.6M 4,034 Apache-2.0
Claude Agent SDK pypi
Python SDK for Claude AI with agent capabilities and tool support.
63 22 (1.4%) 7.8M 8,304 MIT
Groq Python SDK pypi
Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.
53 19 (1.2%) 3.9M 621 Apache-2.0
OpenAI Agents SDK (Python) pypi
Official SDK for building and running agents with OpenAI models.
67 10 (0.6%) 3.3M 30.2K MIT
DashScope SDK pypi
Official Python client SDK for Alibaba DashScope API to call language models.
50 6 (0.4%) 770K — Apache-2.0
Mistral AI SDK pypi
Official Python SDK for the Mistral AI API to call Mistral language models.
47 4 (0.2%) 3.3M 774 Apache-2.0

More in Model SDKs: OpenAI AI SDK Anthropic SDK Google Generative AI Hugging Face Hub LiteLLM Ollama JavaScript Library Pi-AI

Is Ollama right for your project? Ask AgentGid →