open-webui
Open WebUI是可自托管的友好型AI交互平台,支持对接本地Ollama、OpenAI兼容API等多类模型,适配私有部署与企业级AI应用需求
这个项目值得继续研究吗?
Open WebUI是可自托管的友好型AI交互平台,支持对接本地Ollama、OpenAI兼容API等多类模型,适配私有部署与企业级AI应用需求
- 解决什么问题
- 企业对接多类大模型时往往需要分别对接不同厂商接口,缺乏统一交互入口,同时私有数据接入大模型的安全合规、团队权限管控、AI能力定制化落地需求也难以低成本满足
- 适合什么团队
- 适合有AI应用落地需求、需统一管理多源大模型、有私有数据对接诉求、偏好自托管可控部署的企业业务、IT运维及AI创新团队
- 使用前注意
- 当前未明确标注开源许可证,pip安装需使用Python 3.11版本,部分多用户隔离、高级管控功能为企业版付费能力,部署前需确认需求匹配
本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。
从官方资料看清能力、部署与采用边界
以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。
Open WebUI 项目导读
项目定位
Open WebUI是可完全离线自托管的AI交互平台,定位为企业级统一AI入口,不绑定特定大模型服务商,支持对接本地部署模型与云侧大模型API,同时具备可扩展能力,可根据企业需求定制AI能力。 Open WebUI Demo
核心业务能力
Open WebUI覆盖企业AI应用的多类需求,核心能力包括:
- 多源模型统一管理:可同时对接本地Ollama模型,以及OpenAI、LMStudio、GroqCloud、Mistral等所有兼容OpenAI格式的API,员工可在同一个入口使用所有授权的大模型。
- 细粒度权限管控:管理员可自定义角色、用户组与权限规则,为不同岗位人员分配对应模型、功能的访问权限,默认配置满足安全要求。
- 知识库问答能力:内置RAG(检索增强生成,指将企业私有知识库内容注入大模型问答上下文,提升回答准确性的技术)能力,支持9种向量数据库,可导入本地文档、谷歌云盘、OneDrive/SharePoint等多来源文件,同时支持网页搜索、网页内容拉取,丰富问答上下文。
- 团队协作能力:提供实时共享协作空间,支持团队与AI在同一空间共创,支持线程对话、内容置顶、权限管控;内置个人与共享日历,可通过对话式交互由AI完成日程调度;支持定时触发提示词的自动化任务,执行结果可关联到对应会话。
- 扩展与定制能力:支持插件扩展,可对接外部服务,自定义限流、审批流程、数据对接规则;可基于基础模型配置自定义指令、工具、知识库,搭建专属业务AI代理。
- 运营与管控能力:管理员可查看全量用户的模型调用量、Token消耗、使用成本数据,内置模型评测功能,可通过A/B测试、ELO排行榜评估模型效果。
- 多端适配:支持响应式网页,适配桌面、移动设备,可安装为渐进式网页应用获得近似原生应用的使用体验;支持语音、视频交互,覆盖多类交互场景。
部分高级功能如多用户隔离的AI运行终端、大规模部署的资源管控能力为企业版付费功能。
典型使用方式
企业部署Open WebUI后,可落地多类AI应用场景:
- 统一内部AI入口:将企业采购的所有云侧大模型、本地部署的大模型统一接入,员工无需切换多个平台即可使用所需AI能力。
- 内部知识库问答:将产品文档、客服知识库、内部制度文档等导入知识库,员工可通过对话快速获取准确的内部信息。
- 团队AI协作:业务团队可在共享空间内和AI共同完成内容创作、方案评审等工作,所有沟通记录沉淀在同一空间便于追溯。
- 自动化任务处理:配置定时触发的提示词任务,自动完成日报生成、数据监控、内容巡检等重复性工作。
部署方式说明
Open WebUI提供两种主流快速部署方式:
- Python pip安装:需提前准备Python 3.11环境,执行pip install open-webui完成安装,再执行open-webui serve即可启动服务,默认访问地址为http://localhost:8080。
- Docker部署:可通过官方镜像快速启动,部分特殊Docker环境可能需要额外配置,具体可参考官方文档。
此外也支持Kubernetes部署,存储层可选择SQLite(支持加密)或PostgreSQL,文件存储可选择本地存储、S3、谷歌云存储、Azure Blob存储,适配企业不同的基础设施环境。
生态与配套工具
Open WebUI有完整的配套生态,可扩展更多能力:
- Open Terminal/Terminals(企业版):为AI提供代码运行环境,支持AI在对话内直接编写、运行、调试代码,企业版支持多用户隔离的运行容器、资源限制、生命周期自动管理。
- oikb:可对接GitHub、Confluence、ServiceNow、Slack、Notion等45+企业常用工具,自动同步数据到知识库,无需手动上传更新。
- 原生桌面应用:支持Windows、macOS、Linux系统,提供全局快捷唤起、截图上传、语音输入能力,可选内置本地推理引擎实现完全离线使用。
采用建议
- 若为团队小规模试用,可选择pip或Docker快速部署,验证核心功能是否匹配需求。
- 若为企业级生产部署,需注意当前项目未明确标注开源许可证,需先确认合规性;企业级身份对接(LDAP、SSO、SCIM2.0)、横向扩展、可观测性等能力均已内置,可直接适配生产环境要求。
- 如有专属场景定制需求,可通过插件体系扩展能力,若需要多用户隔离运行环境等高级功能,可联系官方咨询企业版方案。
官方资料与来源
- ai
- llm
- llm-ui
- llm-webui
- llms
- mcp
- ollama
- ollama-webui
- open-webui
- openai
- openapi
- rag
## How to Install 🚀 ### Installation via Python pip 🐍 Open WebUI can be installed using pip, the Python package installer. Before proceeding, ensure you're using **Python 3.11** to avoid compatibility issues. 1. **Install Open WebUI**: Open your terminal and run the following command to install Open WebUI: ```bash pip install open-webui ``` 2. **Running Open WebUI**: After installation, you can start Open WebUI by executing: ```bash open-webui serve ``` This will start the Open WebUI server, which you can access at [http://localhost:8080](http://localhost:8080) ### Quick Start with Docker 🐳 > [!NOTE] > Please note that for certain Docker environments, additional configurations might be needed. If you encounter any connection issues, our detailed guide on [Open WebUI Documentation](https://docs.openwebui.com/) is ready to assist you. > [!WARNING] > W
该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。

