Composio SDK with Claude Code: Connect 250+ APIs in Minutes
Connect Claude Code to 250+ APIs using Composio SDK. Build AI agents that send emails, create GitHub issues, and post to Slack — not just generate text.
You want Claude to actually send emails, create GitHub issues, and post to Slack — not just tell you what to type. But building API integrations for every tool means weeks of auth flows, error handling, and rate limiting.
Who it's for: developers building AI agents that interact with real tools, automation engineers connecting AI to business workflows, indie hackers building AI-powered products, teams integrating Claude into existing toolchains, AI application developers
Example
"Build an AI agent that monitors GitHub PRs and posts review summaries to Slack" → Working agent with Composio SDK connecting Claude to GitHub and Slack APIs, handling auth, and executing real actions — not just generating text
CLAUDE.md Template
New here? 3-minute setup guide → | Already set up? Copy the template below.
npx ccplaybooks add composio-sdk# Composio SDK
Build AI agents and applications with access to 200+ external tools. Composio provides two primary approaches for integration.
## Two Development Approaches
### Tool Router (Agent Development)
For chat-based or autonomous agents that need access to external tools like Gmail, Slack, and GitHub.
**Features:**
- Session-based user isolationGet new playbooks like this one
One email a week with new Claude Code workflows. Free, like everything here.
No spam. Unsubscribe anytime.
What This Does
Build AI agents and applications with access to 200+ external tools like Gmail, Slack, GitHub, and more. Choose between Tool Router for agent development or Direct Execution for traditional applications.
Quick Start
Step 1: Create a Composio Project
mkdir -p ~/Projects/composio-agent
Step 2: Download the Template
Click Download above, then:
mv ~/Downloads/CLAUDE.md ~/Projects/composio-agent/
Step 3: Start Building
cd ~/Projects/composio-agent
claude
Then say: "Help me build an AI agent that can send emails and create GitHub issues"
Two Approaches
| Approach | Best For | Features |
|---|---|---|
| Tool Router | AI Agents | Session isolation, auto-auth, MCP-compatible |
| Direct Execution | Traditional Apps | Manual control, CRUD operations, webhooks |
Tool Router (Agent Development)
For chat-based or autonomous agents:
- Session-based user isolation
- Dynamic toolkit configuration
- Automatic authentication management
- MCP-compatible server URLs
- Real-time event handling with triggers
Direct Execution (App Development)
For traditional applications:
- Manual tool execution control
- CRUD operations for accounts
- Custom tool creation
- Pre/post-execution hooks
- Event-driven workflows
Supported Integrations
| Category | Examples |
|---|---|
| Communication | Gmail, Slack, Discord, Teams |
| Development | GitHub, GitLab, Jira, Linear |
| Productivity | Notion, Google Docs, Confluence |
| CRM | Salesforce, HubSpot, Pipedrive |
| Storage | Google Drive, Dropbox, OneDrive |
Example Prompts
- "Create an agent that monitors GitHub PRs and posts to Slack"
- "Build a workflow that syncs Notion with Google Sheets"
- "Set up an agent to auto-respond to Gmail inquiries"
- "Create a multi-tool agent with calendar and email access"
Key Concepts
User Sessions
- Isolate tool access per user
- Manage authentication flows
- Handle multi-tenant scenarios
Triggers
- React to external events
- Webhook-based notifications
- Real-time event handling
Tips
- Start with Tool Router: Easier for agent development
- Handle auth flows: First-time users need OAuth
- Use session isolation: Keep user data separate
- Check rate limits: External APIs have constraints