Launch HN: Browser Use (YC W25) – open-source web agents
Published on: 2025-11-21 12:45:17
Enable AI to control your browser 🤖
🌐 Browser-use is the easiest way to connect your AI agents with the browser.
💡 See what others are building and share your projects in our Discord - we'd love to see what you create!
🌩️ Skip the setup - try our hosted version for instant browser automation! Try it now.
Quick start
With pip (Python>=3.11):
pip install browser-use
install playwright:
playwright install
Spin up your agent:
from langchain_openai import ChatOpenAI from browser_use import Agent import asyncio from dotenv import load_dotenv load_dotenv () async def main (): agent = Agent ( task = "Go to Reddit, search for 'browser-use', click on the first post and return the first comment." , llm = ChatOpenAI ( model = "gpt-4o" ), ) result = await agent . run () print ( result ) asyncio . run ( main ())
Add your API keys for the provider you want to use to your .env file.
OPENAI_API_KEY=
For other settings, models, and more, check out the documentation 📕.
Test with UI
You can
... Read full article.