Overview
Integration details
| Class | Package | Serializable | JS support | Version |
|---|---|---|---|---|
| Composio | composio-langchain | ❌ | ✅ |
Tool features
- 500+ Tool Access: Pre-built integrations for GitHub, Slack, Gmail, Jira, Notion, and more
- Authentication Management: Handles OAuth flows, API keys, and authentication state
- Event-Driven Workflows: Trigger agents based on external events (new Slack messages, GitHub issues, etc.)
- Fine-Grained Permissions: Control tool access and data exposure per user
- Custom Tool Support: Add proprietary APIs and internal tools
Setup
The integration lives in thecomposio-langchain package.
Credentials
You’ll need a Composio API key. Sign up for free at composio.dev to get your API key.Set API key
Enable tracing
Instantiation
Initialize Composio with the LangChain provider and get tools from specific toolkits. Each toolkit represents a service (e.g., GitHub, Slack) with multiple tools (actions you can perform).Initialize Composio
Available toolkits
Composio provides toolkits for various services: Productivity: GitHub, Slack, Gmail, Jira, Notion, Asana, Trello, ClickUp Communication: Discord, Telegram, WhatsApp, Microsoft Teams Development: GitLab, Bitbucket, Linear, Sentry Data & Analytics: Google Sheets, Airtable, HubSpot, Salesforce And 100+ more…Invocation
Get tools from multiple toolkits
You can load tools from multiple services at once:Get specific tools
Instead of entire toolkits, you can load specific tools:User-specific tools
Composio supports multi-user scenarios with user-specific authentication:Use within an agent
Here’s a complete example using Composio tools with a LangChain agent to interact with GitHub:Agent with Composio tools