DuckDuckGoSearchTool with AG2 Agents.
Configuration
DuckDuckGo Search does not require an API key, making it simple to set up.Package Installation
To get started with theDuckDuckGo Search integration in AG2, you need
to install the necessary package:
Install AG2 with openai and duckduckgo extras:
Note: If you have been usingYou’re all set! Now you can start using DuckDuckGo Search with AG2.autogenorag2, all you need to do is upgrade it using:orasautogen, andag2are aliases for the same PyPI package.
Implementation
TheDuckDuckGoSearchTool enables agents to perform real time web
searches.