# Composio — 250+ Tool Integrations for AI Agents > Connect AI agents to 250+ tools (GitHub, Slack, Gmail, Jira, etc.) with managed auth and natural language actions. Works with LangChain, CrewAI, and OpenAI. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash pip install composio-core composio-openai composio login composio add github # OAuth flow in browser ``` ```python from composio_openai import ComposioToolSet, Action from openai import OpenAI toolset = ComposioToolSet() tools = toolset.get_tools(actions=[Action.GITHUB_STAR_A_REPOSITORY]) client = OpenAI() response = client.chat.completions.create( model="gpt-4o", tools=tools, messages=[{"role": "user", "content": "Star the composio repo on GitHub"}], ) toolset.handle_tool_calls(response) ``` ## What is Composio? Composio provides plug-and-play tool integrations for AI agents. Instead of building OAuth flows and API wrappers for every service, Composio handles authentication, rate limiting, and action execution — letting agents focus on reasoning. **Answer-Ready**: Composio is an integration platform that connects AI agents to 250+ tools (GitHub, Slack, Gmail, Jira, etc.) with managed authentication and natural language action execution. ## Key Features ### 1. Managed Authentication Composio handles OAuth2, API keys, and JWT for all integrations: ```python # User connects their GitHub account composio add github # Opens browser for OAuth # Agent uses it seamlessly tools = toolset.get_tools(actions=[ Action.GITHUB_CREATE_ISSUE, Action.GITHUB_CREATE_PULL_REQUEST, ]) ``` ### 2. Framework Integrations ```python # LangChain from composio_langchain import ComposioToolSet tools = ComposioToolSet().get_tools(apps=["github", "slack"]) # CrewAI from composio_crewai import ComposioToolSet tools = ComposioToolSet().get_tools(apps=["jira", "linear"]) # Autogen from composio_autogen import ComposioToolSet ``` ### 3. Natural Language Actions ```python # Find actions by description actions = toolset.find_actions_by_use_case( apps=["slack"], use_case="send a message to a channel" ) ``` ### 4. MCP Server Mode ```json { "mcpServers": { "composio": { "command": "composio", "args": ["mcp", "start", "--apps", "github,slack,notion"] } } } ``` ## Supported Apps (Selection) | Category | Apps | |----------|------| | Dev | GitHub, GitLab, Linear, Jira | | Comms | Slack, Discord, Gmail, Outlook | | Docs | Notion, Google Docs, Confluence | | Data | Snowflake, BigQuery, Airtable | | CRM | HubSpot, Salesforce, Close | ## FAQ **Q: Is Composio free?** A: Free tier with 1,000 actions/month. Paid plans for higher volume. **Q: How is it different from Zapier?** A: Composio is agent-native — tools are exposed as function calls for LLMs, not human-triggered workflows. **Q: Can I add custom tools?** A: Yes, via OpenAPI specs or custom Python functions. ## Source & Thanks - GitHub: [ComposioHQ/composio](https://github.com/ComposioHQ/composio) (15k+ stars) - Docs: [docs.composio.dev](https://docs.composio.dev) ## 快速使用 ```bash pip install composio-core composio-openai composio login composio add github ``` 一行代码让 AI 代理连接 GitHub、Slack、Gmail 等 250+ 工具。 ## 什么是 Composio? Composio 为 AI 代理提供即插即用的工具集成。自动处理 OAuth 认证、速率限制和操作执行,让代理专注于推理。 **一句话总结**:Composio 将 250+ 工具(GitHub、Slack、Gmail 等)连接到 AI 代理,提供托管认证和自然语言操作。 ## 核心功能 ### 1. 托管认证 自动处理 OAuth2、API Key 和 JWT。 ### 2. 框架集成 支持 LangChain、CrewAI、Autogen、OpenAI 等主流框架。 ### 3. MCP 服务器模式 可作为 MCP Server 暴露给 Claude Code 等工具。 ### 4. 自然语言查找 用自然语言描述需求,自动匹配可用操作。 ## 常见问题 **Q: 免费吗?** A: 免费层每月 1,000 次操作,付费计划支持更高量级。 **Q: 和 Zapier 有什么区别?** A: Composio 是代理原生的——工具以函数调用暴露给 LLM,而非人工触发的工作流。 ## 来源与致谢 - GitHub: [ComposioHQ/composio](https://github.com/ComposioHQ/composio) (15k+ stars) --- Source: https://tokrepo.com/en/workflows/cf74621a-0188-4222-8c9b-285873183b56 Author: MCP Hub