π Using Composio With PraisonAI
Integrate Composio with PraisonAI agents to let them seamlessly interact with external apps
Composio enables your PraisonAI agents to connect with many tools!
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
Import Base Packages
Prepare your environment by initializing necessary imports from PraisonAI and setting up your client.
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.
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.
Run the PraisonAI Agents to execute the goal/task.
Here you initialize PraisonAI class, and execute.