# Browser Use Web UI

> A Gradio web interface for running browser-use AI agents in your browser

- Category: Agents & Automation / Computer & Browser Use
- Language: Python
- Licence: MIT
- Repository: https://github.com/browser-use/web-ui
- Canonical page: https://ai-tldr.dev/tools/browser-use-web-ui/

## In short

Browser Use Web UI is a graphical front end for the browser-use project, which makes websites accessible to AI agents. Instead of writing code, you interact with the browser agent through a simple web page built on Gradio, making it easier to give tasks and watch the agent work. It sits in the Computer & Browser Use category of the Agents & Automation tools and is open-source, written in Python and licensed MIT.

## Overview

Browser Use Web UI is a graphical front end for the browser-use project, which makes websites accessible to AI agents. Instead of writing code, you interact with the browser agent through a simple web page built on Gradio, making it easier to give tasks and watch the agent work.

The tool supports many large language models, including Google, OpenAI, Azure OpenAI, Anthropic, DeepSeek, and Ollama. You can also connect your own browser so the agent reuses your existing logins, and you can keep the browser window open between tasks to review the full history of what the agent did.

## What it does

- Gradio-based web interface that supports most browser-use functionality without writing code
- Works with many LLM providers, including Google, OpenAI, Azure OpenAI, Anthropic, DeepSeek, and Ollama
- Use your own browser so the agent reuses existing logins and avoids extra authentication steps
- Persistent browser sessions that keep the window open between tasks to review state and history
- High-definition screen recording of browser interactions when using your own browser
- Docker setup with a VNC viewer so you can watch the agent work inside a container

## Getting started

You can run Browser Use Web UI with a local Python install or with Docker. The local path uses uv to manage the Python environment, then launches the Gradio web app.

1. Clone the repository

   Download the project source and move into the new folder.

```bash
git clone https://github.com/browser-use/web-ui.git
cd web-ui
```

2. Set up the Python environment

   Create a virtual environment with uv using Python 3.11, then activate it (the example below shows macOS/Linux).

```bash
uv venv --python 3.11
source .venv/bin/activate
```

3. Install dependencies and browsers

   Install the Python packages, then install the Playwright browsers the agent drives.

```bash
uv pip install -r requirements.txt
playwright install --with-deps
```

4. Configure and run the WebUI

   Copy the example environment file and add your API keys, then start the web app and open it at http://127.0.0.1:7788.

```bash
cp .env.example .env
python webui.py --ip 127.0.0.1 --port 7788
```

## When to use it

- Give an AI agent plain-language web tasks through a UI instead of writing automation code
- Compare how different LLM providers, such as OpenAI, Anthropic, or DeepSeek, handle the same browsing task
- Run automation against sites you are already logged into by connecting your own browser
- Watch and review agent browser sessions, including via the Docker VNC viewer
