Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Included windows setup
magmueller412825fbaa03
diff --git a/docs/quickstart.mdx b/docs/quickstart.mdxindex f31a47313..451bbcf63 100644--- a/docs/quickstart.mdx+++ b/docs/quickstart.mdx@@ -19,7 +19,11 @@ uv venv --python 3.11and activate it with:```bash+# For Mac/Linux:source .venv/bin/activate++# For Windows:+.venv\Scripts\activate```Install the dependencies:@@ -41,13 +45,16 @@ Then you can use the agent as follows:```python agent.pyfrom langchain_openai import ChatOpenAIfrom browser_use import Agent+from dotenv import load_dotenv+load_dotenv()+import asynciollm = ChatOpenAI(model="gpt-4o")async def main():agent = Agent(- task="Find a one-way flight from Bali to Oman on 12 January 2025 on Google Flights. Return me the cheapest option.",+ task="Compare the price of gpt-4o and DeepSeek-V3",llm=llm,)result = await agent.run()@@ -56,9 +63,10 @@ async def main():asyncio.run(main())```-### Set up your LLM API keys+## Set up your LLM API keys++`ChatOpenAI` and other Langchain chat models require API keys. You should store these in your `.env` file. For example, for OpenAI and Anthropic, you can set the API keys in your `.env` file, such as:-`ChatOpenAI` and other Langchain chat models require specific API keys. For example, for OpenAI and Anthropic, you can set the API keys in your `.env` file, such as.```bash .envOPENAI_API_KEY=