Development
Local Setup
Set up Browser Use development environment locally
Prerequisites
Browser Use requires Python 3.11 or higher. We recommend using uv for Python environment management.
Clone the Repository
First, clone the Browser Use repository:
Environment Setup
- Create a virtual environment:
- Install dependencies:
Configuration
Set up your environment variables:
Or manually create a .env
file with your API keys:
.env
You can use any LLM model supported by LangChain. See LangChain Models for available options and their specific API key requirements.
Development
After setup, you can:
- Run tests with
pytest
- Build the package with
hatch build
- Try the examples in the
examples/
directory
Getting Help
If you run into any issues:
- Check our GitHub Issues
- Join our Discord community for support
We welcome contributions! See our Contribution Guide for guidelines on how to help improve Browser Use.
Was this page helpful?