Quickstart
This guide covers authenticated tool calling, one of the most core features of Composio. You will learn how to:
- Add tools to your AI agent
- Authenticate the agent/tools for a user
- Call the tools generated by the LLM
Before you start!
Prerequisites
- Ensure you have created an account on Composio and have Python 3.8+ or NodeJS 16+ installed!
- Get your API key from the developer dashboard and set it as an environment variable.
Note!
Ensure you save the API key in a.env
file and don’t commit it to version control!Install the SDK
First and foremost, install the Composio SDK.
Initialise
To use the SDK, you need to initialize it with your API key:
Authorize and run tools
OpenAI (Python)
Anthropic (Typescript)
Vercel AI SDK (Typescript)
OpenAI Agents (Python)
Composio ships with support for OpenAI provider out of the box.
What just happened?
You authenticated your account through Composio and used LLMs to execute tools. Composio handled the OAuth flow and tool execution.