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 21, 03:37 UTC
| 1 | --- |
| 2 | title: "Python SDK 0.17.0 makes sessions first-class" |
| 3 | description: "Python SDK 0.17.0 adds the sessions API, opt-in MCP, webhook helpers, shared-connection ACL updates, and sandbox configuration." |
| 4 | date: "2026-06-27" |
| 5 | --- |
| 6 | |
| 7 | Python SDK `composio` `0.17.0` moves Tool Router onto a sessions-first API. It also adds webhook helpers and makes the current shared-connection ACL API easier to discover. |
| 8 | |
| 9 | ### SDK versions |
| 10 | |
| 11 | | SDK | Version | |
| 12 | | --- | --- | |
| 13 | | Python `composio` | `0.17.0` | |
| 14 | |
| 15 | ### Sessions and MCP |
| 16 | |
| 17 | `composio.sessions.create(...)` is now the canonical sessions entry point. `composio.create(...)` and `composio.use(...)` remain supported shortcuts, while `composio.tool_router` is deprecated as an alias for the same object. |
| 18 | |
| 19 | Sessions return native tools by default. Set `mcp=True` when a typed MCP session is required. The runtime object is unchanged, but the explicit option makes the MCP dependency visible in application code. |
| 20 | |
| 21 | ### New APIs and behavior |
| 22 | |
| 23 | - `triggers.parse()` parses an incoming webhook request and can verify its signature. Passing an empty `verify_secret` now raises instead of silently skipping verification. |
| 24 | - `triggers.set_webhook_subscription()` creates or updates the project webhook subscription. |
| 25 | - `connected_accounts.update_acl()` is the primary shared-connection ACL patch helper. `experimental.update_acl()` remains as a deprecated alias. |
| 26 | - Prefer `sandbox` for session code-execution configuration. `workbench` remains an accepted alias. |