内容摘录
<div align="center">
<img src="https://raw.githubusercontent.com/ComposioHQ/composio/next/public/cover.png" alt="Composio Logo" width="auto" height="auto" style="margin-bottom: 20px;"/>
Composio SDK
Skills that evolve for your Agents
🌐 Website • 📚 Documentation
GitHub Stars
PyPI Downloads
NPM Downloads
Discord
</div>
This repository contains the official Software Development Kits (SDKs) for Composio, providing seamless integration capabilities for Python and Typescript Agentic Frameworks and Libraries.
Getting Started
TypeScript SDK Installation
Quick start:
Simple Agent with OpenAI Agents
Python SDK Installation
Quick start:
Simple Agent with OpenAI Agents
For more detailed usage instructions and examples, please refer to each SDK's specific documentation.
Open API Specification
To update the OpenAPI specifications used for generating SDK documentation:
This command pulls the OpenAPI specification from https://backend.composio.dev/api/v3/openapi.json (defined in fern/scripts/pull-openapi-spec.sh) and updates the local API documentation files.
This is pulled automatically with build step.
Available SDKs
TypeScript SDK (/ts)
The TypeScript SDK provides a modern, type-safe way to interact with Composio's services. It's designed for both Node.js and browser environments, offering full TypeScript support with comprehensive type definitions.
For detailed information about the TypeScript SDK, please refer to the TypeScript SDK Documentation.
Python SDK (/python)
The Python SDK offers a Pythonic interface to Composio's services, making it easy to integrate Composio into your Python applications. It supports Python 3.10+ and follows modern Python development practices.
For detailed information about the Python SDK, please refer to the Python SDK Documentation.
Provider Support
The following table shows which AI frameworks and platforms are supported in each SDK:
| Provider | TypeScript | Python |
|----------|:----------:|:------:|
| OpenAI | ✅ | ✅ |
| OpenAI Agents | ✅ | ✅ |
| Anthropic | ✅ | ✅ |
| LangChain | ✅ | ✅ |
| LangGraph | ✅* | ✅ |
| LlamaIndex | ✅ | ✅ |
| Vercel AI SDK | ✅ | ❌ |
| Google Gemini | ✅ | ✅ |
| Google ADK | ❌ | ✅ |
| Mastra | ✅ | ❌ |
| Cloudflare Workers AI | ✅ | ❌ |
| CrewAI | ❌ | ✅ |
| AutoGen | ❌ | ✅ |
\* *LangGraph in TypeScript is supported via the @composio/langchain package.*
**Don't see your provider?** Learn how to build a custom provider to integrate with any AI framework.
Packages
Core Packages
| Package | Version |
|---------|---------|
| **TypeScript** | |
| @composio/core | !npm version |
| **Python** | |
| composio | !PyPI version |
Provider Packages
| Package | Version |
|---------|---------|
| **TypeScript** | |
| @composio/openai | !npm version |
| @composio/openai-agents | !npm version |
| @composio/anthropic | !npm version |
| @composio/langchain | !npm version |
| @composio/llamaindex | !npm version |
| @composio/vercel | !npm version |
| @composio/google | !npm version |
| @composio/mastra | !npm version |
| @composio/cloudflare | !npm version |
| **Python** | |
| composio-openai | !PyPI version |
| composio-openai-agents | !PyPI version |
| composio-anthropic | !PyPI version |
| composio-langchain | !PyPI version |
| composio-langgraph | !PyPI version |
| composio-llamaindex | !PyPI version |
| composio-crewai | !PyPI version |
| composio-autogen | !PyPI version |
| composio-gemini | !PyPI version |
| composio-google | !PyPI version |
| composio-google-adk | !PyPI version |
Utility Packages
| Package | Version |
|---------|---------|
| @composio/json-schema-to-zod | !npm version |
| @composio/ts-builders | !npm version |
_if you are looking for the older sdk, you can find them here_
Rube
Rube is a Model Context Protocol (MCP) server built with Composio. It connects your AI tools to 500+ apps like Gmail, Slack, GitHub, and Notion. Simply install it in your AI client, authenticate once with your apps, and start asking your AI to perform real actions like "Send an email" or "Create a task."
It integrates with major AI clients like Cursor, Claude Desktop, VS Code, Claude Code and any custom MCP‑compatible client. You can switch between these clients and your integrations follow you.
Contributing
We welcome contributions to both SDKs! Please read our contribution guidelines before submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions about the SDKs:
Open an issue in this repository
Contact our support team
Check our documentation