Composio — 250+ Tool Integrations for AI Agents
Composio connects AI agents to 250+ tools (GitHub, Slack, Jira, DBs) with managed auth. 15K+ stars. Python/JS SDK, MCP support. AGPL-3.0.
What it is
Composio connects AI agents to over 250 external tools and services including GitHub, Slack, Jira, databases, Google Workspace, and more. It handles the complexity of OAuth flows, API key management, and rate limiting so your agent can focus on using the tools. Composio provides Python and JavaScript SDKs and supports the Model Context Protocol (MCP).
Composio is designed for developers building AI agents that need to interact with external services without implementing each integration from scratch.
How it saves time or tokens
Integrating an AI agent with external services requires handling OAuth flows, token refresh, API pagination, error handling, and rate limiting for each service. Composio provides pre-built integrations for 250+ services with managed authentication. Adding a new tool integration takes one line of code instead of days of implementation. The managed auth means you do not need to build OAuth callback endpoints or token storage.
How to use
- Install Composio and authenticate:
pip install composio-core
composio login
composio add github
- Use Composio tools in your agent:
from composio import ComposioToolSet, Action
from anthropic import Anthropic
toolset = ComposioToolSet()
tools = toolset.get_tools(actions=[Action.GITHUB_CREATE_ISSUE])
client = Anthropic()
response = client.messages.create(
model='claude-sonnet-4-20250514',
tools=tools,
messages=[{'role': 'user', 'content': 'Create a GitHub issue for the login bug'}],
)
- Composio handles the GitHub API call with your authenticated credentials.
Example
Connecting an agent to multiple services:
from composio import ComposioToolSet, Action
toolset = ComposioToolSet()
# Get tools for multiple services
tools = toolset.get_tools(actions=[
Action.GITHUB_CREATE_ISSUE,
Action.SLACK_SEND_MESSAGE,
Action.JIRA_CREATE_ISSUE,
Action.GMAIL_SEND_EMAIL,
])
# Pass to your LLM - the agent can now:
# - Create GitHub issues
# - Send Slack messages
# - Create Jira tickets
# - Send emails
# All with managed authentication
Related on TokRepo
- AI agent tools — Browse agent development frameworks
- Automation tools — Explore integration and automation tools
Common pitfalls
- Not authenticating services before using them. Run
composio add <service>for each service you want to use. Without authentication, tool calls will fail with permission errors. - Giving the agent too many tools at once. Each tool adds to the LLM context, increasing token usage and potentially confusing the model. Provide only the tools relevant to the current task.
- Not handling tool call failures gracefully. External services can be temporarily unavailable. Add retry logic or fallback behavior for critical tool calls.
- Starting with an overly complex configuration instead of defaults. Begin with the minimal setup, verify it works, then customize incrementally. This approach catches configuration errors early and keeps troubleshooting straightforward.
Frequently Asked Questions
Composio manages OAuth flows, API keys, and token refresh for each service. When you run composio add github, it opens a browser for OAuth authorization. Tokens are stored securely and refreshed automatically.
Yes. Composio provides MCP server support, allowing MCP-compatible AI agents (like Claude Code) to use Composio tools through the Model Context Protocol.
Yes. Composio provides integrations for LangChain, CrewAI, Autogen, and other agent frameworks. The tools are formatted for each framework's tool specification.
Composio has a free tier for individual developers. Paid plans offer more authentication connections, higher rate limits, and team features. The core SDK is open source under AGPL-3.0.
Yes. Composio supports custom actions where you define the API endpoint, parameters, and authentication method. This lets you integrate internal or niche services alongside the 250+ built-in integrations.
Citations (3)
- Composio GitHub— Composio connects AI agents to 250+ tools
- Composio Documentation— Managed authentication for external services
- Composio Integrations— MCP and multi-framework support
Related on TokRepo
Source & Thanks
- GitHub: https://github.com/ComposioHQ/composio (15K+ stars)
- License: AGPL-3.0 (open source, self-hostable)
- Docs: https://docs.composio.dev
- Maintainer: Composio
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.