Browser Use
About
Browser Use is an LLM-powered browser automation tool that allows language models to control a real browser via structured system and user prompts. The LLM decides which browser actions to perform (open pages, navigate, click, read content), while the execution is handled by the browser runtime. The integration works with any supported LLM and does not rely on model-specific features.
Installation
Environment requirements
Python 3.12
Supported operating systems: macOS / Linux / Windows
Chromium is used (installed automatically)
Environment setup
pip install uv
uv venv --python 3.12
source .venv/bin/activate
# Windows:
.venv\Scripts\activateInstalling dependencies
uv pip install browser-use python-dotenv
uvx browser-use installHow to Use AIML API with Browser Use
General concept
Browser Use works as follows:
The user provides system and user prompts to the LLM.
The LLM returns instructions.
The browser executes the actions.
There is no tight coupling to a specific model. All our LLMs are supported.
Setting up your API key
You can create a dedicated .env file and store your AIMLAPI key there once, then reference this file from your code, as shown in the example code below.
Alternatively, you can place the key directly in your code, as shown in all our model call examples in the API REFERENCES section of this portal.
Example Code
Supported Models
All our LLMs are supported.
More
For further information about the framework, please check the official documentation.
For additional examples, check out the repo.
Last updated
Was this helpful?