Other Frameworks
Using Composio With Vercel AI SDK
Integrate Composio with Vercel AI SDK to let them seamlessly interact with external apps
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
Was this page helpful?