Install Packages & Connect a Tool
These commands prepare your environment for seamless interaction between PraisonAI and GitHub.Goal: Use PraisonAI Agent to Interact with Github using Composio
1
Import Base Packages
Prepare your environment by initializing necessary imports from PraisonAI and setting up your client.
2
Write the Praison-supported Composio Tools in `tools.py` file.
This step involves fetching and integrating GitHub tools provided by Composio, and writing them in PraisonAI supported Format, returning the name of tools in a format, that should be added to
agents.yml file.3
Define the `agents.yml` either in a separate file, or in your script.
This step involves configuring and executing the agent to carry out actions, such as starring a GitHub repository.
4
Run the PraisonAI Agents to execute the goal/task.
Here you initialize PraisonAI class, and execute.