diff --git a/README.md b/README.md index 1e5a52d..bc8f28c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + +> [!NOTE] +> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。 +> [English](./README.en.md) · [原始项目](https://github.com/ollama/ollama) · [上游 README](https://github.com/ollama/ollama/blob/HEAD/README.md) +> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。 +

ollama @@ -6,9 +12,9 @@ # Ollama -Start building with open models. +开始使用开放模型构建。 -## Download +## 下载 ### macOS @@ -16,7 +22,7 @@ Start building with open models. curl -fsSL https://ollama.com/install.sh | sh ``` -or [download manually](https://ollama.com/download/Ollama.dmg) +或[手动下载](https://ollama.com/download/Ollama.dmg)) ### Windows @@ -24,7 +30,7 @@ or [download manually](https://ollama.com/download/Ollama.dmg) irm https://ollama.com/install.ps1 | iex ``` -or [download manually](https://ollama.com/download/OllamaSetup.exe) +或[手动下载](https://ollama.com/download/OllamaSetup.exe)) ### Linux @@ -32,64 +38,64 @@ or [download manually](https://ollama.com/download/OllamaSetup.exe) curl -fsSL https://ollama.com/install.sh | sh ``` -[Manual install instructions](https://docs.ollama.com/linux#manual-install) +[手动安装说明](https://docs.ollama.com/linux#manual-install)) ### Docker -The official [Ollama Docker image](https://hub.docker.com/r/ollama/ollama) `ollama/ollama` is available on Docker Hub. +官方 [Ollama Docker 镜像](https://hub.docker.com/r/ollama/ollama)) ``ollama/ollama`` 在 Docker Hub 上可用。 -### Libraries +### 库 -- [ollama-python](https://github.com/ollama/ollama-python) -- [ollama-js](https://github.com/ollama/ollama-js) +- [ollama-python](https://github.com/ollama/ollama-python)) +- [ollama-js](https://github.com/ollama/ollama-js)) -### Community +### 社区 -- [Discord](https://discord.gg/ollama) -- [𝕏 (Twitter)](https://x.com/ollama) -- [Reddit](https://reddit.com/r/ollama) +- [Discord](https://discord.gg/ollama)) +- [𝕏 (Twitter)](https://x.com/ollama)) +- [Reddit](https://reddit.com/r/ollama)) -## Get started +## 快速开始 ``` ollama ``` -You'll be prompted to run a model or connect Ollama to your existing agents or applications such as `Claude Code`, `OpenClaw`, `OpenCode` , `Codex`, `Copilot`, and more. +系统将提示你运行模型,或将 Ollama 连接到你现有的智能体(Agent)或应用程序,例如 ``Claude Code``、``OpenClaw``、``OpenCode``、``Codex``、``Copilot`` 等。 -### Coding +### 编程 -To launch a specific integration: +启动特定集成: ``` ollama launch claude ``` -Supported integrations include [Claude Code](https://docs.ollama.com/integrations/claude-code), [Codex](https://docs.ollama.com/integrations/codex), [Copilot CLI](https://docs.ollama.com/integrations/copilot-cli), [Droid](https://docs.ollama.com/integrations/droid), and [OpenCode](https://docs.ollama.com/integrations/opencode). +支持的集成包括 [Claude Code](https://docs.ollama.com/integrations/claude-code),)、[Codex](https://docs.ollama.com/integrations/codex),)、[Copilot CLI](https://docs.ollama.com/integrations/copilot-cli),)、[Droid](https://docs.ollama.com/integrations/droid),) 和 [OpenCode](https://docs.ollama.com/integrations/opencode).)。 -### AI assistant +### AI 助手 -Use [OpenClaw](https://docs.ollama.com/integrations/openclaw) to turn Ollama into a personal AI assistant across WhatsApp, Telegram, Slack, Discord, and more: +使用 [OpenClaw](https://docs.ollama.com/integrations/openclaw)) 将 Ollama 变成个人 AI 助手,覆盖 WhatsApp、Telegram、Slack、Discord 等平台: ``` ollama launch openclaw ``` -### Chat with a model +### 与模型对话 -Run and chat with [Gemma 4](https://ollama.com/library/gemma4): +运行 [Gemma 4](https://ollama.com/library/gemma4):) 并与之对话: ``` ollama run gemma4 ``` -See [ollama.com/library](https://ollama.com/library) for the full list. +完整列表请参见 [ollama.com/library](https://ollama.com/library))。 -See the [quickstart guide](https://docs.ollama.com/quickstart) for more details. +更多详情请参阅[快速入门指南](https://docs.ollama.com/quickstart))。 ## REST API -Ollama has a REST API for running and managing models. +Ollama 提供了用于运行和管理模型的 REST API。 ``` curl http://localhost:11434/api/chat -d '{ @@ -102,7 +108,7 @@ curl http://localhost:11434/api/chat -d '{ }' ``` -See the [API documentation](https://docs.ollama.com/api) for all endpoints. +所有接口(Endpoint)请参见 [API 文档](https://docs.ollama.com/api))。 ### Python @@ -138,219 +144,220 @@ const response = await ollama.chat({ console.log(response.message.content); ``` -## Supported backends +## 支持的后端 -- [llama.cpp](https://github.com/ggml-org/llama.cpp) project founded by Georgi Gerganov. +- [llama.cpp](https://github.com/ggml-org/llama.cpp)) 项目,由 Georgi Gerganov 创立。 -## Documentation +## 文档 -- [CLI reference](https://docs.ollama.com/cli) -- [REST API reference](https://docs.ollama.com/api) -- [Importing models](https://docs.ollama.com/import) -- [Modelfile reference](https://docs.ollama.com/modelfile) -- [Building from source](https://github.com/ollama/ollama/blob/main/docs/development.md) +- [CLI 参考](https://docs.ollama.com/cli)) +- [REST API 参考](https://docs.ollama.com/api)) +- [导入模型](https://docs.ollama.com/import)) +- [Modelfile 参考](https://docs.ollama.com/modelfile)) +- [从源码构建](https://github.com/ollama/ollama/blob/main/docs/development.md)) -## Community Integrations +## 社区集成 -> Want to add your project? Open a pull request. +> 想要添加你的项目?提交一个 Pull Request。 -### Chat Interfaces +### 聊天界面 #### Web -- [Open WebUI](https://github.com/open-webui/open-webui) - Extensible, self-hosted AI interface -- [Onyx](https://github.com/onyx-dot-app/onyx) - Connected AI workspace -- [LibreChat](https://github.com/danny-avila/LibreChat) - Enhanced ChatGPT clone with multi-provider support -- [Lobe Chat](https://github.com/lobehub/lobe-chat) - Modern chat framework with plugin ecosystem ([docs](https://lobehub.com/docs/self-hosting/examples/ollama)) -- [NextChat](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) - Cross-platform ChatGPT UI ([docs](https://docs.nextchat.dev/models/ollama)) -- [Perplexica](https://github.com/ItzCrazyKns/Perplexica) - AI-powered search engine, open-source Perplexity alternative -- [big-AGI](https://github.com/enricoros/big-AGI) - AI suite for professionals -- [Lollms WebUI](https://github.com/ParisNeo/lollms-webui) - Multi-model web interface -- [ChatOllama](https://github.com/sugarforever/chat-ollama) - Chatbot with knowledge bases -- [Bionic GPT](https://github.com/bionic-gpt/bionic-gpt) - On-premise AI platform -- [Chatbot UI](https://github.com/ivanfioravanti/chatbot-ollama) - ChatGPT-style web interface -- [Hollama](https://github.com/fmaclen/hollama) - Minimal web interface -- [Chatbox](https://github.com/Bin-Huang/Chatbox) - Desktop and web AI client -- [chat](https://github.com/swuecho/chat) - Chat web app for teams -- [Ollama RAG Chatbot](https://github.com/datvodinh/rag-chatbot.git) - Chat with multiple PDFs using RAG -- [Tkinter-based client](https://github.com/chyok/ollama-gui) - Python desktop client +- [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)) - 带有插件生态的现代聊天框架([文档](https://lobehub.com/docs/self-hosting/examples/ollama)))) +- [NextChat](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web)) - 跨平台 ChatGPT UI([文档](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)) - 多模型 Web 界面 +- [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)) - 极简 Web 界面 +- [Chatbox](https://github.com/Bin-Huang/Chatbox)) - 桌面和 Web AI 客户端 +- [chat](https://github.com/swuecho/chat)) - 面向团队的聊天 Web 应用 +- [Ollama RAG Chatbot](https://github.com/datvodinh/rag-chatbot.git)) - 使用 RAG 与多个 PDF 对话 +- [基于 Tkinter 的客户端](https://github.com/chyok/ollama-gui)) - Python 桌面客户端 -#### Desktop +#### 桌面 -- [Dify.AI](https://github.com/langgenius/dify) - LLM app development platform -- [AnythingLLM](https://github.com/Mintplex-Labs/anything-llm) - All-in-one AI app for Mac, Windows, and Linux -- [Maid](https://github.com/Mobile-Artificial-Intelligence/maid) - Cross-platform mobile and desktop client -- [Witsy](https://github.com/nbonamy/witsy) - AI desktop app for Mac, Windows, and Linux -- [Cherry Studio](https://github.com/kangfenmao/cherry-studio) - Multi-provider desktop client -- [Ollama App](https://github.com/JHubi1/ollama-app) - Multi-platform client for desktop and mobile -- [PyGPT](https://github.com/szczyglis-dev/py-gpt) - AI desktop assistant for Linux, Windows, and Mac -- [Alpaca](https://github.com/Jeffser/Alpaca) - GTK4 client for Linux and macOS -- [SwiftChat](https://github.com/aws-samples/swift-chat) - Cross-platform including iOS, Android, and Apple Vision Pro -- [Enchanted](https://github.com/AugustDev/enchanted) - Native macOS and iOS client -- [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) - Multi-model desktop runner -- [Ollama Grid Search](https://github.com/dezoito/ollama-grid-search) - Evaluate and compare models -- [macai](https://github.com/Renset/macai) - macOS client for Ollama and ChatGPT -- [AI Studio](https://github.com/MindWorkAI/AI-Studio) - Multi-provider desktop IDE -- [Reins](https://github.com/ibrahimcetin/reins) - Parameter tuning and reasoning model support -- [ConfiChat](https://github.com/1runeberg/confichat) - Privacy-focused with optional encryption -- [LLocal.in](https://github.com/kartikm7/llocal) - Electron desktop client -- [MindMac](https://mindmac.app) - AI chat client for Mac -- [Msty](https://msty.app) - Multi-model desktop client -- [BoltAI for Mac](https://boltai.com) - AI chat client for Mac -- [IntelliBar](https://intellibar.app/) - AI-powered assistant for macOS -- [Kerlig AI](https://www.kerlig.com/) - AI writing assistant for macOS -- [Hillnote](https://hillnote.com) - Markdown-first AI workspace -- [Perfect Memory AI](https://www.perfectmemory.ai/) - Productivity AI personalized by screen and meeting history +- [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 -#### Mobile +#### 移动端 -- [Ollama Android Chat](https://github.com/sunshine0523/OllamaServer) - One-click Ollama on Android +- [Ollama Android Chat](https://github.com/sunshine0523/OllamaServer)) - Android 上一键使用 Ollama -> SwiftChat, Enchanted, Maid, Ollama App, Reins, and ConfiChat listed above also support mobile platforms. +> 上述列出的 SwiftChat、Enchanted、Maid、Ollama App、Reins 和 ConfiChat 同样支持移动平台。 -### Code Editors & Development +### 代码编辑器与开发 -- [Cline](https://github.com/cline/cline) - VS Code extension for multi-file/whole-repo coding -- [Continue](https://github.com/continuedev/continue) - Open-source AI code assistant for any IDE -- [Void](https://github.com/voideditor/void) - Open source AI code editor, Cursor alternative -- [Copilot for Obsidian](https://github.com/logancyang/obsidian-copilot) - AI assistant for Obsidian -- [twinny](https://github.com/rjmacarthy/twinny) - Copilot and Copilot chat alternative -- [gptel Emacs client](https://github.com/karthink/gptel) - LLM client for Emacs -- [Ollama Copilot](https://github.com/bernardo-bruning/ollama-copilot) - Use Ollama as GitHub Copilot -- [Obsidian Local GPT](https://github.com/pfrankov/obsidian-local-gpt) - Local AI for Obsidian -- [Ellama Emacs client](https://github.com/s-kostyaev/ellama) - LLM tool for Emacs -- [orbiton](https://github.com/xyproto/orbiton) - Config-free text editor with Ollama tab completion -- [AI ST Completion](https://github.com/yaroslavyaroslav/OpenAI-sublime-text) - Sublime Text 4 AI assistant -- [VT Code](https://github.com/vinhnx/vtcode) - Rust-based terminal coding agent with Tree-sitter -- [QodeAssist](https://github.com/Palm1r/QodeAssist) - AI coding assistant for Qt Creator -- [AI Toolkit for VS Code](https://aka.ms/ai-tooklit/ollama-docs) - Microsoft-official VS Code extension -- [Open Interpreter](https://docs.openinterpreter.com/language-model-setup/local-models/ollama) - Natural language interface for computers +- [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 Chat 替代品 +- [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 客户端](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)) - 基于 Rust 的终端编码智能体,集成 Tree-sitter +- [QodeAssist](https://github.com/Palm1r/QodeAssist)) - Qt Creator 的 AI 编码助手 +- [AI Toolkit for VS Code](https://aka.ms/ai-tooklit/ollama-docs)) - 微软官方 VS Code 扩展 +- [Open Interpreter](https://docs.openinterpreter.com/language-model-setup/local-models/ollama)) - 面向计算机的自然语言接口 -### Libraries & SDKs +### 库与 SDK -- [LiteLLM](https://github.com/BerriAI/litellm) - Unified API for 100+ LLM providers -- [Semantic Kernel](https://github.com/microsoft/semantic-kernel/tree/main/python/semantic_kernel/connectors/ai/ollama) - Microsoft AI orchestration 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 ([example](https://github.com/tmc/langchaingo/tree/main/examples/ollama-completion-example)) -- [Spring AI](https://github.com/spring-projects/spring-ai) - Spring framework AI support ([docs](https://docs.spring.io/spring-ai/reference/api/chat/ollama-chat.html)) -- [LangChain](https://python.langchain.com/docs/integrations/chat/ollama/) and [LangChain.js](https://js.langchain.com/docs/integrations/chat/ollama/) with [example](https://js.langchain.com/docs/tutorials/local_rag/) -- [Ollama for Ruby](https://github.com/crmne/ruby_llm) - Ruby LLM library -- [any-llm](https://github.com/mozilla-ai/any-llm) - Unified LLM interface by Mozilla -- [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 agent framework ([example](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) - Go vector database with Ollama embeddings ([example](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) - Unified C# interface for multiple inference APIs -- [Ollama4j for Java](https://github.com/ollama4j/ollama4j) - Java SDK -- [Ollama for Laravel](https://github.com/cloudstudio/ollama-laravel) - Laravel integration -- [Ollama for Swift](https://github.com/mattt/ollama-swift) - Swift SDK -- [LlamaIndex](https://docs.llamaindex.ai/en/stable/examples/llm/ollama/) and [LlamaIndexTS](https://ts.llamaindex.ai/modules/llms/available_llms/ollama) - Data framework for LLM apps -- [Haystack](https://github.com/deepset-ai/haystack-integrations/blob/main/integrations/ollama.md) - AI pipeline framework -- [Firebase Genkit](https://firebase.google.com/docs/genkit/plugins/ollama) - Google AI framework -- [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 -- [Portkey](https://portkey.ai/docs/welcome/integration-guides/ollama) - AI gateway -- [Testcontainers](https://testcontainers.com/modules/ollama/) - Container-based testing -- [LLPhant](https://github.com/theodo-group/LLPhant?tab=readme-ov-file#ollama) - PHP AI framework +- [LiteLLM](https://github.com/BerriAI/litellm)) - 统一 API,覆盖 100+ LLM 提供商 +- [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([示例](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 支持([文档](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/))([示例](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([示例](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([示例](https://github.com/tryAGI/LangChain/blob/main/examples/LangChain.Samples.OpenAI/Program.cs)))) +- [chromem-go](https://github.com/philippgille/chromem-go)) - Go 向量数据库,内置 Ollama 嵌入支持([示例](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)) - 统一的 C# 接口,对接多种推理 API +- [Ollama4j for Java](https://github.com/ollama4j/ollama4j)) - Java SDK +- [Ollama for Laravel](https://github.com/cloudstudio/ollama-laravel)) - Laravel 集成 +- [Ollama for Swift](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 工具包([示例](https://svilupp.github.io/PromptingTools.jl/dev/examples/working_with_ollama)))) +- [Ollama for R - rollama](https://github.com/JBGruber/rollama)) - R SDK +- [Portkey](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 框架 -### Frameworks & Agents +### 框架与智能体 -- [AutoGPT](https://github.com/Significant-Gravitas/AutoGPT/blob/master/docs/content/platform/ollama.md) - Autonomous AI agent platform -- [crewAI](https://github.com/crewAIInc/crewAI) - Multi-agent orchestration framework -- [Strands Agents](https://github.com/strands-agents/sdk-python) - Model-driven agent building by AWS -- [Cheshire Cat](https://github.com/cheshire-cat-ai/core) - AI assistant framework -- [any-agent](https://github.com/mozilla-ai/any-agent) - Unified agent framework interface by Mozilla -- [Stakpak](https://github.com/stakpak/agent) - Open source DevOps agent -- [Hexabot](https://github.com/hexastack/hexabot) - Conversational AI builder -- [Neuro SAN](https://github.com/cognizant-ai-lab/neuro-san-studio) - Multi-agent orchestration ([docs](https://github.com/cognizant-ai-lab/neuro-san-studio/blob/main/docs/user_guide.md#ollama)) +- [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)) - 多智能体编排([文档](https://github.com/cognizant-ai-lab/neuro-san-studio/blob/main/docs/user_guide.md#ollama)))) -### RAG & Knowledge Bases +### RAG 与知识库 -- [RAGFlow](https://github.com/infiniflow/ragflow) - RAG engine based on deep document understanding -- [R2R](https://github.com/SciPhi-AI/R2R) - Open-source RAG engine -- [MaxKB](https://github.com/1Panel-dev/MaxKB/) - Ready-to-use RAG chatbot -- [Minima](https://github.com/dmayboroda/minima) - On-premises or fully local RAG -- [Chipper](https://github.com/TilmanGriesel/chipper) - AI interface with Haystack RAG -- [ARGO](https://github.com/xark-argo/argo) - RAG and deep research on Mac/Windows/Linux -- [Archyve](https://github.com/nickthecook/archyve) - RAG-enabling document library -- [Casibase](https://casibase.org) - AI knowledge base with RAG and SSO -- [BrainSoup](https://www.nurgo-software.com/products/brainsoup) - Native client with RAG and multi-agent automation +- [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 与多智能体自动化 -### Bots & Messaging +### 机器人与消息 -- [LangBot](https://github.com/RockChinQ/LangBot) - Multi-platform messaging bots with agents and RAG -- [AstrBot](https://github.com/Soulter/AstrBot/) - Multi-platform chatbot with RAG and plugins -- [Discord-Ollama Chat Bot](https://github.com/kevinthedang/discord-ollama) - TypeScript Discord bot -- [Ollama Telegram Bot](https://github.com/ruecat/ollama-telegram) - Telegram bot -- [LLM Telegram Bot](https://github.com/innightwolfsleep/llm_telegram_bot) - Telegram bot for roleplay +- [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)) - 用于角色扮演的 Telegram 机器人 -### Terminal & CLI +### 终端与命令行 -- [aichat](https://github.com/sigoden/aichat) - All-in-one LLM CLI with Shell Assistant, RAG, and AI tools -- [oterm](https://github.com/ggozad/oterm) - Terminal client for Ollama -- [gollama](https://github.com/sammcj/gollama) - Go-based model manager for Ollama -- [tlm](https://github.com/yusufcanb/tlm) - Local shell copilot -- [tenere](https://github.com/pythops/tenere) - TUI for LLMs -- [ParLlama](https://github.com/paulrobello/parllama) - TUI for Ollama -- [llm-ollama](https://github.com/taketwo/llm-ollama) - Plugin for [Datasette's LLM CLI](https://llm.datasette.io/en/stable/) -- [ShellOracle](https://github.com/djcopley/ShellOracle) - Shell command suggestions -- [LLM-X](https://github.com/mrdjohnson/llm-x) - Progressive web app for LLMs -- [cmdh](https://github.com/pgibler/cmdh) - Natural language to shell commands -- [VT](https://github.com/vinhnx/vt.ai) - Minimal multimodal AI chat app +- [aichat](https://github.com/sigoden/aichat)) - 全能 LLM CLI,集成 Shell 助手、RAG 与 AI 工具 +- [oterm](https://github.com/ggozad/oterm)) - Ollama 终端客户端 +- [gollama](https://github.com/sammcj/gollama)) - 基于 Go 的 Ollama 模型管理器 +- [tlm](https://github.com/yusufcanb/tlm)) - 本地 Shell 副驾驶 +- [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 的 LLM CLI](https://llm.datasette.io/en/stable/)) 插件 +- [ShellOracle](https://github.com/djcopley/ShellOracle)) - Shell 命令建议 +- [LLM-X](https://github.com/mrdjohnson/llm-x)) - 渐进式 LLM Web 应用 +- [cmdh](https://github.com/pgibler/cmdh)) - 自然语言转 Shell 命令 +- [VT](https://github.com/vinhnx/vt.ai)) - 极简多模态 AI 聊天应用 -### Productivity & Apps +### 生产力与应用程序 -- [AppFlowy](https://github.com/AppFlowy-IO/AppFlowy) - AI collaborative workspace, self-hostable Notion alternative -- [Screenpipe](https://github.com/mediar-ai/screenpipe) - 24/7 screen and mic recording with AI-powered search -- [Vibe](https://github.com/thewh1teagle/vibe) - Transcribe and analyze meetings -- [Page Assist](https://github.com/n4ze3m/page-assist) - Chrome extension for AI-powered browsing -- [NativeMind](https://github.com/NativeMindBrowser/NativeMindExtension) - Private, on-device browser AI assistant -- [Ollama Fortress](https://github.com/ParisNeo/ollama_proxy_server) - Security proxy for Ollama -- [1Panel](https://github.com/1Panel-dev/1Panel/) - Web-based Linux server management -- [Writeopia](https://github.com/Writeopia/Writeopia) - Text editor with Ollama integration -- [QA-Pilot](https://github.com/reid41/QA-Pilot) - GitHub code repository understanding -- [Raycast extension](https://github.com/MassimilianoPasquini97/raycast_ollama) - Ollama in Raycast -- [Painting Droid](https://github.com/mateuszmigas/painting-droid) - Painting app with AI integrations -- [Serene Pub](https://github.com/doolijb/serene-pub) - AI roleplaying app -- [Mayan EDMS](https://gitlab.com/mayan-edms/mayan-edms) - Document management with Ollama workflows -- [TagSpaces](https://www.tagspaces.org) - File management with [AI tagging](https://docs.tagspaces.org/ai/) +- [AppFlowy](https://github.com/AppFlowy-IO/AppFlowy)) - AI 协作工作空间,可自托管的 Notion 替代品 +- [Screenpipe](https://github.com/mediar-ai/screenpipe)) - 24/7 屏幕与麦克风录制,支持 AI 搜索 +- [Vibe](https://github.com/thewh1teagle/vibe)) - 转录与分析会议 +- [Page Assist](https://github.com/n4ze3m/page-assist)) - Chrome 扩展,支持 AI 辅助浏览 +- [NativeMind](https://github.com/NativeMindBrowser/NativeMindExtension)) - 私有、设备端浏览器 AI 助手 +- [Ollama Fortress](https://github.com/ParisNeo/ollama_proxy_server)) - Ollama 安全代理 +- [1Panel](https://github.com/1Panel-dev/1Panel/)) - 基于 Web 的 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/)) +USD 预算:$0/$3;剩余 $3 -### Observability & Monitoring +### 可观测性与监控 -- [Opik](https://www.comet.com/docs/opik/cookbook/ollama) - Debug, evaluate, and monitor LLM applications -- [OpenLIT](https://github.com/openlit/openlit) - OpenTelemetry-native monitoring for Ollama and GPUs -- [Lunary](https://lunary.ai/docs/integrations/ollama) - LLM observability with analytics and PII masking -- [Langfuse](https://langfuse.com/docs/integrations/ollama) - Open source LLM observability -- [HoneyHive](https://docs.honeyhive.ai/integrations/ollama) - AI observability and evaluation for agents -- [MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html#automatic-tracing) - Open source LLM observability +- [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)) - 面向 Agent 的 AI 可观测性与评估 +- [MLflow Tracing](https://mlflow.org/docs/latest/llms/tracing/index.html#automatic-tracing)) - 开源 LLM 可观测性 -### Database & Embeddings +### 数据库与嵌入 -- [pgai](https://github.com/timescale/pgai) - PostgreSQL as a vector database ([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) - Connect Ollama with 200+ data platforms -- [chromem-go](https://github.com/philippgille/chromem-go/blob/v0.5.0/embed_ollama.go) - Embeddable vector database for Go ([example](https://github.com/philippgille/chromem-go/tree/v0.5.0/examples/rag-wikipedia-ollama)) -- [Kangaroo](https://github.com/dbkangaroo/kangaroo) - AI-powered SQL client +- [pgai](https://github.com/timescale/pgai)) - 将 PostgreSQL 用作向量数据库([指南](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 客户端 -### Infrastructure & Deployment +### 基础设施与部署 -#### 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) -- [Harbor](https://github.com/av/harbor) - Containerized LLM toolkit with Ollama as default backend +- [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)) +- [Harbor](https://github.com/av/harbor)) - 容器化 LLM 工具包,默认后端为 Ollama -#### Package Managers +#### 包管理器 -- [Pacman](https://archlinux.org/packages/extra/x86_64/ollama/) -- [Homebrew](https://formulae.brew.sh/formula/ollama) -- [Nix package](https://search.nixos.org/packages?show=ollama&from=0&size=50&sort=relevance&type=packages&query=ollama) -- [Helm Chart](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 channel](https://codeberg.org/tusharhero/ollama-guix) +- [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 Chart](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 channel](https://codeberg.org/tusharhero/ollama-guix))