核对上游原始说明节选
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Open WebUI 👋
GitHub stars GitHub forks GitHub watchers GitHub repo size GitHub language count GitHub top language GitHub last commit Discord [](https://github.com/sponsors/open-webui)
Open WebUI is a home for AI, a self-hosted AI platform that's extensible, feature-rich, user-friendly, and built to run entirely offline. With support for Ollama and OpenAI-compatible APIs, it gives you a powerful, provider-agnostic interface for both local and cloud-based models.
Passionate about open-source AI? Join our team →
Open WebUI Demo
[!TIP]
Looking for an Enterprise Plan? – Speak with Our Sales Team Today!
For more information, be sure to check out our Open WebUI Documentation.
Key Features of Open WebUI ⭐
- 🚀 Effortless Setup: Install seamlessly via pip, uv, Docker, or Kubernetes (kubectl, kustomize, or helm), with :ollama and :cuda tagged images available for container deployments.
- 🤝 Broad Model & API Integration: Connect any OpenAI-compatible API alongside local Ollama models. Point the API URL at LMStudio, GroqCloud, Mistral, OpenRouter, vLLM, and more to mix and match providers freely.
- 🔐 Granular RBAC & User Groups: Administrators define detailed roles, groups, and permissions, giving each user exactly the access they need. Secure by default, with tailored experiences per group.
- 🧩 Plugin Support: Extend Open WebUI with Filters, Actions, Pipes, Tools, and Skills. Connect external services through MCP, MCPO, and OpenAPI tool servers. Build custom integrations, rate limits, approval flows, data connections, and more.
- 🤖 Models & Agents: Wrap any base model with custom instructions, tools, and knowledge to build specialized agents. Supports dynamic variables, per-user/group access control, and community preset imports via Open WebUI Community.
- ⚡ Agentic Execution with Open Terminal: Give your agents a terminal and filesystem to carry out multi-step tasks. Let them analyze data, run scripts, fix errors, and produce files directly in chat. Scale to teams with Terminals (Enterprise) for per-user isolated environments, resource limits, and automatic lifecycle management.
- 📝 Notes: A dedicated workspace for content outside conversations. Draft with a rich editor, use AI to rewrite selected text, and attach notes to any chat for full-context injection.
- 📢 Channels: Real-time shared spaces where your team and AI models collaborate in one timeline. Tag models to draft or critique, with threads, reactions, pins, and access control.
- 🧠 Persistent Memory: The AI remembers facts about you across conversations, carrying context from one chat to the next.
- ✅ Live Workflow & Message Flow: Watch the AI build and work through checklists in real time. Queue messages while the AI is still responding; they send automatically when it's ready.
- 📅 Calendar & AI Scheduling: Built-in personal and shared calendars with month/week/day views, recurring events, color coding, attendees, and reminders. Models manage your schedule conversationally through native function calling.
- ⏱️ Automations: Schedule prompts to run on recurring schedules, with runs surfaced on your calendar and each completed run linking back to the chat it produced.
- 📱 Responsive Design & PWA: Seamless experience across desktop, laptop, and mobile, with a Progressive Web App for native app-like feel and offline access on localhost.
- ✒️🔢 Full Markdown and LaTeX Support: Comprehensive Markdown and LaTeX capabilities for enriched interaction.
- 🎤📹 Hands-Free Voice/Video Call: Integrated voice and video calls with multiple Speech-to-Text providers (Local Whisper, OpenAI, Deepgram, Azure) and Text-to-Speech engines (Azure, ElevenLabs, OpenAI, Transformers, WebAPI).
- 💾 Persistent Artifact Storage: Built-in key-value storage API for artifacts, enabling journals, trackers, leaderboards, and collaborative tools with personal and shared data scopes.
- 📚 Local RAG Integration: Retrieval Augmented Generation backed by 9 vector databases and multiple content-extraction engines (Tika, Docling, Document Intelligence, Mistral OCR, PaddleOCR-vl, external loaders). Supports hybrid search (BM25 + vector) with reranking and full-context mode. Load documents into chat or pull them from your library with the # command.
- 🔍 Web Search for RAG: Search the web through dozens of providers including SearXNG, Google PSE, Brave Search, Kagi, Mojeek, Tavily, Perplexity, Firecrawl, serpstack, serper, Serply, DuckDuckGo, SearchApi, SerpApi, Bing, Jina, Exa, Sougou, Azure AI Search, and Ollama Cloud, injecting results directly into the conversation.
- 🌐 Web Browsing Capability: Pull websites into chat with the # command followed by a URL, or let the model fetch them on its own when needed.
- 🎨 Image Generation & Editing: Create and edit images with multiple engines including OpenAI DALL·E, Gemini, ComfyUI (local), and AUTOMATIC1111 (local), supporting both generation and prompt-based editing.
- ⚙️ Multi-Model Conversations: Engage several models at once, harnessing their individual strengths in parallel for the best possible responses.
- 📊 Usage Analytics & Model Evaluation: Admin dashboards track message volume, token consumption, and cost across users and models. Evaluate models with a built-in arena, A/B testing, and ELO-based leaderboards.
- 🗄️ Flexible Database & Storage: Choose SQLite (with optional encryption) or PostgreSQL, and store files locally or on S3, Google Cloud Storage, or Azure Blob Storage.
- 🧬 Advanced Vector Database Support: Pick from 9 vector databases: ChromaDB, PGVector, Qdrant, Milvus, Elasticsearch, OpenSearch, Pinecone, S3Vector, and Oracle 23ai.
- 🪪 Enterprise Authentication & Provisioning: Full LDAP/Active Directory integration, SSO via trusted headers and OAuth providers, and SCIM 2.0 automated provisioning for identity providers like Okta, Azure AD, and Google Workspace.
- ☁️ Cloud-Native File Integration: Native Google Drive and OneDrive/SharePoint file picking for seamless document import from enterprise cloud storage.
- 🔭 Production Observability: Built-in OpenTelemetry support for traces, metrics, and logs, plugging into your existing monitoring stack.
- ⚖️ Horizontal Scalability: Redis-backed session management and WebSocket support for multi-worker, multi-node deployments behind load balancers.
- 🌐🌍 Multilingual Support: Use Open WebUI in your preferred language with i18n support. We're actively seeking contributors to expand language coverage!
- 🌟 Continuous Updates: We're committed to improving Open WebUI with regular updates, fixes, and new features.
- 🛡️ Transparent Security Process: Security reports are triaged, fixed, and published as open advisories through a documented responsible-disclosure process. See our Security Policy.
Want to learn more about Open WebUI's features? Check out our Open WebUI documentation for a comprehensive overview!
The Open WebUI Ecosystem 🌐
Open WebUI is the core, surrounded by companion apps and infrastructure that extend what your AI can do, where it can reach, and how you run it:
- 💻 Open WebUI Computer (open-webui/computer): A standalone, mobile-first computer and coding agent that runs on the machine you own. Files, terminal, and git in a browser tab, reachable from your phone. Connect it into Open WebUI as a model, or reach it from Telegram, WhatsApp, and more.
- ⚡ Open Terminal and Terminals (Enterprise) (open-webui/open-terminal & open-webui/terminals): A self-hosted computing environment that plugs into Open WebUI, giving the AI a place to write code, run it, read output, fix errors, and iterate inside the chat. Terminals gives you per-user isolated containers with separate credentials, resource limits, and network rules. Automatic lifecycle management on Docker or Kubernetes.
- 🔄 oikb (open-webui/oikb): Feed your Knowledge Bases from 45+ sources (GitHub, Confluence, ServiceNow, Salesforce, Jira, Slack, SharePoint, Notion, and more), keeping the tools your team already uses continuously in sync.
- 🖥️ Native Desktop App (open-webui/desktop): Run Open WebUI as a native app on macOS, Windows, and Linux. System-wide Spotlight chat bar with screenshot capture, push-to-talk voice, and optional fully-local inference via a built-in llama.cpp engine.
Want to learn more? Check out our Open WebUI documentation for more details!
---
We are incredibly grateful for the generous support of our sponsors. Their contributions help us to maintain and improve our project, ensuring we can continue to deliver quality work to our community. Thank you!
How to Install 🚀
Installation via Python pip 🐍
Open WebUI can be installed using pip, the Python package installer. Before proceeding, ensure you're using Python 3.11 to avoid compatibility issues.
Open your terminal and run the following comman
- Install Open WebUI: