README.md
March 4, 2025 ยท View on GitHub

This project builds upon the foundation of the browser-use, which is designed to make websites accessible for AI agents.
We would like to officially thank Kiran Immadi for contributions to this project.
WebUI: is built on Gradio and supports most of browser-use functionalities. This UI is designed to be user-friendly and enables easy interaction with the browser agent.
Expanded LLM Support: We've integrated support for various Large Language Models (LLMs), including: Gemini, OpenAI, Azure OpenAI, Anthropic, DeepSeek, Ollama etc. And we plan to add support for even more models in the future.
Custom Browser Support: You can use your own browser with our tool, eliminating the need to re-login to sites or deal with other authentication challenges. This feature also supports high-definition screen recording.
Persistent Browser Sessions: You can choose to keep the browser window open between AI tasks, allowing you to see the complete history and state of AI interactions.
Installation Options
Option 1: Local Installation
Read the quickstart guide or follow the steps below to get started.
Python 3.11 or higher is required.
First, we recommend using uv to setup the Python environment.
uv venv --python 3.11
and activate it with:
source .venv/bin/activate
Install the dependencies:
uv pip install -r requirements.txt
Then install playwright:
playwright install
Option 2: Docker Installation
-
Prerequisites:
- Docker and Docker Compose installed on your system
- Git to clone the repository
-
Setup:
# Clone the repository git clone https://github.com/kiranimmadi2/web-ui.git cd web-ui # Copy and configure environment variables cp .env.example .env # Edit .env with your preferred text editor and add your API keys -
Run with Docker:
# Build and start the container with default settings (browser closes after AI tasks) docker compose up --build # Or run with persistent browser (browser stays open between AI tasks) CHROME_PERSISTENT_SESSION=true docker compose up --build -
Access the Application:
- WebUI:
http://localhost:7788 - VNC Viewer (to see browser interactions):
http://localhost:6080/vnc.html
Default VNC password is "youvncpassword". You can change it by setting the
VNC_PASSWORDenvironment variable in your.envfile. - WebUI:
Usage
Local Setup
- Copy
.env.exampleto.envand set your environment variables, including API keys for the LLM.cp .env.example .env - Run the WebUI:
python webui.py --ip 127.0.0.1 --port 7788 - WebUI options:
--ip: The IP address to bind the WebUI to. Default is127.0.0.1.--port: The port to bind the WebUI to. Default is7788.--theme: The theme for the user interface. Default isOcean.--dark-mode: Enables dark mode for the user interface.
- Access the WebUI: Open your web browser and navigate to
http://127.0.0.1:7788. - Using Your Own Browser(Optional):
- Set
CHROME_PATHto the executable path of your browser andCHROME_USER_DATAto the user data directory of your browser.
- Set
- Keep Browser Open(Optional):
- Set
CHROME_PERSISTENT_SESSION=truein the.envfile.
- Set
Docker Setup
-
Environment Variables:
- All configuration is done through the
.envfile
- All configuration is done through the
-
Browser Persistence Modes:
- Default Mode (CHROME_PERSISTENT_SESSION=false):
- Browser opens and closes with each AI task
- Persistent Mode (CHROME_PERSISTENT_SESSION=true):
- Browser stays open between AI tasks
- Default Mode (CHROME_PERSISTENT_SESSION=false):
-
Viewing Browser Interactions:
- Access the noVNC viewer at
http://localhost:6080/vnc.html
- Access the noVNC viewer at
-
Container Management:
docker compose up -d docker compose logs -f docker compose down