Browser Search Agent
Code
1from kern.agent import Agent2from kern.models.groq import Groq34agent = Agent(5 model=Groq(id="openai/gpt-oss-20b"),6 tools=[{"type": "browser_search"}],7)8agent.print_response("Is the Going-to-the-sun road open for public?")Usage
Set up your virtual environment
1uv venv --python 3.122source .venv/bin/activate1uv venv --python 3.122.venv\Scripts\activateSet your API key
1export GROQ_API_KEY=xxxInstall dependencies
1uv pip install -U groq kern-aiRun Agent
1python cookbook/11_models/groq/browser_search.py