Skip to main content

Star A Repository on GitHub

In this example, we will use Gemini to star a repository on GitHub using Composio Tools
1

Install Packages

Python
2

Import Libraries & Initialize ComposioToolSet & Gemini

Python
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 GEMINI_API_KEY in your environment variables.
4

Get All GitHub Tools & Create Config

You can get all the tools for a given app or specific actions as shown below. Learn more here
Python
5

Execute the Agent

Python