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.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install da7c97a3-7d95-41c9-8def-32aa87ff81ce --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
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.
Preguntas frecuentes
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.
Referencias (3)
- Composio GitHub— Composio connects AI agents to 250+ tools
- Composio Documentation— Managed authentication for external services
- Composio Integrations— MCP and multi-framework support
Relacionados en TokRepo
Fuente y agradecimientos
- GitHub: https://github.com/ComposioHQ/composio (15K+ stars)
- License: AGPL-3.0 (open source, self-hostable)
- Docs: https://docs.composio.dev
- Maintainer: Composio
Discusión
Activos relacionados
Crit — GitHub-style Inline Comments for Agents
Crit opens files and git diffs in a browser for GitHub-style inline comments and round diffs; verified 322★ and includes `/crit` integrations for agents.
Agent Safehouse — Sandbox macOS Coding Agents
Agent Safehouse sandboxes local coding agents on macOS using sandbox-exec deny-first profiles, limiting access to only approved files and integrations.
Portkey AI Gateway — Route to 250+ LLMs
Portkey AI Gateway routes to 250+ LLMs with sub-1ms latency, 40+ guardrails, retries, fallbacks, and caching. 11.1K+ stars. Apache 2.0.
Nango — Open-Source Platform for Product API Integrations
Nango is an open-source unified API platform that handles OAuth flows, token refresh, rate limiting, and data syncing for 250+ third-party APIs so developers can ship product integrations faster.