DuckDuckGoTools toolkit.
Our agent will now be able to use these tools to search the web for information:
1
Create a Python file
2
Add the following code to your Python file
tools.py
3
Create a virtual environment
Open the
Terminal and create a python virtual environment.4
Install libraries
5
Export your OpenAI API key
6
Run Agent