ollama
Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
自分のパソコン上でAI(人工知能)を無料で動かすことができるソフトウェアです。
・企業:社内の機密情報や顧客データを外部のサーバーに送らずにAIを活用できるため、情報漏えいのリスクを抑えながら業務効率化を実現できます。 ・スタートアップ:ChatGPTなどの有料APIにかかるコストを削減しながら、自社サービスにAI機能を組み込むことができます。 ・個人事業主・フリーランス:月額料金なしで、文章作成や調査などの日常業務にAIアシスタントを活用でき、ランニングコストをゼロに抑えられます。
ChatGPTやClaude(クロード)などのクラウド型AIとは異なり、すべての処理が自分のパソコン内で完結するため、データが外部に渡らず通信料や利用料もかかりません。また、一度ダウンロードすればインターネットがない環境でも利用できる点が大きな強みです。
#オーラマ
オープンモデルでビルドを開始します。
ダウンロード
macOS
シェル curl -fsSL https://ollama.com/install.sh | sh
または [手動ダウンロード](https://ollama.com/download/Ollama.dmg)
### Windows
シェル
irm https://ollama.com/install.ps1 | iex
または 手動でダウンロード
Linux
シェル curl -fsSL https://ollama.com/install.sh | sh
[手動インストール手順](https://docs.ollama.com/linux#manual-install)
### Docker
公式の[Ollama Dockerイメージ](https://hub.docker.com/r/ollama/ollama) `ollama/ollama` はDocker Hubで入手できる。
### ライブラリ
- ollama-python](https://github.com/ollama/ollama-python)
- ollama-js](https://github.com/ollama/ollama-js)
### コミュニティ
- ディスコード](https://discord.gg/ollama)
- ᵔ (Twitter)](https://x.com/ollama)
- レディット](https://reddit.com/r/ollama)
## 始める
ollama
モデルを実行するか、Ollama を `claude`、`codex`、`openclaw` などの既存のエージェントやアプリケーションに接続するよう促される。
### コーディング
特定のインテグレーションを起動するには
ollama launch claude
サポートされている統合は、[Claude Code](https://docs.ollama.com/integrations/claude-code)、[Codex](https://docs.ollama.com/integrations/codex)、[Droid](https://docs.ollama.com/integrations/droid)、[OpenCode](https://docs.ollama.com/integrations/opencode)です。
### AIアシスタント
OpenClaw](https://docs.ollama.com/integrations/openclaw)を使って、OllamaをWhatsApp、Telegram、Slack、DiscordなどのパーソナルAIアシスタントにしましょう:
Ollamaを起動 OPENCLAW
### モデルとのチャット
Gemma 3](https://ollama.com/library/gemma3)とチャットする:
ゲムマ3
全リストは[ollama.com/library](https://ollama.com/library)を参照のこと。
詳細は[クイックスタートガイド](https://docs.ollama.com/quickstart)を参照してください。
## REST API
Ollamaはモデルを実行・管理するためのREST APIを持っています。
curl http://localhost:11434/api/chat -d '{ "model":"gemma3"、 "メッセージ":[{ "role":"ユーザー"、 "content":"なぜ空は青いのか?" }], 「ストリーム": false }'
すべてのエンドポイントについては、[API ドキュメント](https://docs.ollama.com/api) を参照のこと。
### Python
pip install ollama
パイソン
from ollama import chat
response = chat(model='gemma3', messages=[
{
'role':'user'、
'content': 'なぜ空は青いの?
},
])
print(response.message.content)
JavaScript
npm i ollama
javascript import ollama from "ollama";
const response = await ollama.chat({ model:"gemma3"、 messages:{ role: "user", content: "どうして空は青いの?" }]、 }); console.log(response.message.content);
## サポートされるバックエンド
- [llama.cpp](https://github.com/ggml-org/llama.cpp) Georgi Gerganovによって設立されたプロジェクト。
## ドキュメンテーション
- CLI リファレンス](https://docs.ollama.com/cli)
- REST API リファレンス](https://docs.ollama.com/api)
- モデルのインポート](https://docs.ollama.com/import)
- モデルファイルのリファレンス](https://docs.ollama.com/modelfile)
- ソースからのビルド](https://github.com/ollama/ollama/blob/main/docs/development.md)
## コミュニティとの統合
> プロジェクトを追加したいですか?プルリクエストを開いてください。
### チャットインターフェース
#### ウェブ
- Open WebUI](https://github.com/open-webui/open-webui) - 拡張可能なセルフホストAIインターフェース
- Onyx](https://github.com/onyx-dot-app/onyx) - 接続された AI ワークスペース
- LibreChat](https://github.com/danny-avila/LibreChat) - マルチプロバイダ対応の拡張 ChatGPT クローン
- Lobe Chat](https://github.com/lobehub/lobe-chat) - プラグインエコシステムを備えたモダンなチャットフレームワーク ([docs](https://lobehub.com/docs/self-hosting/examples/ollama))
- NextChat](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) - クロスプラットフォームの ChatGPT UI ([docs](https://docs.nextchat.dev/models/ollama))
- Perplexica](https://github.com/ItzCrazyKns/Perplexica) - AI搭載の検索エンジン、オープンソースのPerplexityの代替。
- big-AGI](https://github.com/enricoros/big-AGI) - プロフェッショナル向けAIスイート
- Lollms WebUI](https://github.com/ParisNeo/lollms-webui) - マルチモデルのウェブインターフェース
- ChatOllama](https://github.com/sugarforever/chat-ollama) - 知識ベース付きチャットボット
- Bionic GPT](https://github.com/bionic-gpt/bionic-gpt) - オンプレミスAIプラットフォーム
- Chatbot UI](https://github.com/ivanfioravanti/chatbot-ollama) - ChatGPTスタイルのWebインターフェース
- Hollama](https://github.com/fmaclen/hollama) - 最小限のウェブインターフェース
- Chatbox](https://github.com/Bin-Huang/Chatbox) - デスクトップ・ウェブAIクライアント
- chat](https://github.com/swuecho/chat) - チーム用チャットウェブアプリ
- Ollama RAG チャットボット](https://github.com/datvodinh/rag-chatbot.git) - RAG を使って複数の PDF とチャットする
- Tkinterベースのクライアント](https://github.com/chyok/ollama-gui) - Pythonデスクトップクライアント
#### デスクトップ
- [Dify.AI](https://github.com/langgenius/dify) - LLMアプリ開発プラットフォーム
- AnythingLLM](https://github.com/Mintplex-Labs/anything-llm) - Mac、Windows、Linux用のオールインワンAIアプリ
- Maid](https://github.com/Mobile-Artificial-Intelligence/maid) - クロスプラットフォームのモバイルおよびデスクトップクライアント
- Witsy](https://github.com/nbonamy/witsy) - Mac、Windows、Linux用AIデスクトップアプリ
- Cherry Studio](https://github.com/kangfenmao/cherry-studio) - マルチプロバイダのデスクトップクライアント
- Ollama App](https://github.com/JHubi1/ollama-app) - デスクトップとモバイルのマルチプラットフォームクライアント
- PyGPT](https://github.com/szczyglis-dev/py-gpt) - Linux、Windows、Mac用のAIデスクトップアシスタント
- [Alpaca](https://github.com/Jeffser/Alpaca) - Linux および macOS 用 GTK4 クライアント
- SwiftChat](https://github.com/aws-samples/swift-chat) - iOS, Android, Apple Vision Pro を含むクロスプラットフォーム。
- [Enchanted](https://github.com/AugustDev/enchanted) - macOS と iOS ネイティブクライアント
- RWKV-Runner](https://github.com/josStorer/RWKV-Runner) - マルチモデルデスクトップランナー
- Ollama Grid Search](https://github.com/dezoito/ollama-grid-search) - モデルの評価と比較
- macai](https://github.com/Renset/macai) - OllamaとChatGPTのmacOSクライアント
- AI Studio](https://github.com/MindWorkAI/AI-Studio) - マルチプロバイダのデスクトップIDE
- [Reins](https://github.com/ibrahimcetin/reins) - パラメータチューニングと推論モデルのサポート
- ConfiChat](https://github.com/1runeberg/confichat) - 暗号化オプションでプライバシー重視
- [LLocal.in](https://github.com/kartikm7/llocal) - Electron デスクトップクライアント
- MindMac](https://mindmac.app) - Mac用AIチャットクライアント
- [Msty](https://msty.app) - マルチモデルのデスクトップクライアント
- BoltAI for Mac](https://boltai.com) - Mac用AIチャットクライアント
- IntelliBar](https://intellibar.app/) - macOS用AIアシスタント
- Kerlig AI](https://www.kerlig.com/) - macOS向けAIライティングアシスタント
- Hillnote](https://hillnote.com) - MarkdownファーストのAIワークスペース
- Perfect Memory AI](https://www.perfectmemory.ai/) - 画面や会議の履歴によってパーソナライズされた生産性AI
#### モバイル
- Ollama Android Chat](https://github.com/sunshine0523/OllamaServer) - AndroidでワンクリックOllama
> 上記のSwiftChat、Enchanted、Maid、Ollama App、Reins、ConfiChatもモバイルプラットフォームに対応しています。
### コードエディターと開発
- Cline](https://github.com/cline/cline) - マルチファイル/ホールレポコーディングのためのVS Codeエクステンション
- Continue](https://github.com/continuedev/continue) - IDE用のオープンソースAIコードアシスタント
- Void](https://github.com/voideditor/void) - オープンソースの AI コードエディタ、Cursor の代替。
- Copilot for Obsidian](https://github.com/logancyang/obsidian-copilot) - Obsidian 用 AI アシスタント
- twinny](https://github.com/rjmacarthy/twinny) - Copilot と Copilot チャットの代替品
- gptel Emacs クライアント](https://github.com/karthink/gptel) - Emacs 用 LLM クライアント
- [Ollama Copilot](https://github.com/bernardo-bruning/ollama-copilot) - Ollama を GitHub Copilot として使う
- Obsidian Local GPT](https://github.com/pfrankov/obsidian-local-gpt) - ObsidianのローカルAI
- Ellama Emacs client](https://github.com/s-kostyaev/ellama) - Emacs用LLMツール
- orbiton](https://github.com/xyproto/orbiton) - Ollamaタブ補完機能付き設定不要テキストエディタ
- AI ST Completion](https://github.com/yaroslavyaroslav/OpenAI-sublime-text) - Sublime Text 4のAIアシスタント
- VT Code](https://github.com/vinhnx/vtcode) - Tree-sitter を使った Rust ベースのターミナルコーディングエージェント
- QodeAssist](https://github.com/Palm1r/QodeAssist) - Qt Creator用のAIコーディングアシスタント
- AI Toolkit for VS Code](https://aka.ms/ai-tooklit/ollama-docs) - Microsoft公式のVS Code拡張機能
- Open Interpreter](https://docs.openinterpreter.com/language-model-setup/local-models/ollama) - コンピュータ用の自然言語インターフェース
### ライブラリ&SDK
- LiteLLM](https://github.com/BerriAI/litellm) - 100以上のLLMプロバイダ用の統一API
- Semantic Kernel](https://github.com/microsoft/semantic-kernel/tree/main/python/semantic_kernel/connectors/ai/ollama) - マイクロソフトAIオーケストレーションSDK
- LangChain4j](https://github.com/langchain4j/langchain4j) - Java LangChain ([example](https://github.com/langchain4j/langchain4j-examples/tree/main/ollama-examples/src/main/java))
- LangChainGo](https://github.com/tmc/langchaingo/) - Go LangChain ([例](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example))
- Spring AI](https://github.com/spring-projects/spring-ai) - SpringフレームワークのAIサポート ([docs](https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html))
- LangChain](https://python.langchain.com/docs/integrations/chat/ollama/)と[LangChain.js](https://js.langchain.com/docs/integrations/chat/ollama/)と[example](https://js.langchain.com/docs/tutorials/local_rag/)
- Ollama for Ruby](https://github.com/crmne/ruby_llm) - Ruby LLM ライブラリ
- any-llm](https://github.com/mozilla-ai/any-llm) - Mozillaによる統一LLMインターフェース
- OllamaSharp for .NET](https://github.com/awaescher/OllamaSharp) - .NET SDK
- [LangChainRust](https://github.com/Abraxas-365/langchain-rust) - Rust LangChain ([example](https://github.com/Abraxas-365/langchain-rust/blob/main/examples/llm_ollama.rs))
- Agents-Flex for Java](https://github.com/agents-flex/agents-flex) - Javaエージェントフレームワーク ([例](https://github.com/agents-flex/agents-flex/tree/main/agents-flex-llm/agents-flex-llm-ollama/src/test/java/com/agentsflex/llm/ollama))
- Elixir LangChain](https://github.com/brainlid/langchain) - Elixir LangChain
- Ollama-rs for Rust](https://github.com/pepperoni21/ollama-rs) - Rust SDK
- [LangChain for .NET](https://github.com/tryAGI/LangChain) - .NET LangChain ([example](https://github.com/tryAGI/LangChain/blob/main/examples/LangChain.Samples.OpenAI/Program.cs))
- chromem-go](https://github.com/philippgille/chromem-go) - Ollama埋め込みによるGoベクトルデータベース ([例](https://github.com/philippgille/chromem-go/tree/v0.5.0/examples/rag-wikipedia-ollama))
- LangChainDart](https://github.com/davidmigloz/langchain_dart) - Dart LangChain。
- LlmTornado](https://github.com/lofcz/llmtornado) - 複数の推論APIのための統一されたC#インターフェース
- Ollama4j for Java](https://github.com/ollama4j/ollama4j) - Java SDK
- Ollama for Laravel](https://github.com/cloudstudio/ollama-laravel) - Laravelインテグレーション
- Swift 用 Ollama](https://github.com/mattt/ollama-swift) - Swift SDK
- LlamaIndex](https://docs.llamaindex.ai/en/stable/examples/llm/ollama/)と[LlamaIndexTS](https://ts.llamaindex.ai/modules/llms/available_llms/ollama) - LLMアプリのためのデータフレームワーク
- Haystack](https://github.com/deepset-ai/haystack-integrations/blob/main/integrations/ollama.md) - AIパイプラインフレームワーク
- Firebase Genkit](https://firebase.google.com/docs/genkit/plugins/ollama) - Google AI フレームワーク
- Ollama-hpp for C++](https://github.com/jmont-dev/ollama-hpp) - C++ SDK
- [PromptingTools.jl](https://github.com/svilupp/PromptingTools.jl) - Julia LLM toolkit ([example](https://svilupp.github.io/PromptingTools.jl/dev/examples/working_with_ollama))
- Ollama for R - rollama](https://github.com/JBGruber/rollama) - R SDK
- ポートキー](https://portkey.ai/docs/welcome/integration-guides/ollama) - AIゲートウェイ
- Testcontainers](https://testcontainers.com/modules/ollama/) - コンテナベースのテスト
- LLPhant](https://github.com/theodo-group/LLPhant?tab=readme-ov-file#ollama) - PHP AIフレームワーク
### フレームワークとエージェント
- AutoGPT](https://github.com/Significant-Gravitas/AutoGPT/blob/master/docs/content/platform/ollama.md) - 自律型AIエージェントプラットフォーム
- crewAI](https://github.com/crewAIInc/crewAI) - マルチエージェントオーケストレーションフレームワーク
- Strands Agents](https://github.com/strands-agents/sdk-python) - AWSによるモデル駆動エージェント構築
- Cheshire Cat](https://github.com/cheshire-cat-ai/core) - AIアシスタントフレームワーク
- any-agent](https://github.com/mozilla-ai/any-agent) - Mozillaによる統一エージェントフレームワークインターフェース
- Stakpak](https://github.com/stakpak/agent) - オープンソースのDevOpsエージェント
- Hexabot](https://github.com/hexastack/hexabot) - 会話型AIビルダー
- Neuro SAN](https://github.com/cognizant-ai-lab/neuro-san-studio) - マルチエージェントオーケストレーション ([docs](https://github.com/cognizant-ai-lab/neuro-san-studio/blob/main/docs/user_guide.md#ollama))
### RAG & ナレッジベース
- [RAGFlow](https://github.com/infiniflow/ragflow) - 深い文書理解に基づくRAGエンジン
- [R2R](https://github.com/SciPhi-AI/R2R) - オープンソースのRAGエンジン
- MaxKB](https://github.com/1Panel-dev/MaxKB/) - すぐに使えるRAGチャットボット
- Minima](https://github.com/dmayboroda/minima) - オンプレミスまたは完全ローカルのRAG
- Chipper](https://github.com/TilmanGriesel/chipper) - Haystack RAGとのAIインターフェース
- ARGO](https://github.com/xark-argo/argo) - Mac/Windows/Linux上でのRAGとディープリサーチ
- Archyve](https://github.com/nickthecook/archyve) - RAGを可能にするドキュメントライブラリ
- Casibase](https://casibase.org) - RAGとSSOを備えたAI知識ベース
- BrainSoup](https://www.nurgo-software.com/products/brainsoup) - RAGとマルチエージェントオートメーションを備えたネイティブクライアント
### ボットとメッセージング
- LangBot](https://github.com/RockChinQ/LangBot) - エージェントとRAGを備えたマルチプラットフォームのメッセージングボット
- AstrBot](https://github.com/Soulter/AstrBot/) - RAGとプラグインを備えたマルチプラットフォームチャットボット
- Discord-Ollama Chat Bot](https://github.com/kevinthedang/discord-ollama) - TypeScriptのDiscordボット
- Ollama Telegram Bot](https://github.com/ruecat/ollama-telegram) - Telegramボット
- LLM Telegram Bot](https://github.com/innightwolfsleep/llm_telegram_bot) - ロールプレイ用テレグラムボット
### ターミナルとCLI
- [aichat](https://github.com/sigoden/aichat) - シェルアシスタント、RAG、AI ツールを備えたオールインワン LLM CLI
- [oterm](https://github.com/ggozad/oterm) - Ollama 用ターミナルクライアント
- [gollama](https://github.com/sammcj/gollama) - Ollama 用の Go ベースのモデルマネージャ
- [tlm](https://github.com/yusufcanb/tlm) - ローカルシェルコパイロット
- tenere](https://github.com/pythops/tenere) - LLM 用 TUI
- ParLlama](https://github.com/paulrobello/parllama) - Ollama 用 TUI
- llm-ollama](https://github.com/taketwo/llm-ollama) - [Datasette's LLM CLI](https://llm.datasette.io/en/stable/) 用プラグイン
- [ShellOracle](https://github.com/djcopley/ShellOracle) - シェルコマンドの提案
- LLM-X](https://github.com/mrdjohnson/llm-x) - LLM用プログレッシブウェブアプリ
- [cmdh](https://github.com/pgibler/cmdh) - シェルコマンドの自然言語化
- [VT](https://github.com/vinhnx/vt.ai) - 最小限のマルチモーダルAIチャットアプリ
### 生産性とアプリ
- AppFlowy](https://github.com/AppFlowy-IO/AppFlowy) - AIコラボレーション・ワークスペース、セルフホスティング可能なNotion代替アプリ
- [Screenpipe](https://github.com/mediar-ai/screenpipe) - AIを活用した検索機能で、24時間365日、画面とマイクを録画できる。
- Vibe](https://github.com/thewh1teagle/vibe) - 会議の録音と分析
- Page Assist](https://github.com/n4ze3m/page-assist) - AIを活用したブラウジングのためのChrome拡張機能
- NativeMind](https://github.com/NativeMindBrowser/NativeMindExtension) - オンデバイスのプライベートブラウザAIアシスタント
- Ollama Fortress](https://github.com/ParisNeo/ollama_proxy_server) - Ollama用セキュリティプロキシ
- 1Panel](https://github.com/1Panel-dev/1Panel/) - ウェブベースのLinuxサーバ管理
- Writeopia](https://github.com/Writeopia/Writeopia) - Ollama統合テキストエディタ
- [QA-Pilot](https://github.com/reid41/QA-Pilot) - GitHubのコードリポジトリを理解する。
- Raycast extension](https://github.com/MassimilianoPasquini97/raycast_ollama) - RaycastにOllamaを組み込む
- Painting Droid](https://github.com/mateuszmigas/painting-droid) - AIを統合したペイントアプリ
- Serene Pub](https://github.com/doolijb/serene-pub) - AIロールプレイングアプリ
- Mayan EDMS](https://gitlab.com/mayan-edms/mayan-edms) - Ollamaワークフローによるドキュメント管理
- TagSpaces](https://www.tagspaces.org) - AIタグ付けによるファイル管理(https://docs.tagspaces.org/ai/)
### 観察可能性とモニタリング
- Opik](https://www.comet.com/docs/opik/cookbook/ollama) - LLMアプリケーションのデバッグ、評価、監視
- OpenLIT](https://github.com/openlit/openlit) - Ollama と GPU 向けの OpenTelemetry ネイティブ・モニタリング
- [Lunary](https://lunary.ai/docs/integrations/ollama) - 分析と PII マスキングによる LLM の観測可能性
- Langfuse](https://langfuse.com/docs/integrations/ollama) - オープンソースの LLM 監視システム
- HoneyHive](https://docs.honeyhive.ai/integrations/ollama) - エージェントのためのAI観測可能性と評価
- MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html#automatic-tracing) - オープンソースのLLM観測可能性
### データベースと埋め込み
- pgai](https://github.com/timescale/pgai) - ベクトルデータベースとしてのPostgreSQL ([guide](https://github.com/timescale/pgai/blob/main/docs/vectorizer-quick-start.md))
- MindsDB](https://github.com/mindsdb/mindsdb/blob/staging/mindsdb/integrations/handlers/ollama_handler/README.md) - Ollamaと200以上のデータプラットフォームとの接続
- chromem-go](https://github.com/philippgille/chromem-go/blob/v0.5.0/embed_ollama.go) - Go用の埋め込み可能なベクトルデータベース ([サンプル](https://github.com/philippgille/chromem-go/tree/v0.5.0/examples/rag-wikipedia-ollama))
- Kangaroo](https://github.com/dbkangaroo/kangaroo) - AI搭載SQLクライアント
### インフラとデプロイメント
#### クラウド
- グーグル・クラウド](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)
- Harbor](https://github.com/av/harbor) - Ollamaをデフォルトバックエンドとするコンテナ型LLMツールキット
#### パッケージマネージャー
- Pacman](https://archlinux.org/packages/extra/x86_64/ollama/)
- Homebrew](https://formulae.brew.sh/formula/ollama)
- Nix パッケージ](https://search.nixos.org/packages?show=ollama&from=0&size=50&sort=relevance&type=packages&query=ollama)
- Helm チャート](https://artifacthub.io/packages/helm/ollama-helm/ollama)
- Gentoo](https://github.com/gentoo/guru/tree/master/app-misc/ollama)
- Flox](https://flox.dev/blog/ollama-part-one)
- Guix チャンネル](https://codeberg.org/tusharhero/ollama-guix)