browser-use/web-ui
A self-hosted Gradio console for running and watching browser-use agents.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is an operator-facing Python application built on upstream browser-use, not a replacement for its browser engine. webui.py is the entrypoint and Gradio 5.31.0 supplies the configuration and task interface. A user selects a model and browser settings, then submits a task to the agent. The model guides the agent's choices, while browser-use==0.1.48 handles browser interactions; the local setup installs the browser runtime with Playwright.
The manifest pins langgraph==0.3.34 and langchain_mcp_adapters==0.0.9 and includes provider packages such as langchain-mistralai and langchain-ibm. The MCP milestone in v2.0.0 establishes a tool-integration path, but these dependencies do not establish the internal graph topology, supported MCP transports, or whether every provider library appears as a selectable backend.
Key Capabilities & Differentiators
Operators can choose among documented Google, OpenAI, Azure OpenAI, Anthropic, DeepSeek, and Ollama backends without changing the browser workflow. The Compose service accepts model credentials from the environment and exposes endpoint settings for OpenAI, Anthropic, and Azure OpenAI, along with an Azure API-version setting. This gives the operator control over where inference runs, but changing providers should not be assumed to preserve task behavior.
The custom-browser option takes an executable via BROWSER_PATH and a profile directory via BROWSER_USER_DATA, so the agent can operate with an existing signed-in session. Custom-browser use also supports high-definition screen recording. Separately, keeping the browser window open preserves state across tasks, and Docker deployments offer a live view through the VNC viewer. A live or recorded view helps operators diagnose behavior; it is not a guarantee that a run can be reproduced.
Trade-offs & Limitations
Compared with using browser-use as a library, WebUI saves the work of building an operator console and makes model and browser settings accessible without writing application code. In exchange, adopters inherit the Gradio and Playwright stack and compatibility work around the pinned upstream version. Compared with closed AI browsers such as Comet or Dia, its documented advantage is control over hosting, model choice, and the browser profile—not evidence of comparable task success or polish.
Profile reuse removes repeated sign-ins but gives the agent access to the state and permissions of that profile. The Chrome setup calls for closing Chrome and opening the WebUI in another browser; a dedicated automation profile is a better boundary than a personal one. Self-hosting also does not keep model inputs local if a hosted API is selected. The MIT license permits commercial use, but provider costs, terms, and data handling still depend on the selected backend.
Hardware & Deployment Guide
For a local install, create a Python 3.11 environment with uv, install requirements.txt, run playwright install --with-deps (or install only Chromium), and configure .env from .env.example. Start with python webui.py --ip 127.0.0.1 --port 7788. Docker Compose builds from the checked-in Dockerfile with docker compose up --build; ARM64 hosts can use TARGETPLATFORM=linux/arm64 docker compose up --build.
Compose publishes ports 7788, 6080, 5901, and 9222. The UI is on 7788 and the browser viewer is at http://localhost:6080/vnc.html. Change the documented default VNC password via VNC_PASSWORD and restrict published ports before using the service on a shared network. Hosted inference leaves the local host running the UI and browser; local Ollama inference adds model-dependent compute and memory requirements. Releases moved from compatibility and a security fix in v1.7 to MCP integration in v2.0.0, with v3.0.0 (2025-08-31) framing the project as a customizable, open-source AI browser.
webui.py serves Gradio 5.31.0 over a browser-use==0.1.48 execution layer, with Playwright browsers installed for local use.BROWSER_PATH and BROWSER_USER_DATA let the agent use a selected browser executable and profile instead of starting with a fresh login.http://localhost:6080/vnc.html.langchain_mcp_adapters==0.0.9 without establishing transport coverage.TARGETPLATFORM to linux/amd64, and documents an explicit linux/arm64 override.Individuals or small teams that want a self-hosted console to prototype or supervise browser tasks on sites they are authorized to use, with a choice of model backends and control over browser sessions.
You only need a browser automation library to embed in an application, or your deployment requires verified multi-tenant isolation, audit trails, or data residency for every model call.
Quick Start & Installation
uv venv --python 3.11
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| web-ui ★ | 16.7k | +13 | Python | MIT | A self-hosted Gradio console for running and watching browser-use agents. |
| cua | 34.2k | +1k | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/browser-use/web-ui.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about web-ui
Where do the UI, browser engine, and MCP fit?
webui.py serves the Gradio interface, while browser-use==0.1.48 handles browser execution. You can choose among documented language-model providers and enable a custom browser through BROWSER_PATH and BROWSER_USER_DATA. v2.0.0 introduced MCP integration, but the available configuration does not establish which MCP transports or server types are supported.Does the WebUI need a GPU, and what drives resource use?
Can we self-host it for commercial use?
When should I choose this over upstream browser-use or a closed AI browser?
browser-use directly when browser automation belongs inside your own application and you want to own the interface and lifecycle. Compared with closed AI browsers such as Comet or Dia, the demonstrated distinction is self-hosting and configurable model and browser settings, not proven feature parity or better task success.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy