Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | # `@composio/slim` |
| 2 | |
| 3 | Slim build of the Composio TypeScript core SDK. |
| 4 | |
| 5 | `@composio/core` intentionally ships its TypeScript source and SDK docs inside the npm package so coding agents (and humans) can inspect and debug the SDK straight from `node_modules`. That inspectability costs install size. `@composio/slim` publishes the same built runtime and type artifacts without the packaged `src/` and `docs/` trees, so it installs smaller while behaving identically. |
| 6 | |
| 7 | ```bash |
| 8 | pnpm add @composio/slim |
| 9 | ``` |
| 10 | |
| 11 | ```ts |
| 12 | import { Composio } from '@composio/slim'; |
| 13 | |
| 14 | const composio = new Composio({ apiKey: process.env.COMPOSIO_API_KEY }); |
| 15 | ``` |
| 16 | |
| 17 | The API mirrors `@composio/core` for consumers that prefer a smaller installed package. See the [`@composio/core` README](https://github.com/ComposioHQ/composio/tree/next/ts/packages/core) for usage. |