umar141/Cerebrow-Browser-Agent
Cerebrow AI Agent
<br/>
Cerebrow: 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: Google, 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.
Installation Guide
Option 1: Local Installationcd cerebrow-1
Follow the steps below to get started.
Step 1: Clone the Repository
git clone hhttps://github.com/uchihasosuke/Cerebrow-1.git
cd Cerebrow-1Step 2: Set Up Python Environment
We recommend using uv for managing the Python environment.
Using uv (recommended):
uv venv --python 3.11Activate the virtual environment:
- Windows (Command Prompt):
.venv\Scripts\activate- Windows (PowerShell):
.\.venv\Scripts\Activate.ps1- macOS/Linux:
source .venv/bin/activateStep 3: Install Dependencies
Install Python packages:
uv pip install -r requirements.txtInstall Browsers in playwright.
playwright install --with-depsOr you can install specific browsers by running:
playwright install chromium --with-depsOr
python -m playwright install chromiumStep 4: Configure Environment
- Create a copy of the example environment file:
- Windows (Command Prompt):
copy .env.example .env- macOS/Linux/Windows (PowerShell):
cp .env.example .env- Open
.envin your preferred text editor and add your API keys and other settings
Step 5: Enjoy Cerebrow
- Run Cerebrow:
python webui.py --ip 127.0.0.1 --port 7788- Access Cerebrow: Open your web browser and navigate to
http://127.0.0.1:7788. - Using Your Own Browser(Optional):
- Set
BROWSER_PATHto the executable path of your browser andBROWSER_USER_DATAto the user data directory of your browser. LeaveBROWSER_USER_DATAempty if you want to use local user data. - Windows
BROWSER_PATH="C:\Program Files\Google\Chrome\Application\chrome.exe"
BROWSER_USER_DATA="C:\Users\YourUsername\AppData\Local\Google\Chrome\User Data"Note: Replace YourUsername with your actual Windows username for Windows systems.- Mac
BROWSER_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
BROWSER_USER_DATA="/Users/YourUsername/Library/Application Support/Google/Chrome"