integrate-web-search
Installation
SKILL.md
Integrate Web Search Tools with AG2 Agents
Overview
The web-search tool provides two functions for AG2 agents:
web_search(query, max_results)— Search the web via DuckDuckGo (no API key needed) and return formatted results with titles, URLs, and snippets.fetch_page(url)— Fetch a web page and extract clean, readable text content using BeautifulSoup.
Installation
Install the required dependencies:
pip install httpx>=0.27 beautifulsoup4>=4.12