> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Browser Search Agent

> Give a Groq agent Groq's built-in browser search tool.

## Code

```python browser_search.py theme={null}
from agno.agent import Agent
from agno.models.groq import Groq

agent = Agent(
    model=Groq(id="openai/gpt-oss-20b"),
    tools=[{"type": "browser_search"}],
)
agent.print_response("Is the Going-to-the-sun road open for public?")
```

## Usage

<Snippet file="create-venv-step.mdx" />

**1. Set your API key**

```bash theme={null}
export GROQ_API_KEY=xxx
```

**2. Install dependencies**

```bash theme={null}
uv pip install -U groq agno
```

**3. Run Agent**

Save the code above as `browser_search.py`, then run:

```bash theme={null}
python browser_search.py
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.