Browser Use is a Python library that makes websites accessible for AI agents, enabling automated web-based task completion with ease. Integrates with multiple LLM providers including their optimized ChatBrowserUse model. Handles form-filling, shopping, research, and complex web automation through natural language instructions. With 80k+ stars, it is the most popular open-source AI browser automation framework. Supports custom tools and stealth browsing.
git clone https://github.com/browser-use/browser-use.git
from browser_use import Agent
from langchain_openai import ChatOpenAI
agent = Agent(
task="Find cheapest flight from NYC to LA",
llm=ChatOpenAI(model="gpt-4o")
)
result = await agent.run()
print(result)