知识库问答 · 中文选型解读

open-webui

已解读GitHubPython

这是一款可自托管的易用AI交互平台,支持对接本地Ollama、OpenAI兼容接口,提供知识库、团队协作等多类AI应用能力。

151.4kstar今天仍有更新维护状态许可待核对商用提醒
在 GitHub 查看官方项目
适合解决把企业文档和数据变成可追溯的 AI 问答能力
更适合有文档沉淀、客服或内部知识复用需求的团队
投入判断上手门槛:需评估。通常需要整理数据、配置模型与权限
一分钟看懂

这个项目值得继续研究吗?

AI 依据上游资料解读 · 2026/9/5

这是一款可自托管的易用AI交互平台,支持对接本地Ollama、OpenAI兼容接口,提供知识库、团队协作等多类AI应用能力。

解决什么问题
企业同时使用本地部署大模型和云侧大模型时,往往面临多入口难统一、权限管控复杂、缺少开箱即用的知识库和团队协作AI工具的问题,自研成本高、落地周期长。
适合什么团队
需要自建内部AI门户的企业IT、业务团队,有统一管理多源大模型、搭建专属知识库、团队AI协作需求的组织都适用。
使用前注意
目前项目未标注许可证,商用前需确认授权合规;pip部署要求Python 3.11版本,部分Docker环境需参考官方文档做额外适配。

本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。

项目导读

从官方资料看清能力、部署与采用边界

AI 翻译整理 · 保留官方来源

以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。

一、项目定位

Open WebUI是一款支持完全离线运行的自托管AI平台,定位为企业统一的AI交互入口,无需从零开发AI门户,即可快速落地符合企业需求的AI应用。它不绑定特定大模型服务商,同时支持本地部署的Ollama模型、所有OpenAI兼容接口的云侧大模型,可灵活对接企业已采购或自建的大模型资源。

二、核心业务能力

  1. 多源大模型统一管理:可同时接入LMStudio、GroqCloud、Mistral、OpenRouter等不同来源的大模型,员工无需切换多个平台,在同一个界面即可调用所有授权的大模型服务。
  2. 精细化权限管控:管理员可按角色、用户组分配不同的使用权限,不同部门、不同职级的员工仅能访问被授权的模型、知识库和功能,符合企业数据安全要求。
  3. 知识库问答能力:内置RAG(检索增强生成,指将企业私有文档导入后,大模型可结合文档内容给出符合企业实际情况的回答)能力,支持对接9种向量数据库,可导入本地文件、谷歌云盘、OneDrive/SharePoint内的企业文档,同时支持对接数十种网页搜索服务,让大模型回答可结合最新外部信息。
  4. 团队协作能力:提供实时共享的协作空间,团队成员可共同和AI交互,支持@指定大模型处理任务、话题线程、内容置顶等功能;内置个人和共享日历,可通过对话让AI自动安排日程、设置提醒,还支持定时触发AI任务。
  5. 自定义扩展能力:支持通过插件对接企业内部现有系统,可基于基础大模型配置专属AI智能体,满足企业定制化的AI需求。同时支持语音、视频交互,多端自适应,手机、电脑都可流畅使用。
  6. 运营管控能力:管理员可通过后台查看各用户、各模型的使用量、token消耗和成本数据,内置模型对比评估功能,可通过A/B测试等方式筛选最适合企业场景的大模型。

三、典型使用方式

  • 内部知识库搭建:上传企业规章制度、产品手册、项目文档等资料后,员工可直接通过提问获取对应的内部信息,无需手动翻找大量历史文档。
  • 团队AI协作:市场、产品、研发等团队可在共享空间内共同使用AI完成文案撰写、需求梳理、代码调试等工作,所有交互记录可留存追溯。
  • 统一AI服务入口:将企业已采购的云大模型、自建的本地大模型全部接入后,作为内部唯一的AI服务入口,降低员工使用门槛,同时便于IT统一管控。

四、部署要求

项目提供两种主流的快速部署方式:

  1. pip安装:要求环境为Python 3.11版本,执行命令
pip install open-webui

即可完成安装,安装后执行

open-webui serve

启动服务,访问http://localhost:8080即可使用。

  1. Docker部署:可通过官方Docker镜像快速启动服务,大部分环境可直接运行,少数特殊Docker环境需参考官方文档完成额外配置。同时也支持Kubernetes部署,适配大流量生产级场景。

五、项目状态与采用建议

当前项目处于活跃维护状态,最近一次代码更新为2026年9月,无归档计划,有完善的官方文档和安全漏洞披露流程,配套有桌面端应用、知识库多源同步工具、AI代码运行终端等生态组件可按需选用。官方同时提供企业版方案,有相关需求的企业可直接联系官方销售团队咨询。 需注意的是,目前项目未公开标注许可证,企业如果计划商用,建议先与官方沟通确认授权规则,避免合规风险。如果你的企业需要快速搭建内部统一AI门户,且不想投入大量资源自研,可先测试验证功能匹配度后再考虑落地。

可核对的事实层

官方资料与来源

查看来源 →
  • ai
  • llm
  • llm-ui
  • llm-webui
  • llms
  • mcp
  • ollama
  • ollama-webui
  • open-webui
  • openai
  • openapi
  • rag
默认分支main
关注仓库654
复刻次数22.0k
开放议题245
近期更新2026/9/3
仓库状态未标记归档
上游部署线索
## 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.
  • 📝 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 command to install Open WebUI:

  1. Install Open WebUI:
   pip install open-webui

After installation, you can start Open WebUI by executing:

  1. Running Open WebUI:
   open-webui serve

This will start the Open WebUI server, which you can access at http://localhost:8080

Quick Start with Docker 🐳

[!NOTE]
Please note that for certain Docker environments, additional configuration