Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
feat: update SDK installation instructions and enhance development scripts
[email protected]b5ef8dcc7f75
diff --git a/fern/docs/get-started/quickstart.mdx b/fern/docs/get-started/quickstart.mdxindex c571b2381..8b8887bd5 100644--- a/fern/docs/get-started/quickstart.mdx+++ b/fern/docs/get-started/quickstart.mdx@@ -30,7 +30,7 @@ First and foremost, install the Composio SDK.npm install @composio/core``````python Python-pip install composio==1.0.0rc9+pip install composio==0.8.0```</CodeGroup>@@ -160,7 +160,7 @@ You may install the OpenAI Agents provider as well!**Installation**```bash-pip install composio_openai_agents==1.0.0rc9+pip install composio_openai_agents==0.8.0``````python maxLines=60diff --git a/fern/package.json b/fern/package.jsonindex 6cc65dfb0..7c1b45c5e 100644--- a/fern/package.json+++ b/fern/package.json@@ -18,7 +18,8 @@"snippets:dev": "bun watch scripts/build-snippets.ts --watch","add-og": "uv run scripts/add_og_imgs.py","check": "fern check",- "dev": "fern docs dev",+ "dev": "bun run scripts/build-snippets.ts && (bun run scripts/build-snippets.ts --watch & fern docs dev)",+ "dev:docs": "fern docs dev","links": "fern docs broken-links","build": "echo 'Build orchestrated by Turbo'","preview": "fern generate --docs --preview --log-level debug",diff --git a/fern/pages/src/examples/sample-script.mdx b/fern/pages/src/examples/sample-script.mdxindex e1abe61f3..42c9c205f 100644--- a/fern/pages/src/examples/sample-script.mdx+++ b/fern/pages/src/examples/sample-script.mdx@@ -12,7 +12,7 @@ This tutorial will show you the basics of how to use the Composio SDK to call toSAMPLE```bash-pip install composio==1.0.0rc9+pip install composio==0.8.0```Here's a complete Python example that demonstrates the Composio SDK:diff --git a/fern/pages/src/examples/sample-webserver/sample-webserver.mdx b/fern/pages/src/examples/sample-webserver/sample-webserver.mdxindex 067f90321..b1ecf7d44 100644--- a/fern/pages/src/examples/sample-webserver/sample-webserver.mdx+++ b/fern/pages/src/examples/sample-webserver/sample-webserver.mdx@@ -15,7 +15,7 @@ This tutorial shows you a minimal example of a web server that can use Composio.Using `bun` for this example, it is super convenient for rapid prototyping.```bash-bun install @composio/core@next openai hono+bun install @composio/core openai hono```Please set the following environment variables:diff --git a/fern/pages/src/get-started/providers.mdx b/fern/pages/src/get-started/providers.mdxindex 5db3fcfcf..8605e7ce3 100644--- a/fern/pages/src/get-started/providers.mdx+++ b/fern/pages/src/get-started/providers.mdx@@ -92,13 +92,13 @@ Different providers may require additional packages:<CodeGroup>```shell Python# Core SDK (includes OpenAI provider)-pip install composio==1.0.0rc9+pip install composio==0.8.0# Additional providers-pip install composio_anthropic==1.0.0rc9-pip install composio_google==1.0.0rc9-pip install composio_langchain==1.0.0rc9-pip install composio_crewai==1.0.0rc9+pip install composio_anthropic==0.8.0+pip install composio_google==0.8.0+pip install composio_langchain==0.8.0+pip install composio_crewai==0.8.0``````shell Typescript# Core SDK (includes OpenAI provider)diff --git a/fern/pages/src/get-started/quickstart.mdx b/fern/pages/src/get-started/quickstart.mdxindex f5707931b..d679a542d 100644--- a/fern/pages/src/get-started/quickstart.mdx+++ b/fern/pages/src/get-started/quickstart.mdx@@ -31,10 +31,10 @@ First, install the Composio SDK for your preferred language:<CodeGroup>```bash title="Python" for="python"-pip install composio==1.0.0rc9+pip install composio==0.8.0``````bash title="TypeScript" for="typescript"-npm install @composio/core@next+npm install @composio/core```</CodeGroup>@@ -106,7 +106,7 @@ You may install the OpenAI Agents provider as well!**Installation**```bash-pip install composio_openai_agents==1.0.0rc9+pip install composio_openai_agents==0.8.0```<SnippetCodediff --git a/fern/pages/src/migration-guide.mdx b/fern/pages/src/migration-guide.mdxindex 9550f3410..91fe2775e 100644--- a/fern/pages/src/migration-guide.mdx+++ b/fern/pages/src/migration-guide.mdx@@ -73,7 +73,7 @@ Upgrade to the latest SDK version using the appropriate package manager:pip install -U composio``````typescript TypeScript-npm install @composio/core@next+npm install @composio/core```</CodeGroup>diff --git a/fern/pages/src/providers/anthropic.mdx b/fern/pages/src/providers/anthropic.mdxindex 8f0d5d8da..5c7700357 100644--- a/fern/pages/src/providers/anthropic.mdx+++ b/fern/pages/src/providers/anthropic.mdx@@ -14,7 +14,7 @@ The Anthropic provider can be installed for both SDKs.<CodeGroup>```bash title="Python" for="python" maxLines=60 wordWrap-pip install composio_anthropic==1.0.0rc9+pip install composio_anthropic==0.8.0``````bash title="TypeScript" for="typescript" maxLines=60 wordWrapdiff --git a/fern/pages/src/providers/crewai.mdx b/fern/pages/src/providers/crewai.mdxindex 1cd9968f9..69001ff14 100644--- a/fern/pages/src/providers/crewai.mdx+++ b/fern/pages/src/providers/crewai.mdx@@ -15,7 +15,7 @@ The CrewAI Provider formats the Composio tools into an object compatible with CrThe CrewAI provider is available for only the Python SDK.```python Python maxLines=60 wordWrap-pip install composio_crewai==1.0.0rc9+pip install composio_crewai==0.8.0```## Usagediff --git a/fern/pages/src/providers/langchain.mdx b/fern/pages/src/providers/langchain.mdxindex 3106a3a30..b40437ec2 100644--- a/fern/pages/src/providers/langchain.mdx+++ b/fern/pages/src/providers/langchain.mdx@@ -11,7 +11,7 @@ The LangChain Provider transforms Composio tools into a format compatible with L## Setup<CodeGroup>```bash title="Python" for="python"-pip install composio_langchain==1.0.0rc9 langchain+pip install composio_langchain==0.8.0 langchain``````bash title="TypeScript" for="typescript"npm install @composio/langchaindiff --git a/fern/pages/src/providers/openai-agents.mdx b/fern/pages/src/providers/openai-agents.mdxindex 3d6f5d469..4f1daa52b 100644--- a/fern/pages/src/providers/openai-agents.mdx+++ b/fern/pages/src/providers/openai-agents.mdx@@ -15,7 +15,7 @@ OpenAI Agents SDK is different from the OpenAI SDK. It helps build agentic AI ap## Setup```bash-pip install composio_openai_agents==1.0.0rc9 openai-agents+pip install composio_openai_agents==0.8.0 openai-agents```### Usagediff --git a/fern/pages/src/providers/openai.mdx b/fern/pages/src/providers/openai.mdxindex 8fcacb907..76b7408ec 100644--- a/fern/pages/src/providers/openai.mdx+++ b/fern/pages/src/providers/openai.mdx@@ -13,7 +13,7 @@ By default, the OpenAI Provider is installed when you install the Composio SDK.<CodeGroup>```bash title="Python" for="python"-pip install composio_openai==1.0.0rc9+pip install composio_openai==0.8.0``````bash title="TypeScript" for="typescript"npm install @composio/openaidiff --git a/fern/pages/src/tool-calling/authenticating-tools.mdx b/fern/pages/src/tool-calling/authenticating-tools.mdxindex 86b53b421..b520997f7 100644--- a/fern/pages/src/tool-calling/authenticating-tools.mdx+++ b/fern/pages/src/tool-calling/authenticating-tools.mdx@@ -91,7 +91,7 @@ If you know the required authentication fields for your toolkit (like `apiKey` f<SnippetCodesrc="fern/snippets/tool-calling/python/auth-tools.py"startLine={23}- endLine={31}+ endLine={34}title="Python"/><SnippetCode@@ -114,7 +114,7 @@ The auth scheme information is typed and can be configured as follows:<CodeGroup><SnippetCodesrc="fern/snippets/tool-calling/python/auth-tools.py"- startLine={32}+ startLine={35}endLine={44}title="Python"/>diff --git a/fern/pages/src/tool-calling/custom-tools.mdx b/fern/pages/src/tool-calling/custom-tools.mdxindex d7bbeea31..1a2036ffe 100644--- a/fern/pages/src/tool-calling/custom-tools.mdx+++ b/fern/pages/src/tool-calling/custom-tools.mdx@@ -149,6 +149,25 @@ def get_issue_info(2. Using `connectionConfig` - For making direct API calls when needed:<CodeGroup>+```python Python maxLines=60 wordWrap+import requests+[email protected]_tool(toolkit="github")+def get_issue_info_direct(+ request: GetIssueInfoInput,+ execute_request: ExecuteRequestFn,+ auth_credentials: dict,+) -> dict:+ """Get information about a GitHub issue."""+ response = requests.get(+ f"https://api.github.com/repos/composiohq/composio/issues/{request.issue_number}",+ headers={+ "Accept": "application/vnd.github.v3+json",+ "Authorization": f"Bearer {auth_credentials['access_token']}",+ },+ )+ return {"data": response.json()}+``````typescript TypeScript maxLines=60 wordWrapconst tool = await composio.tools.createCustomTool({slug: 'GITHUB_DIRECT_API',@@ -176,26 +195,6 @@ const tool = await composio.tools.createCustomTool({});```-```python Python maxLines=60 wordWrap-import requests-[email protected]_tool(toolkit="github")-def get_issue_info_direct(- request: GetIssueInfoInput,- execute_request: ExecuteRequestFn,- auth_credentials: dict,-) -> dict:- """Get information about a GitHub issue."""- response = requests.get(- f"https://api.github.com/repos/composiohq/composio/issues/{request.issue_number}",- headers={- "Accept": "application/vnd.github.v3+json",- "Authorization": f"Bearer {auth_credentials['access_token']}",- },- )- return {"data": response.json()}-```-</CodeGroup>### Using Custom Headers and Query Parametersdiff --git a/fern/snippets/tool-calling/python/auth-tools.py b/fern/snippets/tool-calling/python/auth-tools.pyindex 9f14820a2..027d9f6cf 100644--- a/fern/snippets/tool-calling/python/auth-tools.py+++ b/fern/snippets/tool-calling/python/auth-tools.py@@ -27,7 +27,9 @@ serp_auth_config_id = "ac_VWmFEC55Zgv6"user_api_key = "sk_1234567890"connection_request = composio.connected_accounts.initiate(- user_id=user_id, auth_config_id=serp_auth_config_id, config=auth_scheme.api_key(user_api_key)+ user_id=user_id,+ auth_config_id=serp_auth_config_id,+ config={"auth_scheme": "API_KEY", "val": user_api_key},)# Auth scheme config for Airtable Bearer@@ -40,5 +42,5 @@ user_bearer_token = "1234567890"airtable_connection_req = composio.connected_accounts.initiate(user_id=user_id,auth_config_id=airtable_auth_config_id,- config=auth_scheme.bearer_token()+ config={"auth_scheme": "BEARER_TOKEN", "val": user_bearer_token},)diff --git a/fern/turbo.json b/fern/turbo.jsonindex c704dcc85..e24f8a6b2 100644--- a/fern/turbo.json+++ b/fern/turbo.json@@ -19,6 +19,12 @@"cache": false},+ "dev:all": {+ "dependsOn": ["dev:deps"],+ "persistent": true,+ "cache": false+ },+"api:pull": {"outputs": ["apis/openapi.yml", "apis/openapi-mcp.json"],"cache": truediff --git a/python/examples/auth_configs.py b/python/examples/auth_configs.pyindex 954db7425..47b1cb6ac 100644--- a/python/examples/auth_configs.py+++ b/python/examples/auth_configs.py@@ -25,7 +25,7 @@ auth_config = composio.auth_configs.create("credentials": {"client_id": "1234567890","client_secret": "1234567890",- "oauth_redirect_uri": "https://backend.composio.dev/api/v1/auth-apps/add",+ "oauth_redirect_uri": "https://backend.composio.dev/api/v3/toolkits/auth/callback",},},)