browser-use
browser-use/browser-use
๐ Make websites accessible for AI agents. Automate tasks online with ease.
Overview
browser-use is a Python library that allows for browser automation and accessibility enhancements specifically tailored for AI agents using tools like Playwright. It enables the seamless interaction of AI agents with web applications, facilitating automated task execution in the digital realm.
Categories
Tags
Similar tools
ECC
affaan-m/ECC
affaan-m/ECC
hermes-agent
NousResearch/hermes-agent
nousresearch/hermes-agent
AutoGPT
Significant-Gravitas/AutoGPT
AutoGPT
ollama
ollama/ollama
Local inference runtime and CLI for open-weight large language models
prompts.chat
f/prompts.chat
f/prompts.chat
JavaGuide
Snailclimb/JavaGuide
Java guide for backend interviews & AI application development covering system design, LLMs, Agents, and RAG.
Install
pip install browser-useREADME
Browser Use CLI 3.0 is here. Give your coding agent a browser it can use reliably.
๐ค๏ธ Want to skip the setup? Use our cloud for faster, scalable, stealth-enabled browser automation!
๐ค Give our docs to your coding agent: llms-full.txt
๐ Human Quickstart
1. Install Browser Use (Python>=3.11):
uv add browser-use
# or: pip install browser-use
2. [Optional] Get your API key from Browser Use Cloud:
# .env
BROWSER_USE_API_KEY=your-key
# GOOGLE_API_KEY=your-key
# ANTHROPIC_API_KEY=your-key
3. Run your first agent:
Python Script:
import asyncio
from browser_use import Agent, BrowserProfile, ChatBrowserUse
async def main():
agent = Agent(
task="Find the number of stars of the browser-use repo",
llm=ChatBrowserUse(model='openai/gpt-5.5'),
# llm=ChatBrowserUse(model='bu-2-0'), # Browser Use's optimized model
# llm=ChatOpenAI(model='gpt-5.5'),
# llm=ChatAnthropic(model='claude-opus-4-8'), # Sonnet also works well.
)
history = await agent.run()
if __name__ == "__main__":
asyncio.run(main())
Check out the library docs and the [cloud docs](https://docs.cloud.browser-use.com?u