Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 23, 00:30 UTC
added dev setup doc (#1625)
Siddharth Balyan committed
Jun 12, 2025 at 07:55 UTC
f1202b4f23512d4232eac95c05d7a7ed464f51cb
6 files changed
+104
-94
.github/workflows/preview_docs.yml
+1
-1
@@ -30,7 +30,7 @@ jobs:
30
uv run composio apps generate-types
31
32
- name: Generate Tool Documentation
33
- run: pnpm tools:generate
33
+ run: pnpm tools:generate && pnpm tools:uncomment
34
35
- name: Generate SDK Reference
36
run: pnpm sdkdocs
.github/workflows/publish_docs.yml
+1
-1
@@ -30,7 +30,7 @@ jobs:
30
uv run composio apps generate-types
31
32
- name: Generate Tool Documentation
33
- run: pnpm tools:generate
33
+ run: pnpm tools:generate && pnpm tools:uncomment
34
35
- name: Generate SDK Reference
36
run: pnpm sdkdocs
fern/assets/images/cursor-settings.png
Binary files /dev/null and b/fern/assets/images/cursor-settings.png differ
fern/docs.yml
+3
-3
@@ -133,9 +133,9 @@ navigation:
133
- page: Quickstart
134
path: pages/get-started/quickstart.mdx
135
slug: quickstart
136
- - page: Configuration
137
- path: pages/get-started/configuration.mdx
138
- slug: configuration
136
+ - page: IDE and Agent Setup
137
+ path: pages/get-started/dev-setup.mdx
138
+ slug: dev-setup
139
- page: Providers
140
path: pages/get-started/providers.mdx
141
slug: providers
fern/pages/get-started/configuration.mdx
deleted
-89
@@ -1,89 +0,0 @@
1
----
2
-title: Configuration
3
-slug: /docs/configuration
4
-image: "" # image for socials
5
-keywords: ""
6
-hide-nav-links: false
7
----
8
-
9
-This guide explains how to configure the Composio SDK using the environment variables.
10
-
11
-## Environment Variables
12
-
13
-The SDK supports several environment variables for configuration:
14
-
15
-### Core Configuration
16
-- `COMPOSIO_API_KEY`: Your Composio API key
17
- - Required for authentication
18
- - Can be obtained from [Composio Dashboard](https://app.composio.dev)
19
- - Can also be set via SDK initialization.
20
-- `COMPOSIO_BASE_URL`: Custom API base URL
21
- - Optional
22
- - Default: `https://backend.composio.dev`
23
- - Use this to point the SDK to a different API endpoint
24
-
25
-<Note>
26
-The API key and base URL can also be set while initializing the SDK.
27
-</Note>
28
-
29
-### Logging Configuration
30
-
31
-- `COMPOSIO_LOG_LEVEL`: Controls the verbosity of SDK logs
32
- - Values: `silent`, `error`, `warn`, `info`, `debug`
33
- - Default: `info`
34
- - Hierarchy (from highest to lowest priority):
35
- - `silent`: No logs
36
- - `error`: Only critical errors
37
- - `warn`: Warnings and errors
38
- - `info`: General information, warnings, and errors
39
- - `debug`: Detailed debugging information
40
-
41
-### Development and Testing
42
-
43
-- `NODE_ENV`: Environment mode
44
-
45
- - Values: `development`, `production`, `test`
46
- - Affects:
47
- - Telemetry collection (disabled in development/test)
48
- - Error handling verbosity
49
- - Version check notifications
50
-
51
-- `DEVELOPMENT`: Development mode flag
52
-
53
- - Set to any value to enable development mode
54
- - Enables additional debugging features
55
- - Shows more verbose logs
56
-
57
-- `CI`: CI environment flag
58
- - Set to any value to indicate CI environment
59
- - Affects certain behaviors like version checks
60
-
61
-### Telemetry
62
-
63
-- `COMPOSIO_DISABLE_TELEMETRY`: Disable telemetry collection
64
- - Set to `"true"` to disable
65
- - Default: `"false"`
66
- - Alternative to `allowTracking` initialization option
67
-
68
-## SDK Initialization Options
69
-
70
-When initializing the SDK, you can provide configuration through the constructor:
71
-
72
-```typescript
73
-const composio = new Composio({
74
- apiKey: 'your-api-key', // Override COMPOSIO_API_KEY
75
- baseURL: 'custom-url', // Override COMPOSIO_BASE_URL
76
- allowTracking: false, // Disable telemetry
77
- allowTracing: true, // Enable tracing
78
- provider: new CustomProvider(), // Custom provider
79
- telemetryTransport: customTransport, // Custom telemetry transport
80
-});
81
-```
82
-
83
-### Configuration Priority
84
-
85
-When multiple configuration sources are present, the SDK follows this priority order:
86
-
87
-1. Constructor parameters
88
-2. Environment variables
89
-3. Default values
\ No newline at end of file
fern/pages/get-started/dev-setup.mdx
new
+99
@@ -0,0 +1,99 @@
1
+---
2
+title: IDE and Agent Setup
3
+subtitle: "Setup your AI IDE and agent to help you ship faster with Composio"
4
+slug: /docs/dev-setup
5
+image: "" # image for socials
6
+keywords: ""
7
+hide-nav-links: false
8
+---
9
+
10
+This guide explains how to setup your IDE, and coding agents to help you ship faster with Composio.
11
+
12
+## Generate types for tools
13
+<CodeGroup>
14
+```typescript TypeScript maxLines=60 wordWrap
15
+
16
+```
17
+
18
+```python Python maxLines=60 wordWrap
19
+
20
+```
21
+</CodeGroup>
22
+
23
+## Optimise Cursor
24
+To optimize your experience building with Composio, you can add instructions to Cursor's system settings.
25
+
26
+<Frame>
27
+<img src="../../assets/images/cursor-settings.png" alt="Cursor settings" />
28
+</Frame>
29
+
30
+Add the following to your Cursor "Rules for AI":
31
+
32
+<CodeGroup>
33
+```md TypeScript
34
+You are the best TypeScript developer known for your high taste and usage of new and cutting-edge practices.
35
+You are building with Composio's TypeScript SDK. Composio is platform for building with authenticated tools for AI agents and workflows.
36
+It lets you build agents that that can work across a user's apps like Gmail, Notion, Slack.
37
+
38
+Below is a list of Composio documentation. Use your web and fetch capabilities to read the documentation you need.
39
+[Composio Documentation](https://v3.docs.composio.dev)
40
+- [Quickstart](https://v3.docs.composio.dev/docs/quickstart.mdx): Add authenticated tool-calling to any LLM agent in three steps.
41
+- [Configuration](https://v3.docs.composio.dev/docs/configuration.mdx)
42
+- [Providers](https://v3.docs.composio.dev/docs/toolsets.mdx)
43
+- [Executing Tools](https://v3.docs.composio.dev/docs/executing-tools.mdx): Learn how to execute Composio's tools with different providers and frameworks
44
+- [Authenticating Tools](https://v3.docs.composio.dev/docs/authenticating-tools.mdx): Learn how to authenticate tools
45
+- [Fetching and Filtering Tools](https://v3.docs.composio.dev/docs/fetching-tools.mdx): Learn how to fetch and filter Composio's tools and toolsets
46
+- [Schema Modifiers](https://v3.docs.composio.dev/docs/modifiers/schema-modifiers.mdx): Learn how to use schema modifiers to transform tool schemas before they are seen by agents.
47
+- [Before Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/before-execution.mdx): Learn how to use before execution modifiers to modify tool arguments before execution.
48
+- [After Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/after-execution.mdx): Learn how to use after execution modifiers to transform tool results after execution.
49
+- [Creating custom tools](https://v3.docs.composio.dev/docs/custom-tools.mdx): Learn how to extend Composio's toolkits with your own tools
50
+- [Custom Auth Configs](https://v3.docs.composio.dev/docs/custom-auth-configs.mdx): Guide to using customising auth configs for a toolkit
51
+- [Programmatic Auth Configs](https://v3.docs.composio.dev/docs/programmatic-auth-configs.mdx): Guide to creating auth configs programmatically
52
+- [Custom Auth Parameters](https://v3.docs.composio.dev/docs/custom-auth-params.mdx): Guide to injecting custom credentials in headers or parameters for a toolkit
53
+- [Using Triggers](https://v3.docs.composio.dev/docs/using-triggers.mdx): Send payloads to your system based on external events
54
+- [OpenAI Providers](https://v3.docs.composio.dev/providers/openai.mdx)
55
+- [Anthropic Provider](https://v3.docs.composio.dev/providers/anthropic.mdx)
56
+- [LangGraph Provider](https://v3.docs.composio.dev/providers/langgraph.mdx)
57
+- [CrewAI Provider](https://v3.docs.composio.dev/providers/crewai.mdx)
58
+- [Vercel AI SDK Provider](https://v3.docs.composio.dev/providers/vercel.mdx)
59
+- [Google ADK Provider](https://v3.docs.composio.dev/providers/google-adk.mdx)
60
+- [OpenAI Agents Provider](https://v3.docs.composio.dev/providers/openai-agents.mdx)
61
+- [Mastra Provider](https://v3.docs.composio.dev/providers/mastra.mdx)
62
+- [Custom Providers](https://v3.docs.composio.dev/toolsets/custom.mdx)
63
+
64
+```
65
+
66
+```md Python
67
+You are the best Python developer known for your high taste and usage of new and cutting-edge practices.
68
+You are building with Composio's Python SDK. Composio is platform for building with authenticated tools for AI agents and workflows.
69
+It lets you build agents that that can work across a user's apps like Gmail, Notion, Slack.
70
+
71
+Below is a list of Composio documentation. Use your web and fetch capabilities to read the documentation you need.
72
+[Composio Documentation](https://v3.docs.composio.dev)
73
+- [Quickstart](https://v3.docs.composio.dev/docs/quickstart.mdx): Add authenticated tool-calling to any LLM agent in three steps.
74
+- [Configuration](https://v3.docs.composio.dev/docs/configuration.mdx)
75
+- [Providers](https://v3.docs.composio.dev/docs/toolsets.mdx)
76
+- [Executing Tools](https://v3.docs.composio.dev/docs/executing-tools.mdx): Learn how to execute Composio's tools with different providers and frameworks
77
+- [Authenticating Tools](https://v3.docs.composio.dev/docs/authenticating-tools.mdx): Learn how to authenticate tools
78
+- [Fetching and Filtering Tools](https://v3.docs.composio.dev/docs/fetching-tools.mdx): Learn how to fetch and filter Composio's tools and toolsets
79
+- [Schema Modifiers](https://v3.docs.composio.dev/docs/modifiers/schema-modifiers.mdx): Learn how to use schema modifiers to transform tool schemas before they are seen by agents.
80
+- [Before Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/before-execution.mdx): Learn how to use before execution modifiers to modify tool arguments before execution.
81
+- [After Execution Modifiers](https://v3.docs.composio.dev/docs/modifiers/after-execution.mdx): Learn how to use after execution modifiers to transform tool results after execution.
82
+- [Creating custom tools](https://v3.docs.composio.dev/docs/custom-tools.mdx): Learn how to extend Composio's toolkits with your own tools
83
+- [Custom Auth Configs](https://v3.docs.composio.dev/docs/custom-auth-configs.mdx): Guide to using customising auth configs for a toolkit
84
+- [Programmatic Auth Configs](https://v3.docs.composio.dev/docs/programmatic-auth-configs.mdx): Guide to creating auth configs programmatically
85
+- [Custom Auth Parameters](https://v3.docs.composio.dev/docs/custom-auth-params.mdx): Guide to injecting custom credentials in headers or parameters for a toolkit
86
+- [Using Triggers](https://v3.docs.composio.dev/docs/using-triggers.mdx): Send payloads to your system based on external events
87
+- [OpenAI Providers](https://v3.docs.composio.dev/providers/openai.mdx)
88
+- [Anthropic Provider](https://v3.docs.composio.dev/providers/anthropic.mdx)
89
+- [LangGraph Provider](https://v3.docs.composio.dev/providers/langgraph.mdx)
90
+- [CrewAI Provider](https://v3.docs.composio.dev/providers/crewai.mdx)
91
+- [Vercel AI SDK Provider](https://v3.docs.composio.dev/providers/vercel.mdx)
92
+- [Google ADK Provider](https://v3.docs.composio.dev/providers/google-adk.mdx)
93
+- [OpenAI Agents Provider](https://v3.docs.composio.dev/providers/openai-agents.mdx)
94
+- [Mastra Provider](https://v3.docs.composio.dev/providers/mastra.mdx)
95
+- [Custom Providers](https://v3.docs.composio.dev/toolsets/custom.mdx)
96
+```
97
+</CodeGroup>
98
+
99
+