Step-by-step guide for creating and implementing custom tools in PraisonAI, including examples and configuration instructions
praisonai
Packagepraisonai
package. Open your terminal and run the following command:
InternetSearchTool
tools.py
and add the following code to define the InternetSearchTool
:
agents.yaml
and add the following content to configure the agent:
duckduckgo_search
package installed. If not, you can install it using:
- InternetSearchTool
in the agents.yaml file in the tools section.agents.yaml
file should be present in the current directory.
If it doesn’t exist, create it by running the command praisonai --init research about the latest AI News and prepare a detailed report
.
- InternetSearchTool
.