# Repository Briefing: browser-use/web-ui
> Source: https://repoforai.com/repo/browser-use/web-ui (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/browser-use/web-ui
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (90/100 · Maintenance 35/35 · Adoption 24/25 · Releases 11/20 · License 20/20)
- **Latest Release**: v3.0.0 (2025-08-31) — https://github.com/browser-use/web-ui/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted
- **Momentum**: 16,676 ★ total (+3 24h / +13 7d) · 2,761 forks
- **Topics**: `ai-agent`, `browser-automation`, `browser-use-box`, `cloud-browser`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution stack: `webui.py` serves Gradio 5.31.0 over a `browser-use==0.1.48` execution layer, with Playwright browsers installed for local use.
- Model selection: Google, OpenAI, Azure OpenAI, Anthropic, DeepSeek, and Ollama are documented options; Compose exposes endpoint overrides for OpenAI and Anthropic.
- Browser identity: `BROWSER_PATH` and `BROWSER_USER_DATA` let the agent use a selected browser executable and profile instead of starting with a fresh login.
- Run visibility: Keep the browser open between tasks, record custom-browser sessions, or watch the container browser live at `http://localhost:6080/vnc.html`.
- Tool integration: v2.0.0 introduced MCP integration; the manifest pins `langchain_mcp_adapters==0.0.9` without establishing transport coverage.
- Container build: Compose builds from the checked-in Dockerfile, defaults `TARGETPLATFORM` to `linux/amd64`, and documents an explicit `linux/arm64` override.
```

## Quick Start / Clone
```bash
uv venv --python 3.11
```
