Star A Repository on Github

In this example, we will use LangGraph Agent to star a repository on Github using Composio Tools

1

Install Packages

2

Import Libraries & Initialize ComposioToolSet & LLM

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

3

Define the model calling function

4

Define the decision function for workflow routing

5

Define the workflow graph

6

Execute the workflow