All 63 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.

19 micromark-extension-llm-math ^3.1.0 37 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 48 go-cmp v0.7.0 50 tailwindcss-typography ^0.5.16 51 heroicons ^2.2.0 52 ollama-js ^0.6.0 54 Cobra v1.7.0 outdated 55 Headless UI ^2.2.4 60 regexp2 v1.11.5 outdated 65 cors v1.7.2 outdated 66 react-markdown ^10.1.0 71 remark ^15.0.1 71 remark ^11.0.0 outdated 72 globals ^16.0.0 outdated 72 go-runewidth v0.0.16 outdated 74 go-toml v2.2.2 75 lipgloss v1.1.0 75 testify v1.10.0 outdated 76 tablewriter v0.0.5 outdated 76 vite-tsconfig-paths ^5.1.4 outdated 77 Gin v1.10.0 outdated 78 postcss-preset-env ^10.2.4 outdated 79 Motion ^12.17.0 outdated 82 Bubble Tea v1.3.10 84 Streamdown ^1.4.0 outdated 87 Autoprefixer ^10.4.21 88 go-sqlite3 v1.14.24 outdated 90 Tailwind CSS ^4.1.11 90 Tailwind CSS ^4.1.9 91 compress v1.18.3 outdated 92 KaTeX ^0.16.22 outdated 92 Playwright ^1.53.2 92 TanStack Query ^5.80.7 93 @vitejs/plugin-react ^4.4.1 outdated 93 Vitest ^3.2.4 outdated 93 Vitest ^3.2.4 outdated 93 Vitest ^3.2.4 outdated 94 TanStack Router ^1.120.20 94 TanStack Router ^1.120.20 94 TanStack Router ^1.120.20 94 Vite ^6.3.5 outdated 94 typescript-eslint ^8.30.1 95 ESLint ^9.25.0 outdated 95 ESLint ^9.25.0 outdated 95 Storybook ^9.0.14 outdated 95 Storybook ^9.0.14 outdated 95 Storybook ^9.0.14 outdated 95 Storybook ^9.0.14 outdated 95 Storybook ^9.0.14 outdated 95 Storybook ^9.0.14 outdated 97 TypeScript ~5.8.3 outdated 98 React ^5.2.0 outdated 98 React ^19.1.0 98 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