All 58 Dependencies

Every package Ollama depends on, ranked by repo health score.

Ollama is a Go-based runtime for downloading, running, and serving large language models locally, backed by Y Combinator (W23). It wraps llama.cpp and a growing set of GPU backends (CUDA, ROCm, Vulkan, Metal, and Apple's MLX) behind a single CLI and REST API, so `ollama run gemma4` is enough to pull a quantized model and start chatting without touching Python, CUDA toolkits, or model-format conversion scripts.

Under the surface, Ollama is a client-server system: a lightweight HTTP server (built on gin) exposes `/api/generate`, `/api/chat`, `/api/embed`, and model-management endpoints, plus an OpenAI-compatible surface so existing OpenAI SDK code can point at `localhost:11434` with minimal changes. A scheduler in the server package tracks loaded models, VRAM budgets, and concurrent requests, deciding when to load, share, evict, or retry a model across available GPUs or fall back to CPU.

Models are distributed as Modelfiles — declarative configs that pin a base GGUF model, system prompt, template, and runtime parameters — and stored as content-addressable blobs pulled from Ollama's own model registry, similar in spirit to how Docker images work. This makes versioning, sharing, and swapping models between machines straightforward without re-downloading multi-gigabyte weights every time.

Beyond local inference, Ollama has grown into an integration hub: it ships CLI launchers for coding agents like Claude Code, Codex, and Copilot CLI, an experimental cloud-offload mode for models too large for consumer hardware, and official client libraries in Python and JavaScript, making it a common default backend for self-hosted chat UIs, RAG pipelines, and agent frameworks.

20 micromark-extension-llm-math ^3.1.0 36 browser v0.0.0-20240102092130-5ac0b6a4141c 37 rehype-sanitize ^6.0.0 38 rehype-prism-plus ^2.0.1 38 rehype-raw ^7.0.0 40 remark-gfm ^4.0.1 41 go-ordered-map v2.1.8 42 clsx ^2.1.1 44 remark-math ^7.0.1 outdated 44 remark-math ^6.0.0 45 uuid v1.6.0 51 tailwindcss-typography ^0.5.16 51 go-cmp v0.7.0 51 ollama-js ^0.6.0 52 heroicons ^2.2.0 55 Headless UI ^2.2.4 55 Cobra v1.7.0 outdated 62 regexp2 v1.11.5 outdated 65 react-markdown ^10.1.0 67 go-runewidth v0.0.16 outdated 67 remark ^15.0.1 67 remark ^11.0.0 outdated 69 cors v1.7.2 outdated 70 tablewriter v0.0.5 outdated 72 Gin v1.10.0 outdated 73 vite-tsconfig-paths ^5.1.4 outdated 75 testify v1.10.0 outdated 75 globals ^16.0.0 outdated 78 Motion ^12.17.0 outdated 78 lipgloss v1.1.0 78 postcss-preset-env ^10.2.4 outdated 81 Bubble Tea v1.3.10 82 go-toml v2.2.2 84 Streamdown ^1.4.0 outdated 86 Autoprefixer ^10.4.21 87 go-sqlite3 v1.14.24 outdated 88 compress v1.18.3 outdated 90 Tailwind CSS ^4.1.11 90 Tailwind CSS ^4.1.9 91 Playwright ^1.53.2 92 TanStack Query ^5.80.7 92 @vitejs/plugin-react ^4.4.1 outdated 92 Vitest ^3.2.4 outdated 92 Vitest ^3.2.4 outdated 92 KaTeX ^0.16.22 outdated 92 Vitest ^3.2.4 outdated 93 Vite ^6.3.5 outdated 94 ESLint ^9.25.0 outdated 94 TanStack Router ^1.120.20 94 TanStack Router ^1.120.20 94 TanStack Router ^1.120.20 94 ESLint ^9.25.0 outdated 94 typescript-eslint ^8.30.1 95 Storybook ^9.0.14 outdated 96 TypeScript ~5.8.3 outdated 97 React ^5.2.0 outdated 97 React ^19.1.0 97 React DOM ^19.1.0

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search