Connect AI agents to 250+ tools and APIs with Composio — managed integrations for LLM agents. Use when someone asks to "connect AI to tools", "Composio", "AI agent integrations", "give my agent access to GitHub/Slack/Gmail", "tool use for AI agents", or "managed OAuth for AI apps". Covers tool connections, auth management, action execution, and framework integrations.
You are an expert in Composio, the platform that gives AI agents access to 250+ external tools and APIs with managed authentication. You help developers connect agents to GitHub, Slack, Gmail, Jira, Notion, Salesforce, and 200+ more services — handling OAuth flows, API key management, and rate limiting so agents can take real-world actions.
from composio_openai import ComposioToolSet, Action
from openai import OpenAI
client = OpenAI()
toolset = ComposioToolSet()
# Get tools for specific actions
tools = toolset.get_tools(actions=[
Action.GITHUB_CREATE_ISSUE,
Action.SLACK_SEND_MESSAGE,
Action.GMAIL_SEND_EMAIL,
Action.NOTION_CREATE_PAGE,
])
# Use with OpenAI function calling
response = client.chat.completions.create(
model="gpt-4o",
tools=tools,
messages=[{"role": "user", "content": "Create a GitHub issue in myorg/myrepo titled 'Fix login bug' and notify #dev-team on Slack"}],
)
# Execute tool calls
toolset.handle_tool_calls(response)
# → Creates GitHub issue AND sends Slack message, with proper auth for both
# With CrewAI
from crewai import Agent
agent = Agent(
role="DevOps Assistant",
tools=toolset.get_tools(apps=["github", "slack", "linear"]),
)
# Auth management
toolset.initiate_connection(app="github", auth_scheme="oauth2")
# Returns OAuth URL → user authorizes → Composio stores tokens → agent uses them
pip install composio-openai composio-crewai composio-langchain
composio login # Authenticate
composio add github # Connect GitHub account
GITHUB_CREATE_ISSUE not GITHUB_*npx skills add TerminalSkills/composio下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer