Composable tools, integrations, and skills for AI agents — connect LLM apps to third-party APIs, SaaS products, triggers, and Model Context Protocol (MCP) workflows with typed SDKs for Node.js, Python, Vercel AI SDK, LangChain, LangGraph, LlamaIndex, OpenAI Agents, Anthropic, Google Gemini, and more.
GitHub (this copy): github.com/warpdot-dev/composio • Upstream mirror reference: ComposioHQ/composio
This monorepo contains the Composio SDKs for building agentic AI applications (org-hosted copy: warpdot-dev/composio): fetching toolkits, managing authentication and connected accounts, orchestrating actions across apps (email, calendars, ticketing, CRM, dev tools, etc.), and shipping production-ready integrations without hand-writing every REST client.
Use it when you are building AI agents, chatbots, automation workflows, RAG pipelines, or MCP servers that need reliable, documented access to external systems.
- Installation (TypeScript)
- Installation (Python)
- Quick examples
- OpenAPI specification updates
- SDK layouts
- Supported AI frameworks & providers
- Published packages
- Rube MCP server
- Contributing
- License & support
npm install @composio/core
# or: yarn add @composio/core
# or: pnpm add @composio/coreInitialize the client (optionally pass apiKey from your Composio dashboard):
import { Composio } from '@composio/core';
const composio = new Composio({
// apiKey: process.env.COMPOSIO_API_KEY,
});Requires Python 3.10+.
pip install composio
# or: poetry add composiofrom composio import Composio
composio = Composio(
# api_key=os.environ["COMPOSIO_API_KEY"],
)Minimal TypeScript / Node:
npm install @composio/openai-agents @openai/agentsimport { Composio } from '@composio/core';
import { OpenAIAgentsProvider } from '@composio/openai-agents';
import { Agent, run } from '@openai/agents';
const composio = new Composio({
provider: new OpenAIAgentsProvider(),
});
const userId = 'user@acme.org';
const tools = await composio.tools.get(userId, {
toolkits: ['HACKERNEWS'],
});
const agent = new Agent({
name: 'Hackernews assistant',
tools: tools,
});
const result = await run(agent, 'What is the latest hackernews post about?');
console.log(JSON.stringify(result.finalOutput, null, 2));Minimal Python:
pip install composio_openai_agents openai-agentsimport asyncio
from agents import Agent, Runner
from composio import Composio
from composio_openai_agents import OpenAIAgentsProvider
composio = Composio(provider=OpenAIAgentsProvider())
user_id = "user@acme.org"
tools = composio.tools.get(user_id=user_id, toolkits=["HACKERNEWS"])
agent = Agent(
name="Hackernews Agent",
instructions="You are a helpful assistant.",
tools=tools,
)
async def main():
result = await Runner.run(
starting_agent=agent,
input="What's the latest Hackernews post about?",
)
print(result.final_output)
asyncio.run(main())Each language workspace has deeper guides and runnable samples under ts/ and python/.
Regenerate SDK-facing API specs from Composio’s backend:
pnpm api:pullThis pulls https://backend.composio.dev/api/v3/openapi.json and refreshes local OpenAPI-derived docs. Builds typically run this step automatically.
| SDK | Folder | Highlights |
|---|---|---|
| TypeScript / JavaScript | ts/ |
Type-safe client, browsers and Node.js, modular provider packages |
| Python | python/ |
Async-friendly APIs, aligns with modern Python tooling |
Links: TypeScript SDK README · Python SDK README
First-class adapters ship for major LLM providers and agent frameworks:
| Provider / Framework | TypeScript | Python |
|---|---|---|
| OpenAI | ✅ | ✅ |
| OpenAI Agents | ✅ | ✅ |
| Anthropic Claude | ✅ | ✅ |
| LangChain | ✅ | ✅ |
| LangGraph | ✅¹ | ✅ |
| LlamaIndex | ✅ | ✅ |
| Vercel AI SDK | ✅ | ❌ |
| Google Gemini | ✅ | ✅ |
| Google ADK | ❌ | ✅ |
| Mastra | ✅ | ❌ |
| Cloudflare Workers AI | ✅ | ❌ |
| CrewAI | ❌ | ✅ |
| AutoGen | ❌ | ✅ |
¹ LangGraph on TypeScript is supported via @composio/langchain.
Missing a stack? Follow the custom provider guide to integrate any framework.
| Artifact | Registry |
|---|---|
@composio/core |
|
composio |
| Package |
|---|
@composio/json-schema-to-zod |
@composio/ts-builders |
Looking for legacy SDK revisions? Browse the master lineage on GitHub (upstream: ComposioHQ/composio master).
Rube is an MCP server built with Composio. It exposes hundreds of integrations (email, messaging, calendars, repositories, docs) to Cursor, VS Code, Claude Desktop, Claude Code, and other MCP-compatible clients — authenticate once, then let your assistant take real actions in connected apps.
Contributions are welcome. Please read CONTRIBUTING.md before opening a PR.
Distributed under the MIT License — see LICENSE.
- Topics: AI agents, autonomous agents, LLM tools, agent toolkits, Composio SDK, MCP, LangChain integrations, LlamaIndex tools, Anthropic Claude tools, OpenAI function calling, SaaS integrations, OAuth for agents, webhook triggers
- GitHub mirrors:
warpdot-dev/composio↔ComposioHQ/composio - Issues or questions: open a GitHub issue, email
support@composio.dev, or browse docs.composio.dev