Supported Frameworks
🦙 Using Composio With LlamaIndex
Integrate Composio with LLamaIndex agents to let them seamlessly interact with external apps
Star A Repository on Github
In this example, we will use LLamaIndex Agent to star a repository on Github using Composio Tools
1
Install Packages
2
Import Libraries & Initialize ComposioToolSet & LLM
3
Connect Your GitHub Account
You need to have an active GitHub Integration. Learn how to do this here
Don’t forget to set your COMPOSIO_API_KEY
and OPENAI_API_KEY
in your environment variables.
4
Get All Github Tools
You can get all the tools for a given app as shown below, but you can get specific actions and filter actions using usecase & tags. Learn more here
5
Define the Agent
6
Execute the Agent
Was this page helpful?