Skip to main content

Star A Repository on Github

In this example, we will use Vercel AI SDK to star a repository on Github using Composio Tools
1

Install Packages

JavaScript
2

Import Libraries & Initialize ComposioToolSet & LLM

JavaScript
3

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
JavaScript
4

Define the Agent

JavaScript
5

Execute the Agent

JavaScript