Code
browser_search.py
Usage
1
Set up your virtual environment
2
Set your API key
3
Install dependencies
4
Run Agent
Save the code above as
browser_search.py, then run:Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Give a Groq agent Groq’s built-in browser search tool.
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?")
Set up your virtual environment
uv venv --python 3.12
source .venv/bin/activate
uv venv --python 3.12
.venv\Scripts\activate
Set your API key
export GROQ_API_KEY=xxx
Install dependencies
uv pip install -U groq agno
Run Agent
browser_search.py, then run:python browser_search.py
Was this page helpful?