README.md 35.9 KB
Newer Older
Michael Chiang's avatar
Michael Chiang committed
1
<div align="center">
2
  <a href="https://ollama.com">
3
4
    <img alt="ollama" height="200px" src="https://github.com/ollama/ollama/assets/3325447/0d0b44e2-8f4a-4e99-9b52-a5c1c741c8f7">
  </a>
Michael Chiang's avatar
Michael Chiang committed
5
</div>
Jeffrey Morgan's avatar
Jeffrey Morgan committed
6

Bruce MacDonald's avatar
Bruce MacDonald committed
7
# Ollama
Jeffrey Morgan's avatar
Jeffrey Morgan committed
8

Michael's avatar
Michael committed
9
Get up and running with large language models.
10

11
### macOS
Jeffrey Morgan's avatar
Jeffrey Morgan committed
12

13
[Download](https://ollama.com/download/Ollama-darwin.zip)
14

15
### Windows
16

Michael's avatar
Michael committed
17
[Download](https://ollama.com/download/OllamaSetup.exe)
18

Michael's avatar
Michael committed
19
### Linux
20

21
```shell
22
curl -fsSL https://ollama.com/install.sh | sh
23
24
```

25
[Manual install instructions](https://github.com/ollama/ollama/blob/main/docs/linux.md)
26

27
### Docker
28

Jeffrey Morgan's avatar
Jeffrey Morgan committed
29
The official [Ollama Docker image](https://hub.docker.com/r/ollama/ollama) `ollama/ollama` is available on Docker Hub.
30

Jeffrey Morgan's avatar
Jeffrey Morgan committed
31
32
33
34
35
### Libraries

- [ollama-python](https://github.com/ollama/ollama-python)
- [ollama-js](https://github.com/ollama/ollama-js)

Jeffrey Morgan's avatar
Jeffrey Morgan committed
36
37
38
39
40
### Community

- [Discord](https://discord.gg/ollama)
- [Reddit](https://reddit.com/r/ollama)

41
42
## Quickstart

43
To run and chat with [Llama 3.2](https://ollama.com/library/llama3.2):
44

45
```shell
46
ollama run llama3.2
47
48
49
50
```

## Model library

Jeffrey Morgan's avatar
Jeffrey Morgan committed
51
Ollama supports a list of models available on [ollama.com/library](https://ollama.com/library 'ollama model library')
52

Jeffrey Morgan's avatar
Jeffrey Morgan committed
53
Here are some example models that can be downloaded:
54

55
56
| Model              | Parameters | Size  | Download                         |
| ------------------ | ---------- | ----- | -------------------------------- |
Michael's avatar
Michael committed
57
58
59
60
| Gemma 3            | 1B         | 815MB | `ollama run gemma3:1b`           |
| Gemma 3            | 4B         | 3.3GB | `ollama run gemma3`              |
| Gemma 3            | 12B        | 8.1GB | `ollama run gemma3:12b`          |
| Gemma 3            | 27B        | 17GB  | `ollama run gemma3:27b`          |
61
| QwQ                | 32B        | 20GB  | `ollama run qwq`                 |
62
63
| DeepSeek-R1        | 7B         | 4.7GB | `ollama run deepseek-r1`         |
| DeepSeek-R1        | 671B       | 404GB | `ollama run deepseek-r1:671b`    |
64
| Llama 3.3          | 70B        | 43GB  | `ollama run llama3.3`            |
65
66
67
68
69
70
| Llama 3.2          | 3B         | 2.0GB | `ollama run llama3.2`            |
| Llama 3.2          | 1B         | 1.3GB | `ollama run llama3.2:1b`         |
| Llama 3.2 Vision   | 11B        | 7.9GB | `ollama run llama3.2-vision`     |
| Llama 3.2 Vision   | 90B        | 55GB  | `ollama run llama3.2-vision:90b` |
| Llama 3.1          | 8B         | 4.7GB | `ollama run llama3.1`            |
| Llama 3.1          | 405B       | 231GB | `ollama run llama3.1:405b`       |
Michael's avatar
Michael committed
71
| Phi 4              | 14B        | 9.1GB | `ollama run phi4`                |
72
| Phi 4 Mini         | 3.8B       | 2.5GB | `ollama run phi4-mini`           |
73
74
75
76
77
78
79
| Mistral            | 7B         | 4.1GB | `ollama run mistral`             |
| Moondream 2        | 1.4B       | 829MB | `ollama run moondream`           |
| Neural Chat        | 7B         | 4.1GB | `ollama run neural-chat`         |
| Starling           | 7B         | 4.1GB | `ollama run starling-lm`         |
| Code Llama         | 7B         | 3.8GB | `ollama run codellama`           |
| Llama 2 Uncensored | 7B         | 3.8GB | `ollama run llama2-uncensored`   |
| LLaVA              | 7B         | 4.5GB | `ollama run llava`               |
80
| Granite-3.2         | 8B         | 4.9GB | `ollama run granite3.2`          |
81

Michael Yang's avatar
Michael Yang committed
82
83
> [!NOTE]
> You should have at least 8 GB of RAM available to run the 7B models, 16 GB to run the 13B models, and 32 GB to run the 33B models.
Jeffrey Morgan's avatar
Jeffrey Morgan committed
84

Jeffrey Morgan's avatar
Jeffrey Morgan committed
85
## Customize a model
Jeffrey Morgan's avatar
Jeffrey Morgan committed
86

87
### Import from GGUF
Michael Yang's avatar
Michael Yang committed
88

89
Ollama supports importing GGUF models in the Modelfile:
Michael Yang's avatar
Michael Yang committed
90

91
1. Create a file named `Modelfile`, with a `FROM` instruction with the local filepath to the model you want to import.
Michael Yang's avatar
Michael Yang committed
92

93
94
95
   ```
   FROM ./vicuna-33b.Q4_0.gguf
   ```
96

97
2. Create the model in Ollama
Jeffrey Morgan's avatar
Jeffrey Morgan committed
98

99
   ```shell
100
   ollama create example -f Modelfile
101
   ```
102

103
3. Run the model
Michael Yang's avatar
Michael Yang committed
104

105
   ```shell
106
   ollama run example
107
   ```
Michael Yang's avatar
Michael Yang committed
108

Jeffrey Morgan's avatar
Jeffrey Morgan committed
109
### Import from Safetensors
110
111
112

See the [guide](docs/import.md) on importing models for more information.

113
### Customize a prompt
Michael Yang's avatar
Michael Yang committed
114

115
Models from the Ollama library can be customized with a prompt. For example, to customize the `llama3.2` model:
116

117
```shell
118
ollama pull llama3.2
119
```
Jeffrey Morgan's avatar
Jeffrey Morgan committed
120

121
Create a `Modelfile`:
Jeffrey Morgan's avatar
Jeffrey Morgan committed
122

Jeffrey Morgan's avatar
Jeffrey Morgan committed
123
```
124
FROM llama3.2
125
126
127
128

# set the temperature to 1 [higher is more creative, lower is more coherent]
PARAMETER temperature 1

129
# set the system message
Jeffrey Morgan's avatar
Jeffrey Morgan committed
130
SYSTEM """
Jeffrey Morgan's avatar
Jeffrey Morgan committed
131
You are Mario from Super Mario Bros. Answer as Mario, the assistant, only.
132
"""
Jeffrey Morgan's avatar
Jeffrey Morgan committed
133
```
Bruce MacDonald's avatar
Bruce MacDonald committed
134

135
Next, create and run the model:
Bruce MacDonald's avatar
Bruce MacDonald committed
136
137

```
138
139
140
141
ollama create mario -f ./Modelfile
ollama run mario
>>> hi
Hello! It's your friend Mario.
Bruce MacDonald's avatar
Bruce MacDonald committed
142
143
```

144
For more information on working with a Modelfile, see the [Modelfile](docs/modelfile.md) documentation.
145
146
147
148
149
150

## CLI Reference

### Create a model

`ollama create` is used to create a model from a Modelfile.
151

152
```shell
Matt Williams's avatar
Matt Williams committed
153
154
155
ollama create mymodel -f ./Modelfile
```

156
### Pull a model
Jeffrey Morgan's avatar
Jeffrey Morgan committed
157

158
```shell
159
ollama pull llama3.2
160
```
Jeffrey Morgan's avatar
Jeffrey Morgan committed
161

162
163
164
> This command can also be used to update a local model. Only the diff will be pulled.

### Remove a model
Jeffrey Morgan's avatar
Jeffrey Morgan committed
165

166
```shell
167
ollama rm llama3.2
Jeffrey Morgan's avatar
Jeffrey Morgan committed
168
169
```

170
171
### Copy a model

172
```shell
173
ollama cp llama3.2 my-model
174
175
176
177
178
179
180
181
182
183
184
185
186
```

### Multiline input

For multiline input, you can wrap text with `"""`:

```
>>> """Hello,
... world!
... """
I'm a basic program that prints the famous "Hello, world!" message to the console.
```

Jeffrey Morgan's avatar
Jeffrey Morgan committed
187
188
189
### Multimodal models

```
Jeffrey Morgan's avatar
Jeffrey Morgan committed
190
ollama run llava "What's in this image? /Users/jmorgan/Desktop/smile.png"
Jeffrey Morgan's avatar
Jeffrey Morgan committed
191
192
```

193
194
> **Output**: The image features a yellow smiley face, which is likely the central focus of the picture.

Arpit Jain's avatar
Arpit Jain committed
195
### Pass the prompt as an argument
196

197
198
```shell
ollama run llama3.2 "Summarize this file: $(cat README.md)"
199
```
200
201

> **Output**: Ollama is a lightweight, extensible framework for building and running language models on the local machine. It provides a simple API for creating, running, and managing models, as well as a library of pre-built models that can be easily used in a variety of applications.
202

royjhan's avatar
royjhan committed
203
204
### Show model information

205
```shell
206
ollama show llama3.2
royjhan's avatar
royjhan committed
207
208
```

209
### List models on your computer
Jeffrey Morgan's avatar
Jeffrey Morgan committed
210

211
```shell
212
213
ollama list
```
Jeffrey Morgan's avatar
Jeffrey Morgan committed
214

215
216
### List which models are currently loaded

217
```shell
218
219
220
221
222
ollama ps
```

### Stop a model which is currently running

223
```shell
224
ollama stop llama3.2
225
226
```

227
### Start Ollama
Jeffrey Morgan's avatar
Jeffrey Morgan committed
228

229
`ollama serve` is used when you want to start ollama without running the desktop application.
Jeffrey Morgan's avatar
Jeffrey Morgan committed
230

Jeffrey Morgan's avatar
Jeffrey Morgan committed
231
232
## Building

233
See the [developer guide](https://github.com/ollama/ollama/blob/main/docs/development.md)
234
235

### Running local builds
236

Jeffrey Morgan's avatar
Jeffrey Morgan committed
237
Next, start the server:
Bruce MacDonald's avatar
Bruce MacDonald committed
238

239
```shell
Jeffrey Morgan's avatar
Jeffrey Morgan committed
240
./ollama serve
Jeffrey Morgan's avatar
Jeffrey Morgan committed
241
242
```

Michael Yang's avatar
Michael Yang committed
243
Finally, in a separate shell, run a model:
Jeffrey Morgan's avatar
Jeffrey Morgan committed
244

245
```shell
246
./ollama run llama3.2
Jeffrey Morgan's avatar
Jeffrey Morgan committed
247
```
248
249
250

## REST API

James Braza's avatar
James Braza committed
251
Ollama has a REST API for running and managing models.
252
253

### Generate a response
254

255
```shell
256
curl http://localhost:11434/api/generate -d '{
257
  "model": "llama3.2",
258
259
  "prompt":"Why is the sky blue?"
}'
260
```
Nate Sesti's avatar
Nate Sesti committed
261

262
### Chat with a model
Bruce MacDonald's avatar
Bruce MacDonald committed
263

264
```shell
Bruce MacDonald's avatar
Bruce MacDonald committed
265
curl http://localhost:11434/api/chat -d '{
266
  "model": "llama3.2",
267
268
  "messages": [
    { "role": "user", "content": "why is the sky blue?" }
Bruce MacDonald's avatar
Bruce MacDonald committed
269
270
271
272
  ]
}'
```

James Braza's avatar
James Braza committed
273
274
See the [API documentation](./docs/api.md) for all endpoints.

275
276
## Community Integrations

Jeffrey Morgan's avatar
Jeffrey Morgan committed
277
### Web & Desktop
278

Bruce MacDonald's avatar
Bruce MacDonald committed
279
- [Open WebUI](https://github.com/open-webui/open-webui)
Xiaowei Zhu's avatar
Xiaowei Zhu committed
280
- [SwiftChat (macOS with ReactNative)](https://github.com/aws-samples/swift-chat)
Bruce MacDonald's avatar
Bruce MacDonald committed
281
- [Enchanted (macOS native)](https://github.com/AugustDev/enchanted)
Fernando Maclen's avatar
Fernando Maclen committed
282
- [Hollama](https://github.com/fmaclen/hollama)
Saifeddine ALOUI's avatar
Saifeddine ALOUI committed
283
- [Lollms-Webui](https://github.com/ParisNeo/lollms-webui)
284
- [LibreChat](https://github.com/danny-avila/LibreChat)
285
- [Bionic GPT](https://github.com/bionic-gpt/bionic-gpt)
286
- [HTML UI](https://github.com/rtcfirefly/ollama-ui)
Jikku Jose's avatar
Jikku Jose committed
287
- [Saddle](https://github.com/jikkuatwork/saddle)
crStiv's avatar
crStiv committed
288
- [TagSpaces](https://www.tagspaces.org) (A platform for file-based apps, [utilizing Ollama](https://docs.tagspaces.org/ai/) for the generation of tags and descriptions)
289
- [Chatbot UI](https://github.com/ivanfioravanti/chatbot-ollama)
290
- [Chatbot UI v2](https://github.com/mckaywrigley/chatbot-ui)
291
- [Typescript UI](https://github.com/ollama-interface/Ollama-Gui?tab=readme-ov-file)
292
- [Minimalistic React UI for Ollama Models](https://github.com/richawo/minimal-llm-ui)
293
- [Ollamac](https://github.com/kevinhermawan/Ollamac)
294
- [big-AGI](https://github.com/enricoros/big-AGI)
295
- [Cheshire Cat assistant framework](https://github.com/cheshire-cat-ai/core)
296
- [Amica](https://github.com/semperai/amica)
297
- [chatd](https://github.com/BruceMacD/chatd)
298
- [Ollama-SwiftUI](https://github.com/kghandour/Ollama-SwiftUI)
299
- [Dify.AI](https://github.com/langgenius/dify)
300
- [MindMac](https://mindmac.app)
301
- [NextJS Web Interface for Ollama](https://github.com/jakobhoeg/nextjs-ollama-llm-ui)
302
- [Msty](https://msty.app)
303
- [Chatbox](https://github.com/Bin-Huang/Chatbox)
304
- [WinForm Ollama Copilot](https://github.com/tgraupmann/WinForm_Ollama_Copilot)
305
- [NextChat](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) with [Get Started Doc](https://docs.nextchat.dev/models/ollama)
306
- [Alpaca WebUI](https://github.com/mmo80/alpaca-webui)
307
- [OllamaGUI](https://github.com/enoch1118/ollamaGUI)
308
- [OpenAOE](https://github.com/InternLM/OpenAOE)
309
- [Odin Runes](https://github.com/leonid20000/OdinRunes)
310
- [LLM-X](https://github.com/mrdjohnson/llm-x) (Progressive Web App)
311
- [AnythingLLM (Docker + MacOs/Windows/Linux native app)](https://github.com/Mintplex-Labs/anything-llm)
312
313
- [Ollama Basic Chat: Uses HyperDiv Reactive UI](https://github.com/rapidarchitect/ollama_basic_chat)
- [Ollama-chats RPG](https://github.com/drazdra/ollama-chats)
314
- [IntelliBar](https://intellibar.app/) (AI-powered assistant for macOS)
315
- [QA-Pilot](https://github.com/reid41/QA-Pilot) (Interactive chat tool that can leverage Ollama models for rapid understanding and navigation of GitHub code repositories)
316
317
318
319
320
- [ChatOllama](https://github.com/sugarforever/chat-ollama) (Open Source Chatbot based on Ollama with Knowledge Bases)
- [CRAG Ollama Chat](https://github.com/Nagi-ovo/CRAG-Ollama-Chat) (Simple Web Search with Corrective RAG)
- [RAGFlow](https://github.com/infiniflow/ragflow) (Open-source Retrieval-Augmented Generation engine based on deep document understanding)
- [StreamDeploy](https://github.com/StreamDeploy-DevRel/streamdeploy-llm-app-scaffold) (LLM Application Scaffold)
- [chat](https://github.com/swuecho/chat) (chat web app for teams)
321
- [Lobe Chat](https://github.com/lobehub/lobe-chat) with [Integrating Doc](https://lobehub.com/docs/self-hosting/examples/ollama)
322
323
- [Ollama RAG Chatbot](https://github.com/datvodinh/rag-chatbot.git) (Local Chat with multiple PDFs using Ollama and RAG)
- [BrainSoup](https://www.nurgo-software.com/products/brainsoup) (Flexible native client with RAG & multi-agent automation)
324
- [macai](https://github.com/Renset/macai) (macOS client for Ollama, ChatGPT, and other compatible API back-ends)
325
- [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) (RWKV offline LLM deployment tool, also usable as a client for ChatGPT and Ollama)
326
- [Ollama Grid Search](https://github.com/dezoito/ollama-grid-search) (app to evaluate and compare models)
327
- [Olpaka](https://github.com/Otacon/olpaka) (User-friendly Flutter Web App for Ollama)
crStiv's avatar
crStiv committed
328
- [Casibase](https://casibase.org) (An open source AI knowledge base and dialogue system combining the latest RAG, SSO, ollama support, and multiple large language models.)
329
- [OllamaSpring](https://github.com/CrazyNeil/OllamaSpring) (Ollama Client for macOS)
330
- [LLocal.in](https://github.com/kartikm7/llocal) (Easy to use Electron Desktop Client for Ollama)
331
- [Shinkai Desktop](https://github.com/dcSpark/shinkai-apps) (Two click install Local AI using Ollama + Files + RAG)
crStiv's avatar
crStiv committed
332
- [AiLama](https://github.com/zeyoyt/ailama) (A Discord User App that allows you to interact with Ollama anywhere in Discord)
RAPID ARCHITECT's avatar
RAPID ARCHITECT committed
333
- [Ollama with Google Mesop](https://github.com/rapidarchitect/ollama_mesop/) (Mesop Chat Client implementation with Ollama)
334
- [R2R](https://github.com/SciPhi-AI/R2R) (Open-source RAG engine)
crStiv's avatar
crStiv committed
335
- [Ollama-Kis](https://github.com/elearningshow/ollama-kis) (A simple easy-to-use GUI with sample custom LLM for Drivers Education)
336
- [OpenGPA](https://opengpa.org) (Open-source offline-first Enterprise Agentic Application)
337
- [Painting Droid](https://github.com/mateuszmigas/painting-droid) (Painting app with AI integrations)
338
- [Kerlig AI](https://www.kerlig.com/) (AI writing assistant for macOS)
339
- [AI Studio](https://github.com/MindWorkAI/AI-Studio)
Pákozdi György's avatar
Pákozdi György committed
340
- [Sidellama](https://github.com/gyopak/sidellama) (browser-based LLM client)
341
- [LLMStack](https://github.com/trypromptly/LLMStack) (No-code multi-agent framework to build LLM agents and workflows)
342
- [BoltAI for Mac](https://boltai.com) (AI Chat Client for Mac)
343
- [Harbor](https://github.com/av/harbor) (Containerized LLM Toolkit with Ollama as default backend)
crStiv's avatar
crStiv committed
344
345
- [PyGPT](https://github.com/szczyglis-dev/py-gpt) (AI desktop assistant for Linux, Windows, and Mac)
- [Alpaca](https://github.com/Jeffser/Alpaca) (An Ollama client application for Linux and macOS made with GTK4 and Adwaita)
346
- [AutoGPT](https://github.com/Significant-Gravitas/AutoGPT/blob/master/docs/content/platform/ollama.md) (AutoGPT Ollama integration)
347
- [Go-CREW](https://www.jonathanhecl.com/go-crew/) (Powerful Offline RAG in Golang)
348
- [PartCAD](https://github.com/openvmp/partcad/) (CAD model generation with OpenSCAD and CadQuery)
crStiv's avatar
crStiv committed
349
- [Ollama4j Web UI](https://github.com/ollama4j/ollama4j-web-ui) - Java-based Web UI for Ollama built with Vaadin, Spring Boot, and Ollama4j
Viz's avatar
Viz committed
350
- [PyOllaMx](https://github.com/kspviswa/pyOllaMx) - macOS application capable of chatting with both Ollama and Apple MLX models.
351
- [Cline](https://github.com/cline/cline) - Formerly known as Claude Dev is a VSCode extension for multi-file/whole-repo coding
352
- [Cherry Studio](https://github.com/kangfenmao/cherry-studio) (Desktop client with Ollama support)
crStiv's avatar
crStiv committed
353
- [ConfiChat](https://github.com/1runeberg/confichat) (Lightweight, standalone, multi-platform, and privacy-focused LLM chat interface with optional encryption)
354
- [Archyve](https://github.com/nickthecook/archyve) (RAG-enabling document library)
355
- [crewAI with Mesop](https://github.com/rapidarchitect/ollama-crew-mesop) (Mesop Web Interface to run crewAI with Ollama)
356
- [Tkinter-based client](https://github.com/chyok/ollama-gui) (Python tkinter-based Client for Ollama)
357
- [LLMChat](https://github.com/trendy-design/llmchat) (Privacy focused, 100% local, intuitive all-in-one chat interface)
358
- [Local Multimodal AI Chat](https://github.com/Leon-Sander/Local-Multimodal-AI-Chat) (Ollama-based LLM Chat with support for multiple features, including PDF RAG, voice chat, image-based interactions, and integration with OpenAI.)
359
- [ARGO](https://github.com/xark-argo/argo) (Locally download and run Ollama and Huggingface models with RAG on Mac/Windows/Linux)
360
- [OrionChat](https://github.com/EliasPereirah/OrionChat) - OrionChat is a web interface for chatting with different AI providers
361
- [G1](https://github.com/bklieger-groq/g1) (Prototype of using prompting strategies to improve the LLM's reasoning through o1-like reasoning chains.)
362
- [Web management](https://github.com/lemonit-eric-mao/ollama-web-management) (Web management page)
363
- [Promptery](https://github.com/promptery/promptery) (desktop client for Ollama.)
364
- [Ollama App](https://github.com/JHubi1/ollama-app) (Modern and easy-to-use multi-platform client for Ollama)
365
- [chat-ollama](https://github.com/annilq/chat-ollama) (a React Native client for Ollama)
366
367
368
- [SpaceLlama](https://github.com/tcsenpai/spacellama) (Firefox and Chrome extension to quickly summarize web pages with ollama in a sidebar)
- [YouLama](https://github.com/tcsenpai/youlama) (Webapp to quickly summarize any YouTube video, supporting Invidious as well)
- [DualMind](https://github.com/tcsenpai/dualmind) (Experimental app allowing two models to talk to each other in the terminal or in a web interface)
369
- [ollamarama-matrix](https://github.com/h1ddenpr0cess20/ollamarama-matrix) (Ollama chatbot for the Matrix chat protocol)
370
- [ollama-chat-app](https://github.com/anan1213095357/ollama-chat-app) (Flutter-based chat app)
crStiv's avatar
crStiv committed
371
- [Perfect Memory AI](https://www.perfectmemory.ai/) (Productivity AI assists personalized by what you have seen on your screen, heard, and said in the meetings)
372
- [Hexabot](https://github.com/hexastack/hexabot) (A conversational AI builder)
373
- [Reddit Rate](https://github.com/rapidarchitect/reddit_analyzer) (Search and Rate Reddit topics with a weighted summation)
374
- [OpenTalkGpt](https://github.com/adarshM84/OpenTalkGpt) (Chrome Extension to manage open-source models supported by Ollama, create custom models, and chat with models from a user-friendly UI)
375
- [VT](https://github.com/vinhnx/vt.ai) (A minimal multimodal AI chat app, with dynamic conversation routing. Supports local models via Ollama)
376
- [Nosia](https://github.com/nosia-ai/nosia) (Easy to install and use RAG platform based on Ollama)
377
- [Witsy](https://github.com/nbonamy/witsy) (An AI Desktop application available for Mac/Windows/Linux)
378
- [Abbey](https://github.com/US-Artificial-Intelligence/abbey) (A configurable AI interface server with notebooks, document storage, and YouTube support)
379
- [Minima](https://github.com/dmayboroda/minima) (RAG with on-premises or fully local workflow)
380
- [aidful-ollama-model-delete](https://github.com/AidfulAI/aidful-ollama-model-delete) (User interface for simplified model cleanup)
381
- [Perplexica](https://github.com/ItzCrazyKns/Perplexica) (An AI-powered search engine & an open-source alternative to Perplexity AI)
382
- [Ollama Chat WebUI for Docker ](https://github.com/oslook/ollama-webui) (Support for local docker deployment, lightweight ollama webui)
383
- [AI Toolkit for Visual Studio Code](https://aka.ms/ai-tooklit/ollama-docs) (Microsoft-official VSCode extension to chat, test, evaluate models with Ollama support, and use them in your AI applications.)
384
- [MinimalNextOllamaChat](https://github.com/anilkay/MinimalNextOllamaChat) (Minimal Web UI for Chat and Model Control)
385
- [Chipper](https://github.com/TilmanGriesel/chipper) AI interface for tinkerers (Ollama, Haystack RAG, Python)
386
- [ChibiChat](https://github.com/CosmicEventHorizon/ChibiChat) (Kotlin-based Android app to chat with Ollama and Koboldcpp API endpoints)
387
- [LocalLLM](https://github.com/qusaismael/localllm) (Minimal Web-App to run ollama models on it with a GUI)
388
- [Ollamazing](https://github.com/buiducnhat/ollamazing) (Web extension to run Ollama models)
crStiv's avatar
crStiv committed
389
- [OpenDeepResearcher-via-searxng](https://github.com/benhaotang/OpenDeepResearcher-via-searxng) (A Deep Research equivalent endpoint with Ollama support for running locally)
390
- [AntSK](https://github.com/AIDotNet/AntSK) (Out-of-the-box & Adaptable RAG Chatbot)
391
- [MaxKB](https://github.com/1Panel-dev/MaxKB/) (Ready-to-use & flexible RAG Chatbot)
392
- [yla](https://github.com/danielekp/yla) (Web interface to freely interact with your customized models)
393
- [LangBot](https://github.com/RockChinQ/LangBot) (LLM-based instant messaging bots platform, with Agents, RAG features, supports multiple platforms)
394
- [1Panel](https://github.com/1Panel-dev/1Panel/) (Web-based Linux Server Management Tool)
395
- [AstrBot](https://github.com/Soulter/AstrBot/) (User-friendly LLM-based multi-platform chatbot with a WebUI, supporting RAG, LLM agents, and plugins integration)
396
- [Reins](https://github.com/ibrahimcetin/reins) (Easily tweak parameters, customize system prompts per chat, and enhance your AI experiments with reasoning model support.)
397
- [Ellama](https://github.com/zeozeozeo/ellama) (Friendly native app to chat with an Ollama instance)
398
- [screenpipe](https://github.com/mediar-ai/screenpipe) Build agents powered by your screen history
399
- [Ollamb](https://github.com/hengkysteen/ollamb) (Simple yet rich in features, cross-platform built with Flutter and designed for Ollama. Try the [web demo](https://hengkysteen.github.io/demo/ollamb/).)
400
- [Writeopia](https://github.com/Writeopia/Writeopia) (Text editor with integration with Ollama)
401
- [AppFlowy](https://github.com/AppFlowy-IO/AppFlowy) (AI collaborative workspace with Ollama, cross-platform and self-hostable)
402
- [Lumina](https://github.com/cushydigit/lumina.git) (A lightweight, minimal React.js frontend for interacting with Ollama servers)
403

404
405
406
407
408
409
### Cloud

- [Google Cloud](https://cloud.google.com/run/docs/tutorials/gpu-gemma2-with-ollama)
- [Fly.io](https://fly.io/docs/python/do-more/add-ollama/)
- [Koyeb](https://www.koyeb.com/deploy/ollama)

Jeffrey Morgan's avatar
Jeffrey Morgan committed
410
### Terminal
Jeffrey Morgan's avatar
Jeffrey Morgan committed
411

412
413
414
- [oterm](https://github.com/ggozad/oterm)
- [Ellama Emacs client](https://github.com/s-kostyaev/ellama)
- [Emacs client](https://github.com/zweifisch/ollama)
415
- [neollama](https://github.com/paradoxical-dev/neollama) UI client for interacting with models from within Neovim
416
- [gen.nvim](https://github.com/David-Kunz/gen.nvim)
417
- [ollama.nvim](https://github.com/nomnivore/ollama.nvim)
418
- [ollero.nvim](https://github.com/marco-souza/ollero.nvim)
419
- [ollama-chat.nvim](https://github.com/gerazov/ollama-chat.nvim)
420
- [ogpt.nvim](https://github.com/huynle/ogpt.nvim)
Bruce MacDonald's avatar
Bruce MacDonald committed
421
- [gptel Emacs client](https://github.com/karthink/gptel)
422
- [Oatmeal](https://github.com/dustinblackman/oatmeal)
423
- [cmdh](https://github.com/pgibler/cmdh)
424
- [ooo](https://github.com/npahlfer/ooo)
425
- [shell-pilot](https://github.com/reid41/shell-pilot)(Interact with models via pure shell scripts on Linux or macOS)
426
- [tenere](https://github.com/pythops/tenere)
427
- [llm-ollama](https://github.com/taketwo/llm-ollama) for [Datasette's LLM CLI](https://llm.datasette.io/en/stable/).
428
- [typechat-cli](https://github.com/anaisbetts/typechat-cli)
429
- [ShellOracle](https://github.com/djcopley/ShellOracle)
430
- [tlm](https://github.com/yusufcanb/tlm)
Bruce MacDonald's avatar
Bruce MacDonald committed
431
- [podman-ollama](https://github.com/ericcurtin/podman-ollama)
Sam's avatar
Sam committed
432
- [gollama](https://github.com/sammcj/gollama)
433
- [ParLlama](https://github.com/paulrobello/parllama)
434
- [Ollama eBook Summary](https://github.com/cognitivetech/ollama-ebook-summary/)
435
- [Ollama Mixture of Experts (MOE) in 50 lines of code](https://github.com/rapidarchitect/ollama_moe)
436
- [vim-intelligence-bridge](https://github.com/pepo-ec/vim-intelligence-bridge) Simple interaction of "Ollama" with the Vim editor
437
- [x-cmd ollama](https://x-cmd.com/mod/ollama)
438
- [bb7](https://github.com/drunkwcodes/bb7)
439
- [SwollamaCLI](https://github.com/marcusziade/Swollama) bundled with the Swollama Swift package. [Demo](https://github.com/marcusziade/Swollama?tab=readme-ov-file#cli-usage)
440
- [aichat](https://github.com/sigoden/aichat) All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI tools & agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.
441
- [PowershAI](https://github.com/rrg92/powershai) PowerShell module that brings AI to terminal on Windows, including support for Ollama
442
- [DeepShell](https://github.com/Abyss-c0re/deepshell) Your self-hosted AI assistant. Interactive Shell, Files and Folders analysis.
443
- [orbiton](https://github.com/xyproto/orbiton) Configuration-free text editor and IDE with support for tab completion with Ollama.
crStiv's avatar
crStiv committed
444
- [orca-cli](https://github.com/molbal/orca-cli) Ollama Registry CLI Application - Browse, pull, and download models from Ollama Registry in your terminal.
445
- [GGUF-to-Ollama](https://github.com/jonathanhecl/gguf-to-ollama) - Importing GGUF to Ollama made easy (multiplatform)
446

447
### Apple Vision Pro
448

Xiaowei Zhu's avatar
Xiaowei Zhu committed
449
- [SwiftChat](https://github.com/aws-samples/swift-chat) (Cross-platform AI chat app supporting Apple Vision Pro via "Designed for iPad")
450
451
- [Enchanted](https://github.com/AugustDev/enchanted)

Jorge Torres's avatar
Jorge Torres committed
452
453
### Database

454
455
- [pgai](https://github.com/timescale/pgai) - PostgreSQL as a vector database (Create and search embeddings from Ollama models using pgvector)
   - [Get started guide](https://github.com/timescale/pgai/blob/main/docs/vectorizer-quick-start.md)
456
- [MindsDB](https://github.com/mindsdb/mindsdb/blob/staging/mindsdb/integrations/handlers/ollama_handler/README.md) (Connects Ollama models with nearly 200 data platforms and apps)
457
- [chromem-go](https://github.com/philippgille/chromem-go/blob/v0.5.0/embed_ollama.go) with [example](https://github.com/philippgille/chromem-go/tree/v0.5.0/examples/rag-wikipedia-ollama)
458
- [Kangaroo](https://github.com/dbkangaroo/kangaroo) (AI-powered SQL client and admin tool for popular databases)
459

Matt Williams's avatar
Matt Williams committed
460
### Package managers
461

Matt Williams's avatar
Matt Williams committed
462
- [Pacman](https://archlinux.org/packages/extra/x86_64/ollama/)
463
- [Gentoo](https://github.com/gentoo/guru/tree/master/app-misc/ollama)
464
- [Homebrew](https://formulae.brew.sh/formula/ollama)
465
- [Helm Chart](https://artifacthub.io/packages/helm/ollama-helm/ollama)
466
- [Guix channel](https://codeberg.org/tusharhero/ollama-guix)
467
- [Nix package](https://search.nixos.org/packages?show=ollama&from=0&size=50&sort=relevance&type=packages&query=ollama)
468
- [Flox](https://flox.dev/blog/ollama-part-one)
469

470
### Libraries
Jeffrey Morgan's avatar
Jeffrey Morgan committed
471

472
- [LangChain](https://python.langchain.com/docs/integrations/llms/ollama) and [LangChain.js](https://js.langchain.com/docs/integrations/chat/ollama/) with [example](https://js.langchain.com/docs/tutorials/local_rag/)
473
- [Firebase Genkit](https://firebase.google.com/docs/genkit/plugins/ollama)
474
- [crewAI](https://github.com/crewAIInc/crewAI)
475
- [Yacana](https://remembersoftwares.github.io/yacana/) (User-friendly multi-agent framework for brainstorming and executing predetermined flows with built-in tool integration)
476
- [Spring AI](https://github.com/spring-projects/spring-ai) with [reference](https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html) and [example](https://github.com/tzolov/ollama-tools)
477
- [LangChainGo](https://github.com/tmc/langchaingo/) with [example](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example)
LangChain4j's avatar
LangChain4j committed
478
- [LangChain4j](https://github.com/langchain4j/langchain4j) with [example](https://github.com/langchain4j/langchain4j-examples/tree/main/ollama-examples/src/main/java)
479
- [LangChainRust](https://github.com/Abraxas-365/langchain-rust) with [example](https://github.com/Abraxas-365/langchain-rust/blob/main/examples/llm_ollama.rs)
480
- [LangChain for .NET](https://github.com/tryAGI/LangChain) with [example](https://github.com/tryAGI/LangChain/blob/main/examples/LangChain.Samples.OpenAI/Program.cs)
481
- [LLPhant](https://github.com/theodo-group/LLPhant?tab=readme-ov-file#ollama)
482
- [LlamaIndex](https://docs.llamaindex.ai/en/stable/examples/llm/ollama/) and [LlamaIndexTS](https://ts.llamaindex.ai/modules/llms/available_llms/ollama)
483
- [LiteLLM](https://github.com/BerriAI/litellm)
484
- [OllamaFarm for Go](https://github.com/presbrey/ollamafarm)
485
- [OllamaSharp for .NET](https://github.com/awaescher/OllamaSharp)
486
- [Ollama for Ruby](https://github.com/gbaptista/ollama-ai)
487
- [Ollama-rs for Rust](https://github.com/pepperoni21/ollama-rs)
488
- [Ollama-hpp for C++](https://github.com/jmont-dev/ollama-hpp)
489
- [Ollama4j for Java](https://github.com/ollama4j/ollama4j)
490
- [ModelFusion Typescript Library](https://modelfusion.dev/integration/model-provider/ollama)
491
- [OllamaKit for Swift](https://github.com/kevinhermawan/OllamaKit)
492
- [Ollama for Dart](https://github.com/breitburg/dart-ollama)
493
- [Ollama for Laravel](https://github.com/cloudstudio/ollama-laravel)
494
- [LangChainDart](https://github.com/davidmigloz/langchain_dart)
495
- [Semantic Kernel - Python](https://github.com/microsoft/semantic-kernel/tree/main/python/semantic_kernel/connectors/ai/ollama)
496
- [Haystack](https://github.com/deepset-ai/haystack-integrations/blob/main/integrations/ollama.md)
497
- [Elixir LangChain](https://github.com/brainlid/langchain)
Maximilian Weber's avatar
Maximilian Weber committed
498
- [Ollama for R - rollama](https://github.com/JBGruber/rollama)
499
- [Ollama for R - ollama-r](https://github.com/hauselin/ollama-r)
500
- [Ollama-ex for Elixir](https://github.com/lebrunel/ollama-ex)
501
- [Ollama Connector for SAP ABAP](https://github.com/b-tocs/abap_btocs_ollama)
502
- [Testcontainers](https://testcontainers.com/modules/ollama/)
503
- [Portkey](https://portkey.ai/docs/welcome/integration-guides/ollama)
J S's avatar
J S committed
504
- [PromptingTools.jl](https://github.com/svilupp/PromptingTools.jl) with an [example](https://svilupp.github.io/PromptingTools.jl/dev/examples/working_with_ollama)
505
- [LlamaScript](https://github.com/Project-Llama/llamascript)
506
- [llm-axe](https://github.com/emirsahin1/llm-axe) (Python Toolkit for Building LLM Powered Apps)
507
- [Gollm](https://docs.gollm.co/examples/ollama-example)
508
- [Gollama for Golang](https://github.com/jonathanhecl/gollama)
509
- [Ollamaclient for Golang](https://github.com/xyproto/ollamaclient)
Mitar's avatar
Mitar committed
510
- [High-level function abstraction in Go](https://gitlab.com/tozd/go/fun)
511
- [Ollama PHP](https://github.com/ArdaGnsrn/ollama-php)
512
- [Agents-Flex for Java](https://github.com/agents-flex/agents-flex) with [example](https://github.com/agents-flex/agents-flex/tree/main/agents-flex-llm/agents-flex-llm-ollama/src/test/java/com/agentsflex/llm/ollama)
513
- [Parakeet](https://github.com/parakeet-nest/parakeet) is a GoLang library, made to simplify the development of small generative AI applications with Ollama.
514
- [Haverscript](https://github.com/andygill/haverscript) with [examples](https://github.com/andygill/haverscript/tree/main/examples)
515
- [Ollama for Swift](https://github.com/mattt/ollama-swift)
516
- [Swollama for Swift](https://github.com/marcusziade/Swollama) with [DocC](https://marcusziade.github.io/Swollama/documentation/swollama/)
517
- [GoLamify](https://github.com/prasad89/golamify)
518
- [Ollama for Haskell](https://github.com/tusharad/ollama-haskell)
crStiv's avatar
crStiv committed
519
- [multi-llm-ts](https://github.com/nbonamy/multi-llm-ts) (A Typescript/JavaScript library allowing access to different LLM in a unified API)
520
- [LlmTornado](https://github.com/lofcz/llmtornado) (C# library providing a unified interface for major FOSS & Commercial inference APIs)
521
- [Ollama for Zig](https://github.com/dravenk/ollama-zig)
522
- [Abso](https://github.com/lunary-ai/abso) (OpenAI-compatible TypeScript SDK for any LLM provider)
523
- [Nichey](https://github.com/goodreasonai/nichey) is a Python package for generating custom wikis for your research topic
524
- [Ollama for D](https://github.com/kassane/ollama-d)
Sam's avatar
Sam committed
525

Jeffrey Morgan's avatar
Jeffrey Morgan committed
526
527
### Mobile

crStiv's avatar
crStiv committed
528
- [SwiftChat](https://github.com/aws-samples/swift-chat) (Lightning-fast Cross-platform AI chat app with native UI for Android, iOS, and iPad)
529
- [Enchanted](https://github.com/AugustDev/enchanted)
Dane Madsen's avatar
Dane Madsen committed
530
- [Maid](https://github.com/Mobile-Artificial-Intelligence/maid)
531
- [Ollama App](https://github.com/JHubi1/ollama-app) (Modern and easy-to-use multi-platform client for Ollama)
crStiv's avatar
crStiv committed
532
- [ConfiChat](https://github.com/1runeberg/confichat) (Lightweight, standalone, multi-platform, and privacy-focused LLM chat interface with optional encryption)
533
- [Ollama Android Chat](https://github.com/sunshine0523/OllamaServer) (No need for Termux, start the Ollama service with one click on an Android device)
534
- [Reins](https://github.com/ibrahimcetin/reins) (Easily tweak parameters, customize system prompts per chat, and enhance your AI experiments with reasoning model support.)
Jeffrey Morgan's avatar
Jeffrey Morgan committed
535

Jeffrey Morgan's avatar
Jeffrey Morgan committed
536
537
### Extensions & Plugins

538
539
540
- [Raycast extension](https://github.com/MassimilianoPasquini97/raycast_ollama)
- [Discollama](https://github.com/mxyng/discollama) (Discord bot inside the Ollama discord channel)
- [Continue](https://github.com/continuedev/continue)
541
- [Vibe](https://github.com/thewh1teagle/vibe) (Transcribe and analyze meetings with Ollama)
542
- [Obsidian Ollama plugin](https://github.com/hinterdupfinger/obsidian-ollama)
543
- [Logseq Ollama plugin](https://github.com/omagdy7/ollama-logseq)
544
- [NotesOllama](https://github.com/andersrex/notesollama) (Apple Notes Ollama plugin)
545
546
- [Dagger Chatbot](https://github.com/samalba/dagger-chatbot)
- [Discord AI Bot](https://github.com/mekb-turtle/discord-ai-bot)
ruecat's avatar
ruecat committed
547
- [Ollama Telegram Bot](https://github.com/ruecat/ollama-telegram)
548
- [Hass Ollama Conversation](https://github.com/ej52/hass-ollama-conversation)
549
- [Rivet plugin](https://github.com/abrenneke/rivet-plugin-ollama)
550
- [Obsidian BMO Chatbot plugin](https://github.com/longy2k/obsidian-bmo-chatbot)
551
- [Cliobot](https://github.com/herval/cliobot) (Telegram bot with Ollama support)
552
- [Copilot for Obsidian plugin](https://github.com/logancyang/obsidian-copilot)
Pavel Frankov's avatar
Pavel Frankov committed
553
- [Obsidian Local GPT plugin](https://github.com/pfrankov/obsidian-local-gpt)
Jeffrey Morgan's avatar
Jeffrey Morgan committed
554
- [Open Interpreter](https://docs.openinterpreter.com/language-model-setup/local-models/ollama)
555
- [Llama Coder](https://github.com/ex3ndr/llama-coder) (Copilot alternative using Ollama)
crStiv's avatar
crStiv committed
556
- [Ollama Copilot](https://github.com/bernardo-bruning/ollama-copilot) (Proxy that allows you to use Ollama as a copilot like GitHub Copilot)
557
- [twinny](https://github.com/rjmacarthy/twinny) (Copilot and Copilot chat alternative using Ollama)
558
- [Wingman-AI](https://github.com/RussellCanfield/wingman-ai) (Copilot code and chat alternative using Ollama and Hugging Face)
559
- [Page Assist](https://github.com/n4ze3m/page-assist) (Chrome Extension)
560
- [Plasmoid Ollama Control](https://github.com/imoize/plasmoid-ollamacontrol) (KDE Plasma extension that allows you to quickly manage/control Ollama model)
561
- [AI Telegram Bot](https://github.com/tusharhero/aitelegrambot) (Telegram bot using Ollama in backend)
Yaroslav's avatar
Yaroslav committed
562
- [AI ST Completion](https://github.com/yaroslavyaroslav/OpenAI-sublime-text) (Sublime Text 4 AI assistant plugin with Ollama support)
563
- [Discord-Ollama Chat Bot](https://github.com/kevinthedang/discord-ollama) (Generalized TypeScript Discord Bot w/ Tuning Documentation)
564
- [ChatGPTBox: All in one browser extension](https://github.com/josStorer/chatGPTBox) with [Integrating Tutorial](https://github.com/josStorer/chatGPTBox/issues/616#issuecomment-1975186467)
565
- [Discord AI chat/moderation bot](https://github.com/rapmd73/Companion) Chat/moderation bot written in python. Uses Ollama to create personalities.
crStiv's avatar
crStiv committed
566
567
- [Headless Ollama](https://github.com/nischalj10/headless-ollama) (Scripts to automatically install ollama client & models on any OS for apps that depend on ollama server)
- [Terraform AWS Ollama & Open WebUI](https://github.com/xuyangbocn/terraform-aws-self-host-llm) (A Terraform module to deploy on AWS a ready-to-use Ollama service, together with its front-end Open WebUI service.)
568
- [node-red-contrib-ollama](https://github.com/jakubburkiewicz/node-red-contrib-ollama)
569
- [Local AI Helper](https://github.com/ivostoykov/localAI) (Chrome and Firefox extensions that enable interactions with the active tab and customisable API endpoints. Includes secure storage for user prompts.)
570
- [vnc-lm](https://github.com/jake83741/vnc-lm) (Discord bot for messaging with LLMs through Ollama and LiteLLM. Seamlessly move between local and flagship models.)
571
- [LSP-AI](https://github.com/SilasMarvin/lsp-ai) (Open-source language server for AI-powered functionality)
572
- [QodeAssist](https://github.com/Palm1r/QodeAssist) (AI-powered coding assistant plugin for Qt Creator)
573
- [Obsidian Quiz Generator plugin](https://github.com/ECuiDev/obsidian-quiz-generator)
574
- [AI Summmary Helper plugin](https://github.com/philffm/ai-summary-helper)
575
- [TextCraft](https://github.com/suncloudsmoon/TextCraft) (Copilot in Word alternative using Ollama)
576
- [Alfred Ollama](https://github.com/zeitlings/alfred-ollama) (Alfred Workflow)
577
- [TextLLaMA](https://github.com/adarshM84/TextLLaMA) A Chrome Extension that helps you write emails, correct grammar, and translate into any language
578
- [Simple-Discord-AI](https://github.com/zyphixor/simple-discord-ai)
579
- [LLM Telegram Bot](https://github.com/innightwolfsleep/llm_telegram_bot) (telegram bot, primary for RP. Oobabooga-like buttons, [A1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) API integration e.t.c)
Sam's avatar
Sam committed
580
- [mcp-llm](https://github.com/sammcj/mcp-llm) (MCP Server to allow LLMs to call other LLMs)
581

Sam's avatar
Sam committed
582
583
### Supported backends

584
- [llama.cpp](https://github.com/ggerganov/llama.cpp) project founded by Georgi Gerganov.
585
586

### Observability
587
- [Opik](https://www.comet.com/docs/opik/cookbook/ollama) is an open-source platform to debug, evaluate, and monitor your LLM applications, RAG systems, and agentic workflows with comprehensive tracing, automated evaluations, and production-ready dashboards. Opik supports native intergration to Ollama.
588
- [Lunary](https://lunary.ai/docs/integrations/ollama) is the leading open-source LLM observability platform. It provides a variety of enterprise-grade features such as real-time analytics, prompt templates management, PII masking, and comprehensive agent tracing.
589
- [OpenLIT](https://github.com/openlit/openlit) is an OpenTelemetry-native tool for monitoring Ollama Applications & GPUs using traces and metrics.
590
591
- [HoneyHive](https://docs.honeyhive.ai/integrations/ollama) is an AI observability and evaluation platform for AI agents. Use HoneyHive to evaluate agent performance, interrogate failures, and monitor quality in production.
- [Langfuse](https://langfuse.com/docs/integrations/ollama) is an open source LLM observability platform that enables teams to collaboratively monitor, evaluate and debug AI applications.
592
- [MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html#automatic-tracing) is an open source LLM observability tool with a convenient API to log and visualize traces, making it easy to debug and evaluate GenAI applications.