.env file with your API key.
ChatBrowserUse offers the fastest and most cost-effective models, completing tasks 3-5x faster. Get started with $10 of free LLM credits.1. Installing Browser-Use
create environment
activate environment
install browser-use & chromium
2. Choose your favorite LLM
Create a.env file and add your API key.
We recommend using ChatBrowserUse which is optimized for browser automation tasks (highest accuracy + fastest speed + lowest token cost). Don’t have one? We give you $10 to try it out here.
.env
On Windows, use
echo. > .env3. Run your first agent
Custom browsers can be configured in one line. Check out browsers for more.
4. Going to Production
Sandboxes are the easiest way to run Browser-Use in production. We handle agents, browsers, persistence, auth, cookies, and LLMs. It’s also the fastest way to deploy - the agent runs right next to the browser, so latency is minimal. To run in production with authentication, just add@sandbox to your function: