I was really suffering through the documentation of LlamaIndex to teach my agent how to search the Internet. But now its working.
You start with installing the package. This is usually not included in the documentation and results in a “module not found” error.
pip install llama_index.tools.duckduckgo
Then you can easily import the SearchTool with this sta…