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: