Quickstart
Add composio tools to your AI agents
This guide walks you through authenticated tool calling—the foundation of how Composio connects your AI agents to real-world actions.
You’ll learn how to:
- Discover and add tools relevant to your use case (e.g., Slack, GitHub, Notion) to your AI agent
- Authenticate tools securely on behalf of a specific user, with fine-grained access control
- Enable your LLM (like OpenAI, Claude, or LangChain) to invoke these tools reliably using structured tool call formats
Prerequisites
Before you begin, ensure you have:
- A Composio account - Sign up here if you haven’t already
- Python 3.10+ or Node.js 18+ installed on your system
- Your API key - Get it from the developer dashboard and set it as an environment variable:
Install the SDK
First, install the Composio SDK for your preferred language:
Authorize Tools & Run Them with an Agent
Composio supports multiple LLM providers. Here’s how to use Composio with some of the most popular ones:
OpenAI Agent(Python)
Anthropic (TypeScript)
Vercel AI SDK (Typescript)
Install the OpenAI Agents provider!
Installation
Python
What just happened?
You just:
- Authorized a user account with Composio
- Passed those tool permissions into an LLM framework
- Let the LLM securely call real tools on the user’s behalf
All OAuth flows and tool execution were automatically handled by Composio.