Star A Repository on GitHub
In this guide, weโll:
- ๐ Connect your GitHub account with Composio
- ๐ Fetch GitHub actions
- ๐ง Pass these actions to an LLM
- โญ Instruct to star the
composiohq/composio repository
- โ
Execute the action
Tools represent a group of actions specific to an app. Actions are operations you can perform - like starring a repo on GitHub or creating an issue in Linear.
Connect Your GitHub Account
Weโll use default as the user id, also known as entity id.
You need to have an active GitHub Integration. Learn how to do this
hereDonโt forget to set your COMPOSIO_API_KEY and OPENAI_API_KEY in your environment variables.
Initialise Composio Toolset and OpenAI
Fetch Github Actions, and pass them to LLM
Composio also supports action executions without LLMs or agents. Learn more. Connect Your GitHub Account
Weโll use default as the user id (entity id).
You need to have an active GitHub Integration. Learn how to do this
here Initialise Composio's OpenAIToolSet and OpenAI
Donโt forget to set your COMPOSIO_API_KEY and OPENAI_API_KEY in your environment variables.
Fetch GitHub Actions & and pass them to LLM
Composio also supports action executions without LLMs or agents. Learn more.
Next Steps
Now that youโve seen how to use tools, you can explore the following resources:
Tools
Checkout our toolset of 250+ LLM ready tools to build powerful AI applications
Connections
Learn how to create and manage connections for your users
Compatible Agentic Frameworks
Integrate with popular agentic frameworks
Triggers
Subscribe to triggers to execute actions automatically
Other Concepts
Learn about workspace environments, using CLI & other concepts