ts/docs/README.md
Composio SDK is a powerful toolkit that enables you to integrate third-party tools and services into your applications. This SDK helps you connect to various services (toolkits), execute tools, and manage user connections seamlessly.
Composio SDK allows you to:
The SDK is designed to be flexible and extensible, allowing you to integrate it into various types of applications.
npm install @composio/core
The Composio SDK is built around several key concepts:
Check out the Core Concepts documentation for more detailed information.
Here's a quick example of how to use the Composio SDK:
import { Composio } from '@composio/core';
// Initialize the SDK
const composio = new Composio({
apiKey: 'your-api-key',
});
// Get tools from a specific toolkit
const tools = await composio.tools.get('default', {
toolkits: ['github'],
});
// Execute a tool
const result = await composio.tools.execute('GITHUB_GET_REPO', {
userId: 'default',
arguments: {
owner: 'composio',
repo: 'sdk',
},
});
console.log(result.data);
For more detailed examples and tutorials, check out the Getting Started guide.
The complete API reference documentation is available here:
Composio SDK comes with built-in support for different providers:
Check out our examples directory for complete code samples:
For SDK maintainers and contributors: