composio
SDK for integrating Composio with your applications.
What it is and what it does
Composio is a Python SDK that abstracts away the complexity of connecting AI agents to external applications. Instead of manually building OAuth flows, managing API credentials, or writing tool adapters for each framework, you create a per-user session and retrieve pre-built tool definitions in your agent framework's native format. The SDK handles authentication, session persistence, and runtime tool discovery through meta tools—lightweight abstractions that let agents discover and execute app actions without loading hundreds of tool definitions upfront.
The package integrates with major AI frameworks via separate provider packages. It also exposes a hosted MCP endpoint for Claude, Cursor, and other MCP clients. For event-driven workflows, it supports subscribing to triggers from connected apps and handling webhooks in production.
Use it for:
- Build an AI assistant that reads emails, manages calendars, or sends messages without writing OAuth code.
- Create a multi-tenant SaaS where each user connects their own app accounts within a sandboxed session.
- Set up event-driven automation: subscribe to app events and trigger agent workflows in response.
- Integrate Composio tools into agent pipelines to give agents access to pre-authenticated actions.
- Expose agent capabilities to Claude or Cursor via MCP without managing separate tool registration.
- Prototype multi-step workflows across apps without building custom integrations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Composio provides a Python SDK that connects AI agents to 1000+ pre-authenticated third-party app toolkits, managing per-user sessions, OAuth flows, event triggers, and sandboxed execution.
Yes. Composio is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real pain point: connecting AI agents to external apps without manual OAuth and credential management. It's worth installing if you're building agents that need to act on third-party services. The permissive Apache license removes legal friction. Primary constraint: requires Python 3.10+ and a Composio API key.
Install
composio on PyPI
pip
pip install composiouv
uv add composiopoetry
poetry add composioInstalling composio
Before you install
Low install friction with a pure-Python wheel. Active maintenance: released 3 days ago with 29688 repository stars and a last commit on 2026-08-14. Requires Python 3.10+. Seven runtime dependencies including pydantic, openai, and composio-client.
License in practice
Licensed under Apache Software License (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install composio
from composio import Composio
composio = Composio() # reads COMPOSIO_API_KEY
session = composio.create(user_id="user_123")
tools = session.tools() # OpenAI-format tool definitions
Requires Python 3.10 or later and a valid COMPOSIO_API_KEY environment variable or explicit api_key parameter.
Verify before relying
- Whether all 1000+ toolkits are available in every region or account tier.
- Rate limits or quota constraints on tool execution or session creation.
- Latency characteristics for meta-tool discovery and authentication flows.
- Data residency or compliance certifications for the hosted MCP endpoint.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (<4,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — pysher, pydantic, composio-client, typing-extensions, openai, json-schema-to-pydantic, jsonschema |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,899,200/month — #3,445 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: composio-0.19.0-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
composio-coreComposio-core bridges AI agents to external…
permissive · top 15,000 on PyPI
composio-openai-agentsBridges Composio's tool catalog to OpenAI's…
permissive · top 15,000 on PyPI
composio-langchainBridges Composio's 1000+ app integrations into…
permissive · top 15,000 on PyPI
composio-openaiBridges Composio's tool ecosystem to OpenAI's…
permissive · top 15,000 on PyPI
composio-clientA Python client library for the Composio REST…
permissive · top 5,000 on PyPI
alita-sdkAlita SDK provides a Python framework for…
permissive · top 15,000 on PyPI
mistralai-vibe-sdkPython SDK for building and running Vibe agents…
unclear · top 15,000 on PyPI
googleauthenticationA meta package for connecting Python…
permissive · top 15,000 on PyPI
orq-ai-sdkA type-safe Python SDK for the orq.ai API,…
unclear · top 15,000 on PyPI
plato-sdk-v2Python SDK for the Plato platform that manages…
permissive · top 15,000 on PyPI