Browser Search Agent
Give a Groq agent Groq's built-in browser search tool.
Code
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
Set up your virtual environment
uv venv --python 3.12
source .venv/bin/activateSet your API key
export GROQ_API_KEY=xxxInstall dependencies
uv pip install -U groq agnoRun Agent
Save the code above as browser_search.py, then run:
python browser_search.py