Open WebUI
$ open-webui Official Med RiskOpen WebUI (open-webui) is a self-hosted web interface and RAG platform for Ollama and OpenAI-compatible endpoints. Distributed on PyPI as well as Docker, its CLI primarily boots and binds the local FastAPI web server via open-webui serve --host ... --port ....
pip install open-webui open-webui is a web application server launcher (open-webui serve); agents only inspect --help or launch it as a background service.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Minimal CLI surface essentially limited to open-webui serve (a blocking web server daemon) with no JSON output or automation subcommands.
- CLI primarily exposes
open-webui serve --host --port - No
--jsonor headless query subcommands
Self-hosted locally using DATA_DIR and WEBUI_SECRET_KEY, though initial web setup creates an admin account and exposes HTTP ports.
- Supports
--host 127.0.0.1binding andWEBUI_SECRET_KEYconfiguration
Cross-platform via pip install open-webui (Python 3.11) or Docker, though Python installs pull a large dependency tree.
- Installable via
pip install open-webuiacross macOS, Linux, and Windows
Convenient single-command launcher for a full-featured local LLM WebUI, though designed for human browser users rather than CLI agents.
- Launches full RAG/chat WebUI in one
open-webui servecommand
Active open-webui/open-webui project, though governed by the custom Open WebUI License with branding restrictions >50 users.
- Custom Open WebUI License rather than standard OSI permissive license
Good docs at docs.openwebui.com for Docker and server setup; minimal CLI-specific surface.
- Official docs at docs.openwebui.com
Security, Auth & Guardrails
Stores user accounts, SQLite/DB state, and session keys (WEBUI_SECRET_KEY) inside DATA_DIR.
Free for self-hosting and small teams under the Open WebUI License; >50 active users with altered branding requires an Enterprise License.
# Open WebUI Agent Rules - Never run `open-webui serve` synchronously in a blocking tool call—it starts a long-lived FastAPI server. - Bind `--host 127.0.0.1` unless remote network exposure and `WEBUI_SECRET_KEY` are explicitly configured.
Agent-Ready Command Recipes
Safe Read-Only Queries
open-webui --help && open-webui serve --help
Prints available server host/port flags without starting the web server.
Controlled Writes & Previews
open-webui serve --host 127.0.0.1 --port 8080
Launches the local web platform on 127.0.0.1:8080 instead of exposing all network interfaces.
Strengths for Agents
- + One-command
open-webui serveboots a full local RAG and LLM web portal without Docker. - + Explicit
--portand--hostflags override environment defaults cleanly.
Caveats & Pitfalls
- ! Minimal CLI beyond
serve; not built for headless agent scripting or JSON output. - ! Custom Open WebUI License imposes enterprise licensing rules above 50 monthly active users if branding is modified.