Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

add tab syncing via code group and note for custom browser configuration

Reagan Hsufffe0e3b157b
diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx
index 2a1108307..42876866d 100644
--- a/docs/quickstart.mdx
+++ b/docs/quickstart.mdx
@@ -64,37 +64,32 @@ echo. > .env
</Tab>
</Tabs>
-<Tabs>
-<Tab title="Browser Use Cloud">
-```bash add your key to .env file
+<CodeGroup>
+```bash Browser Use
+# add your key to .env file
BROWSER_USE_API_KEY=
+# Get your API key from https://cloud.browser-use.com/dashboard/api
```
-Get your API key from [Browser Use Cloud](https://cloud.browser-use.com/dashboard/api).
-</Tab>
-<Tab title="Google">
-```bash add your key to .env file
+```bash Google
+# add your key to .env file
GOOGLE_API_KEY=
```
-</Tab>
-<Tab title="OpenAI">
-```bash add your key to .env file
+```bash OpenAI
+# add your key to .env file
OPENAI_API_KEY=
```
-</Tab>
-<Tab title="Anthropic">
-```bash add your key to .env file
+```bash Anthropic
+# add your key to .env file
ANTHROPIC_API_KEY=
```
-</Tab>
-</Tabs>
+</CodeGroup>
-See [Supported Models](/customize/agent/supported-models) for more.
+See [Supported Models](/supported-models) for more.
## 3. Run your first agent
-<Tabs>
-<Tab title="Browser Use">
-```python agent.py
+<CodeGroup>
+```python Browser Use
from browser_use import Agent, ChatBrowserUse
from dotenv import load_dotenv
import asyncio
@@ -110,9 +105,7 @@ async def main():
if __name__ == "__main__":
asyncio.run(main())
```
-</Tab>
-<Tab title="Google">
-```python agent.py
+```python Google
from browser_use import Agent, ChatGoogle
from dotenv import load_dotenv
import asyncio
@@ -128,9 +121,7 @@ async def main():
if __name__ == "__main__":
asyncio.run(main())
```
-</Tab>
-<Tab title="OpenAI">
-```python agent.py
+```python OpenAI
from browser_use import Agent, ChatOpenAI
from dotenv import load_dotenv
import asyncio
@@ -146,9 +137,7 @@ async def main():
if __name__ == "__main__":
asyncio.run(main())
```
-</Tab>
-<Tab title="Anthropic">
-```python agent.py
+```python Anthropic
from browser_use import Agent, ChatAnthropic
from dotenv import load_dotenv
import asyncio
@@ -164,5 +153,6 @@ async def main():
if __name__ == "__main__":
asyncio.run(main())
```
-</Tab>
-</Tabs>
+</CodeGroup>
+
+<Note> Custom browsers can be configured in one line. Check out <a href = "customize/browser/basics">browsers</a> for more. </Note>