This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated. # Releases ## @composio/core@0.19.0 ### Minor Changes -efc2e52: Keep TypeScript realtime subscription errors inside the SDK logging boundary so an asynchronous Pusher subscription failure cannot escape as an uncaught exception. The full subscription error payload is now logged, the success message is logged only once Pusher confirms the subscription, and `PusherService.subscribe` / `Triggers.subscribe` accept an optional `onSubscriptionError` callback so applications can react to subscription failures programmatically. -4b5920b: Add `session.ensureConnected(toolkit, options?)`: it returns immediately when the session already resolves an active connection (or the toolkit is no-auth), and only when needed starts the authorization flow via `session.authorize()` and waits for the new connection to become active. This prevents `authorize()` from spawning duplicate pending connections for toolkits that are already connected. The `session.execute()` `account` option is now documented as accepted on every project — on single-account projects the identifier must match one of the session's active connections for the toolkit (matching the API behavior). -c7843d8: Expose the server-side session configuration on sessions and return it from `update()`. `session.config` now carries the toolkit/tool allowlists, tags, auth configs, connected accounts, `manage_connections`, preload and sandbox settings the API returned for the session (from `create()`, `use()` and after every `update()`), and `session.update()` resolves to that updated config instead of `void`. Previously the only `config` reachable on a session object at runtime was the SDK's own `ComposioConfig`, and reading the live allowlist after `sessions.use(id)` required dropping to the raw client. `config` is a required member of the `Session` interface, so objects you construct yourself to satisfy `Session` (test doubles, wrappers) now need a `config` value. Callers of SDK-created sessions are unaffected. The read side is the raw API shape (`toolkits.enabled`, `manage_connections`), while `update()` keeps taking the SDK's camelCase input. ### Patch Changes -62e51e8: Refresh runtime dependencies and extend provider peer compatibility to the latest supported Anthropic and OpenAI Agents SDK releases. -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -b4b9fc4: Guard schema `pattern` and `patternProperties` compilation. A pattern that does not compile or exceeds 1024 characters now fails conversion with an `InvalidPatternError` that names the offending property path instead of a raw `SyntaxError`. `@composio/core` surfaces that path in the `JsonSchemaToZodError` message. No backtracking heuristic is applied: a hostile `pattern` that backtracks catastrophically remains a known limitation. -d4d3060: Fix `composio.mcp.update()` silently dropping parts of the requested configuration. Tool-only updates (`allowedTools` without `toolkits`) sent no tools field at all, updates with toolkits sent the deprecated create-time `custom_tools` alias that the update endpoint ignores instead of `allowed_tools`, and `manuallyManageConnections` was forwarded as-is instead of being inverted into `managed_auth_via_composio` (so `manuallyManageConnections: true` stored the opposite configuration). `create()` and `update()` now also keep the auth config of a `{ toolkit, authConfigId }` toolkit entry instead of discarding it, and `create()` sends `allowed_tools` rather than the deprecated `custom_tools` alias, matching the Python SDK. -9d0cb2c: Export `readResponseBodyWithLimit` and `MAX_URL_UPLOAD_SIZE_BYTES` so downstream packages can apply the SDK's 100 MiB cap when they download a file from a user-supplied URL. The CLI's tool-input file uploads now use it instead of buffering the whole response. -ba85f4d: Apply the Fetch standard's redirect rules in `ssrfSafeFetch`, which following redirects manually meant `fetch` never applied: a `303` now retries as a bodiless `GET` instead of replaying an upload's method and body at a result URL, a `301`/`302` does the same for a `POST`, and `307`/`308` keep replaying both. Only `301`, `302`, `303`, `307` and `308` count as redirects to follow, so a `304` or `305` carrying a `Location` is returned to the caller rather than followed. -ba85f4d: Close the IPv6 transition ranges the SSRF guard's address blocklist let through: 6to4 (`2002::/16`), Teredo and the rest of `2001::/23`, local-use NAT64 (`64:ff9b:1::/48`), `100::/64`, `2001:db8::/32` and site-local `fec0::/10` each carry or reach an arbitrary IPv4 address, so `2002:7f00:1::` was a public-looking literal for `127.0.0.1`. IPv4 multicast and the `192.88.99.0/24` 6to4 relay range are blocked too. -85996c4: Drop `Authorization`, `Proxy-Authorization`, and `Cookie` from the request headers when the SSRF guard follows a redirect to a different origin, as the Fetch standard does for automatic redirects. Same-origin redirects keep them. -eccb80e: Add an opt-in strict mode to `ssrfSafeFetch` that rejects configured network routes when the connection cannot be pinned to the validated address. -8bb1d29: Stop reporting every failed tool lookup as `ComposioToolNotFoundError`. `tools.getRawComposioToolBySlug`, and the `tools.get` / `tools.execute` paths that call it, now raise `ComposioToolNotFoundError` only when the API answers 404 or 400. Any other failure, such as an invalid API key (401), a server error, or a network fault, raises the new `ComposioToolFetchError` with the client error preserved as `cause`. `toolkits.get(slug)` now applies its 404/400 check against the Composio client's `APIError` instead of the OpenAI one, so an unknown toolkit raises `ComposioToolkitNotFoundError` as documented. -e9fcbe3: Stop dropping `is_secret`, `legacy_template_name` and `auth_hint_url` from toolkit auth config details. `transformToolkitRetrieveResponse` passed the auth field groups through unchanged, so the snake_case keys never matched `ToolkitAuthFieldSchema` and zod stripped them during validation; `auth_hint_url` was never mapped at all. Fields returned by `toolkits.getConnectedAccountInitiationFields()` and `toolkits.getAuthConfigCreationFields()` now carry `isSecret`, which the API documents as the signal for whether a client should mask the input, plus `legacyTemplateName`; auth config details returned by `toolkits.get()` now carry `authHintUrl`. Each of these keys is present only when the API sends it, so spreading a field no longer overwrites a caller's own fallback with `undefined`. An auth config detail that omits a field group entirely now yields empty lists for that group, matching how the docs pipeline defaults them, instead of failing validation and leaving the other group unusable. -9a69683: Correct the JSDoc for `tools.getInput` and `tools.proxyExecute`. The `getInput` example now passes the required `text` field and reads the generated `arguments`. The `proxyExecute` example now uses the flat `endpoint` / `method` / `connectedAccountId` shape and explains that a relative endpoint is appended to the toolkit's base URL, which can already include a path. The `tools.execute` example shows where to find the version to pin. - Updated dependencies [b4b9fc4] - @composio/json-schema-to-zod@0.3.3 ## @composio/slim@0.19.0 ### Minor Changes -efc2e52: Keep TypeScript realtime subscription errors inside the SDK logging boundary so an asynchronous Pusher subscription failure cannot escape as an uncaught exception. The full subscription error payload is now logged, the success message is logged only once Pusher confirms the subscription, and `PusherService.subscribe` / `Triggers.subscribe` accept an optional `onSubscriptionError` callback so applications can react to subscription failures programmatically. ### Patch Changes -62e51e8: Refresh runtime dependencies and extend provider peer compatibility to the latest supported Anthropic and OpenAI Agents SDK releases. -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -85996c4: Drop `Authorization`, `Proxy-Authorization`, and `Cookie` from the request headers when the SSRF guard follows a redirect to a different origin, as the Fetch standard does for automatic redirects. Same-origin redirects keep them. - Updated dependencies [b4b9fc4] - @composio/json-schema-to-zod@0.3.3 ## @composio/experimental@0.2.5 ### Patch Changes -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -100d568: Stamp eve's durable callback descriptors on the tools `EveProvider` wraps. eve only stamps descriptors on `defineTool` calls it finds in an agent's own source, so tools built inside `node_modules` were rejected at resolve time and every Composio tool was dropped from the step. Each wrapped tool now persists only its slug and an id for the resolve that produced it, and re-attaches to that resolve's Composio executor when eve replays or resumes a parked call. ## @composio/json-schema-to-zod@0.3.3 ### Patch Changes -b4b9fc4: Guard schema `pattern` and `patternProperties` compilation. A pattern that does not compile or exceeds 1024 characters now fails conversion with an `InvalidPatternError` that names the offending property path instead of a raw `SyntaxError`. `@composio/core` surfaces that path in the `JsonSchemaToZodError` message. No backtracking heuristic is applied: a hostile `pattern` that backtracks catastrophically remains a known limitation. ## @composio/anthropic@0.11.2 ### Patch Changes -62e51e8: Refresh runtime dependencies and extend provider peer compatibility to the latest supported Anthropic and OpenAI Agents SDK releases. -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/claude-agent-sdk@0.12.1 ### Patch Changes -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/cloudflare@0.10.3 ### Patch Changes -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/google@0.11.1 ### Patch Changes -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/langchain@0.11.1 ### Patch Changes -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/llamaindex@0.11.1 ### Patch Changes -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/mastra@0.10.5 ### Patch Changes -62e51e8: Refresh runtime dependencies and extend provider peer compatibility to the latest supported Anthropic and OpenAI Agents SDK releases. -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/openai@0.12.3 ### Patch Changes -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/openai-agents@0.11.1 ### Patch Changes -62e51e8: Refresh runtime dependencies and extend provider peer compatibility to the latest supported Anthropic and OpenAI Agents SDK releases. -7055914: Move published dependency ranges to their current upstream releases: zod 4.5, openai 7.10, typebox 1.3.27, @mastra/schema-compat 1.3.8, and @cloudflare/workers-types 5.20260905. `@composio/anthropic` also accepts `@anthropic-ai/sdk` 0.124 as a peer, the line it is now tested against. -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @composio/typesafe@0.1.1 ### Patch Changes -dafe138: Reject root schema composition that can hide required arguments, require explicitly supplied values for prototype-named arguments, and preserve `__proto__` as caller data during execution. ## @composio/vercel@0.12.1 ### Patch Changes -20aaa95: Accept the upcoming core prerelease and the upstream versions already used to build and test providers. ## @e2e-tests/cf-workers-basic@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## @e2e-tests/cf-workers-files@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## @e2e-tests/cf-workers-tool-router-ai@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## @e2e-tests/deno-tool-execution@0.0.1 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## @e2e-tests/node-claude-agent-sdk@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/claude-agent-sdk@0.12.1 ## @e2e-tests/node-custom-tools@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## @e2e-tests/node-json-schema-to-zod-v3@0.0.3 ### Patch Changes - Updated dependencies [b4b9fc4] - @composio/json-schema-to-zod@0.3.3 ## @e2e-tests/node-json-schema-to-zod-v4@0.0.3 ### Patch Changes - Updated dependencies [b4b9fc4] - @composio/json-schema-to-zod@0.3.3 ## @e2e-tests/node-mastra-tool-router-zod-v3@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/mastra@0.10.5 ## @e2e-tests/node-mastra-tool-router-zod-v4@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/mastra@0.10.5 ## @e2e-tests/node-tool-router-files@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## @e2e-tests/node-tool-router-pagination@0.0.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## anthropic-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/anthropic@0.11.2 - @composio/core@0.19.0 - @composio/claude-agent-sdk@0.12.1 ## cloudflare-wrangler-example@0.0.2 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## connected-accounts-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## error-handling-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## file-handling-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## google-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/google@0.11.1 ## json-schema-to-zod-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## langchain-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/langchain@0.11.1 ## llamaindex-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/llamaindex@0.11.1 ## mastra-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/mastra@0.10.5 ## mcp-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## modifiers-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## openai-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/openai-agents@0.11.1 - @composio/openai@0.12.3 ## session-management-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## tool-router-example@1.0.13 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/openai-agents@0.11.1 - @composio/claude-agent-sdk@0.12.1 - @composio/vercel@0.12.1 ## toolkits-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## tools-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## triggers-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 ## typesafe-example@0.0.1 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [dafe138] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/typesafe@0.1.1 - @composio/openai@0.12.3 ## vercel-example@0.1.12 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - Updated dependencies [20aaa95] - @composio/core@0.19.0 - @composio/vercel@0.12.1 ## versioning-example@0.1.3 ### Patch Changes - Updated dependencies [62e51e8] - Updated dependencies [7055914] - Updated dependencies [b4b9fc4] - Updated dependencies [d4d3060] - Updated dependencies [efc2e52] - Updated dependencies [9d0cb2c] - Updated dependencies [4b5920b] - Updated dependencies [c7843d8] - Updated dependencies [ba85f4d] - Updated dependencies [ba85f4d] - Updated dependencies [85996c4] - Updated dependencies [eccb80e] - Updated dependencies [8bb1d29] - Updated dependencies [e9fcbe3] - Updated dependencies [9a69683] - @composio/core@0.19.0 Co-authored-by: sdkrelease[bot] <294075132+sdkrelease[bot]@users.noreply.github.com>
composio.dev • Documentation • Quickstart • Changelog
Composio
Composio gives your AI agents 1000+ pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox, so you can ship agents that turn intent into action.
This is the Composio SDK monorepo. It contains:
@composio/core: TypeScript SDKcomposio: Python SDKcomposioCLI: search, execute, and script tools from your shell- Provider adapters for OpenAI Agents, Claude Agent SDK, Vercel AI SDK, LangChain, and more
Quickstart
Create a session for a user, hand its tools to your agent, and let the agent take action across 1000+ apps. Grab a COMPOSIO_API_KEY from the dashboard first.
TypeScript
npm install @composio/core @composio/openai-agents @openai/agents
@composio/coreintentionally packages its TypeScript source and SDK docs so the installed package is inspectable to coding agents. If you want a smaller install with the same API, use@composio/slim.
import { Composio } from "@composio/core";
import { OpenAIAgentsProvider } from "@composio/openai-agents";
import { Agent, run } from "@openai/agents";
const composio = new Composio({ provider: new OpenAIAgentsProvider() });
// Each session is scoped to one of your users
const session = await composio.create("user_123");
const tools = await session.tools();
const agent = new Agent({
name: "Personal Assistant",
instructions: "You are a helpful assistant. Use Composio tools to take action.",
tools,
});
const result = await run(agent, "Summarize my emails from today");
console.log(result.finalOutput);
Python
pip install composio composio-openai-agents openai-agents
from composio import Composio
from composio_openai_agents import OpenAIAgentsProvider
from agents import Agent, Runner
composio = Composio(provider=OpenAIAgentsProvider())
# Each session is scoped to one of your users
session = composio.create(user_id="user_123")
tools = session.tools()
agent = Agent(
name="Personal Assistant",
instructions="You are a helpful assistant. Use Composio tools to take action.",
tools=tools,
)
result = Runner.run_sync(starting_agent=agent, input="Summarize my emails from today")
print(result.final_output)
By default a session gets meta tools that discover, authenticate, and execute app tools at runtime, so you don't load hundreds of tool definitions into context. Store session.session_id and reuse it with composio.use() across turns. See what a session is and configuring sessions for restricting toolkits, auth configs, and connected accounts.
Prefer MCP? Every session also exposes a hosted MCP endpoint. Pass mcp: true to composio.create() and point Claude, Cursor, or any MCP client at session.mcp.url. See sessions via MCP.
CLI
The composio CLI runs Composio from your shell and gives coding agents like Claude Code a local tool surface.
curl -fsSL https://composio.dev/install | sh
The installer puts composio on your PATH for future terminals. Open a new terminal, then run composio login. See INSTALL.md for shell setup overrides, including COMPOSIO_INSTALL_SHELL=none for install-only runs.
Use composio search to find tools, composio execute to run them, composio link to connect accounts, and composio run to script workflows in TypeScript. See the CLI docs.
Providers
A provider adapts Composio tools to your agent framework's native tool format:
| Provider | TypeScript | Python |
|---|---|---|
| OpenAI | @composio/openai |
composio-openai |
| OpenAI Agents | @composio/openai-agents |
composio-openai-agents |
| Anthropic | @composio/anthropic |
composio-anthropic |
| Claude Agent SDK | @composio/claude-agent-sdk |
composio-claude-agent-sdk |
| Vercel AI SDK | @composio/vercel |
— |
| Google GenAI | @composio/google |
composio-gemini, composio-google |
| Google ADK | — | composio-google-adk |
| LangChain | @composio/langchain |
composio-langchain |
| LangGraph | via @composio/langchain |
composio-langgraph |
| LlamaIndex | @composio/llamaindex |
composio-llamaindex |
| Mastra | @composio/mastra |
— |
| Pi | @composio/experimental* |
— |
| Cloudflare Workers AI | @composio/cloudflare |
— |
| TypeSafe (Jev) | @composio/typesafe |
composio-typesafe |
| CrewAI | — | composio-crewai |
| AutoGen | — | composio-autogen |
* The Pi provider is experimental and ships from @composio/experimental.
Don't see your framework? Build a custom provider, or skip providers entirely and connect over MCP.
All packages
Everything published from this repo:
| Package | Description |
|---|---|
@composio/core |
TypeScript SDK |
@composio/slim |
@composio/core without packaged source or docs; same API, smaller install |
composio CLI |
Standalone CLI binary: curl -fsSL https://composio.dev/install | sh |
@composio/experimental |
Experimental integrations, including the Pi provider |
@composio/json-schema-to-zod |
JSON Schema to Zod conversion |
@composio/* provider adapters |
OpenAI, OpenAI Agents, Anthropic, Claude Agent SDK, Vercel, Google, LangChain, LlamaIndex, Mastra, Cloudflare, TypeSafe |
composio |
Python SDK |
composio-* provider adapters |
OpenAI, OpenAI Agents, Anthropic, Claude Agent SDK, Gemini, Google, Google ADK, LangChain, LangGraph, LlamaIndex, CrewAI, AutoGen, TypeSafe |
Repository layout
ts/ TypeScript SDK workspace
packages/core/ @composio/core
packages/providers/ Provider adapters
packages/cli/ Composio CLI
python/ Python SDK and provider packages
docs/ Documentation site (docs.composio.dev)
The TypeScript SDK is tested against Node 22+; the Python SDK supports Python 3.10+.
Development
mise install # pinned toolchain (Node, Python, pnpm)
pnpm install
pnpm build
pnpm test
Python commands run from python/; see python/README.md. We welcome contributions to both SDKs; read the contribution guidelines before submitting pull requests.
Support
License
MIT. See LICENSE.