Composio Quick Start

In this guide weโ€™ll use GitHub tools to star a repo on GitHub.

1

Install Libraries

2

Connect Your GitHub Account

Weโ€™ll use Jessica as the user id (entity id).

You need to have an active GitHub Integration. Learn how to do this here

Donโ€™t forget to set your COMPOSIO_API_KEY and OPENAI_API_KEY in your environment variables.

3

Initialize Composio and OpenAI

4

Fetch Github Actions, and pass them to LLM

Composio also supports action executions without LLMs or agents. Learn more.

5

Execute Tool Calls

What Just Happened? ๐ŸŽ‰

Congratulations! Youโ€™ve just:

  1. ๐Ÿ” Connected your GitHub account with Composio
  2. ๐Ÿ›  Fetched GitHub actions
  3. ๐Ÿง  Passed these actions to an AI language model
  4. โญ Instructed the AI to star the composiohq/composio repository
  5. โœ… Successfully executed the action on GitHub

Next Steps

Now that youโ€™ve seen how to use tools, you can explore the following resources: