@devries-cameron20 / composio Mirror · read-only / commits / 0fa42a9ba
Fork 0

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

fix: update image URLs in documentation for consistency

balyan.sid@gmail.com committed Jun 18, 2025 at 23:24 UTC 0fa42a9bac321908628665aed684cfee1a1a4b46
14 files changed +63 -86
fern/pages/src/authentication/custom-auth-configs.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: Custom Auth Configs
3 -image: 'https://og.composio.dev/api/og?title=Custom%20Auth%20Configs' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Custom%20Auth%20Configs" # image for socials
4 subtitle: 'Guide to using customising auth configs for a toolkit '
5 keywords: ''
6 hide-nav-links: true
fern/pages/src/examples/vercel-composio.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: Full Stack Chat App
3 -image: 'https://og.composio.dev/api/og?title=Full%20Stack%20Chat%20App' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Full%20Stack%20Chat%20App" # image for socials
4 keywords: ''
5 hide-nav-links: false
6 ---
fern/pages/src/get-started/dev-setup.mdx
+1 -1
@@ -2,7 +2,7 @@
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: 'https://og.composio.dev/api/og?title=IDE%20and%20Agent%20Setup' # image for socials
5 +image: "https://og.composio.dev/api/og?title=IDE%20and%20Agent%20Setup" # image for socials
6 keywords: ''
7 hide-nav-links: false
8 ---
fern/pages/src/get-started/providers.mdx
+13 -25
@@ -1,6 +1,6 @@
1 ---
2 title: Providers
3 -image: 'https://og.composio.dev/api/og?title=Providers' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Providers" # image for socials
4 keywords: ''
5 hide-nav-links: false
6 ---
@@ -34,19 +34,16 @@ OpenAI is a completion provider. You can use it to generate text, function calls
34 ```typescript TypeScript
35 import { Composio } from "@composio/core";
36 import { OpenAIProvider } from "@composio/openai";
37 -import { OpenAI } from "openai";
37
39 -const composio = new Composio({
40 -provider: new OpenAIProvider(),
41 -});
38 +const composio = new Composio({ provider: new OpenAIProvider() });
39
43 -````
40 +```
41 ```python Python
42 from composio import Composio
43 from composio_openai import OpenAIProvider
44
45 composio = Composio(provider=OpenAIProvider())
49 -````
46 +```
47
48 </CodeGroup>
49 </Tab>
@@ -58,37 +55,29 @@ import { Composio } from "@composio/core";
55 import { AnthropicProvider } from "@composio/anthropic";
56 import { Anthropic } from "@anthropic-ai/sdk";
57
61 -const composio = new Composio({
62 -provider: new AnthropicProvider(),
63 -});
64 -
65 -const anthropic = new Anthropic();
58 +const composio = new Composio({ provider: new AnthropicProvider() });
59
67 -````
60 +```
61 ```python Python
62 from composio import Composio
63 from composio_anthropic import AnthropicProvider
64
65 composio = Composio(provider=AnthropicProvider())
73 -````
66 +```
67
68 </CodeGroup>
69 </Tab>
70 <Tab title="Vercel AI SDK">
71 ```typescript TypeScript
72 import { Composio } from "@composio/core";
80 -import { generateText } from "ai";
81 -import { anthropic } from "@ai-sdk/anthropic";
73 import { VercelProvider } from "@composio/vercel";
74
84 -const userId = "00000000-0000-0000-0000-000000000000"; // The user's ID.
85 -
75 const composio = new Composio({
87 -apiKey: process.env.COMPOSIO_API_KEY,
88 -provider: new VercelProvider(),
76 + apiKey: process.env.COMPOSIO_API_KEY,
77 + provider: new VercelProvider(),
78 });
79
91 -````
80 +```
81 </Tab>
82 <Tab title="Mastra">
83 ```typescript TypeScript
@@ -101,7 +90,7 @@ const composio = new Composio({
90 provider: new MastraProvider(),
91 });
92
104 -````
93 +```
94
95 </Tab>
96 <Tab title="OpenAI Agents">
@@ -182,6 +171,5 @@ composio = Composio(provider=OpenAIAgentsProvider())
171 </CardGroup>
172
173 <Tip title="Custom Toolsets" icon="puzzle">
185 -Using a framework not supported? Create a [custom toolset](/toolsets/custom)!
186 -</Tip>
187 -```
174 +Using a framework not supported? Create a [custom provider](/providers/custom)!
175 +</Tip>
\ No newline at end of file
fern/pages/src/get-started/quickstart.mdx
+2 -2
@@ -26,10 +26,10 @@ export COMPOSIO_API_KEY=your_api_key
26 ## Install the SDK
27 First and foremost, install the Composio SDK.
28 <CodeGroup>
29 -```typescript TypeScript
29 +```bash title="TypeScript" for="typescript"
30 npm install @composio/core@next
31 ```
32 -```python Python
32 +```bash title="Python" for="python"
33 pip install composio
34 ```
35 </CodeGroup>
fern/pages/src/get-started/welcome.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: Welcome to Composio
3 -image: 'https://og.composio.dev/api/og?title=Welcome%20to%20Composio' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Welcome%20to%20Composio" # image for socials
4 keywords: ''
5 # subtitle: 'Our API and SDKs enable developers to build AI applications and experiences that are a step above the rest.'
6 hide-nav-links: false
fern/pages/src/migration-guide.mdx
+1 -1
@@ -1,7 +1,7 @@
1 ---
2 title: Our next generation SDKs
3 subtitle: Learn more about Composio's next generation SDKs and how to migrate
4 -image: 'https://og.composio.dev/api/og?title=Next%20Generation%20SDKs' # image for socials
4 +image: "https://og.composio.dev/api/og?title=Our%20next%20generation%20SDKs" # image for socials
5 keywords: ''
6 hide-nav-links: true
7 ---
fern/pages/src/providers/custom.mdx
-1
@@ -1,6 +1,5 @@
1 ---
2 title: Custom Providers
3 -slug: /toolsets/custom
3 image: "https://og.composio.dev/api/og?title=Custom%20Providers" # image for socials
4 keywords: ""
5 hide-nav-links: false
fern/pages/src/tool-calling/after-execution-modifiers.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: After Execution Modifiers
3 -image: 'https://og.composio.dev/api/og?title=After%20Execution%20Modifiers' # image for socials
3 +image: "https://og.composio.dev/api/og?title=After%20Execution%20Modifiers" # image for socials
4 keywords: ''
5 subtitle: 'Learn how to use after execution modifiers to transform tool results after execution.'
6 hide-nav-links: false
fern/pages/src/tool-calling/authenticating-tools.mdx
+33 -44
@@ -1,6 +1,6 @@
1 ---
2 title: Authenticating Tools
3 -image: 'https://og.composio.dev/api/og?title=Authenticating%20Tools' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Authenticating%20Tools" # image for socials
4 keywords: ''
5 subtitle: 'Learn how to authenticate tools'
6 hide-nav-links: false
@@ -22,48 +22,37 @@ Once created, it's reusable across multiple users.
22
23 </Note>
24
25 -<Tabs>
26 - <Tab title="Dashboard">
27 - The dashboard offers a guided process for all app types.
28 - <Steps>
29 - <Step title="Select App">
30 - Navigate to the [Apps page](https://app.composio.dev/apps) and choose the app you want to integrate (for example, Google Sheets).
31 - <Frame background="subtle" title="Application Selection Screen">
32 - <img src="../../../assets/images/integration-step-1-0.png" />
33 - </Frame>
34 - </Step>
35 - <Step title="Initiate Setup">
36 - Click the **"Setup Integration"** button.
37 - <Frame background="subtle" title="Auth Config Setup Interface">
38 - <img src="../../../assets/images/integration-step-2-0.png" />
39 - </Frame>
40 - </Step>
41 - <Step title="Configure Auth Config Settings">
42 - Select between the supported auth schemes of OAuth2, API Key, Bearer Token, Basic Auth, depending on the toolkit.
43 - Switch between the auth schemes and configure the scopes, developer credentials, etc here.
44 -
45 - <Note title="Composio Managed Auth" icon="info">
46 - You may also choose to use Composio's managed auth for certain toolkits or use your own auth credentials.
47 - It is recommended to use specify your own credentials for production workloads and ability to control scopes, etc.
48 - </Note>
49 -
50 - <Frame background="subtle" title="Auth Config Settings">
51 - <img src="../../../assets/images/auth-config-creation.png" />
52 - </Frame>
53 - </Step>
54 - <Step title="Create and Get ID">
55 - Click **"Create Integration"**. After creation, **copy the displayed starting with `ac_`**. You'll need this ID in your application code.
56 - </Step>
57 - </Steps>
58 -
59 - </Tab>
60 - <Tab title="CLI">
61 - - [ ] kirimase style auth config builder creator
62 - ```bash
63 - composio auth config create <app-name>
64 - ```
65 - </Tab>
66 -</Tabs>
25 +The dashboard offers a guided process for all app types.
26 +<Steps>
27 + <Step title="Select App">
28 + Navigate to the [Apps page](https://app.composio.dev/apps) and choose the app you want to integrate (for example, Google Sheets).
29 + <Frame background="subtle" title="Application Selection Screen">
30 + <img src="../../../assets/images/integration-step-1-0.png" />
31 + </Frame>
32 + </Step>
33 + <Step title="Initiate Setup">
34 + Click the **"Setup Integration"** button.
35 + <Frame background="subtle" title="Auth Config Setup Interface">
36 + <img src="../../../assets/images/integration-step-2-0.png" />
37 + </Frame>
38 + </Step>
39 + <Step title="Configure Auth Config Settings">
40 + Select between the supported auth schemes of OAuth2, API Key, Bearer Token, Basic Auth, depending on the toolkit.
41 + Switch between the auth schemes and configure the scopes, developer credentials, etc here.
42 +
43 + <Note title="Composio Managed Auth" icon="info">
44 + You may also choose to use Composio's managed auth for certain toolkits or use your own auth credentials.
45 + It is recommended to use specify your own credentials for production workloads and ability to control scopes, etc.
46 + </Note>
47 +
48 + <Frame background="subtle" title="Auth Config Settings">
49 + <img src="../../../assets/images/auth-config-creation.png" />
50 + </Frame>
51 + </Step>
52 + <Step title="Create and Get ID">
53 + Click **"Create Integration"**. After creation, **copy the displayed starting with `ac_`**. You'll need this ID in your application code.
54 + </Step>
55 +</Steps>
56
57 <Card title="Programmatic creation" href="/docs/programmatic-auth-configs" icon="fa-solid fa-code">
58 In case of dealing with multiple toolkits across different projects, you can create auth configs
@@ -96,7 +85,7 @@ await connRequest.waitForConnection();
85 await composio.connectedAccounts.waitForConnection(id);
86
87 ```
99 -```python Python maxLines=60 wordWrap
88 +```python Python maxLines=60 wordWrap
89 from composio import Composio
90
91 linear_auth_config_id = "ac_1234"
fern/pages/src/tool-calling/before-execution-modifiers.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: Before Execution Modifiers
3 -image: 'https://og.composio.dev/api/og?title=Before%20Execution%20Modifiers' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Before%20Execution%20Modifiers" # image for socials
4 keywords: ''
5 subtitle: 'Learn how to use before execution modifiers to modify tool arguments before execution.'
6 hide-nav-links: false
fern/pages/src/tool-calling/custom-tools.mdx
+1 -1
@@ -1,6 +1,6 @@
1 ---
2 title: Creating custom tools
3 -image: 'https://og.composio.dev/api/og?title=Creating%20custom%20tools' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Creating%20custom%20tools" # image for socials
4 keywords: ''
5 subtitle: "Learn how to extend Composio's toolkits with your own tools"
6 hide-nav-links: false
fern/pages/src/tool-calling/schema-modifiers.mdx
+6 -5
@@ -1,6 +1,6 @@
1 ---
2 title: Schema Modifiers
3 -image: 'https://og.composio.dev/api/og?title=Schema%20Modifiers' # image for socials
3 +image: "https://og.composio.dev/api/og?title=Schema%20Modifiers" # image for socials
4 keywords: ''
5 subtitle: 'Learn how to use schema modifiers to transform tool schemas before they are seen by agents.'
6 hide-nav-links: false
@@ -15,10 +15,11 @@ Schema modifiers transform a tool's schema before the tool is seen by an agent.
15 <Frame>
16 <img src="../../../assets/images/schema-modifier.png" alt="Schema Modifier" />
17 </Frame>
18 -**Useful for:** - Adding arguments to the tool. For example, adding a `thought` argument to the tool
19 -to prompt the agent to explain the reasoning. - Hiding arguments from the tool. In cases where the
20 -argument is irrelevant to the tool. - Adding extra arguments to the tool schema for custom use cases
21 -or execution. - Adding default values to tool arguments.
18 +**Useful for:**
19 +- Adding arguments to the tool. For example, adding a `thought` argument to the tool to prompt the agent to explain the reasoning.
20 +- Hiding arguments from the tool. In cases where the argument is irrelevant to the tool.
21 +- Adding extra arguments to the tool schema for custom use cases or execution.
22 +- Adding default values to tool arguments.
23
24 <Note>
25 Below we modify the schema of the `HACKERNEWS_GET_LATEST_POSTS` to make the `size` argument
fern/pages/src/triggers/using-triggers.mdx
+1 -1
@@ -1,7 +1,7 @@
1 ---
2 title: Using Triggers
3 subtitle: Send payloads to your system based on external events
4 -image: 'https://og.composio.dev/api/og?title=Using%20Triggers' # image for socials
4 +image: "https://og.composio.dev/api/og?title=Using%20Triggers" # image for socials
5 keywords: ''
6 hide-nav-links: true
7 ---