π¦ Turn an npm package into tools
Stack β Tools: any npm package (stripe, @aws-sdk, octokit) Β· Execution: SDK (sandboxed) Β· Secrets: Credentials vault Β· Output: typed tools, no wrappers
Who itβs for β anyone who wants an agent to use a library β Stripe, AWS, GitHub β without hand-writing a tool per function. What it does β points almyty at an npm package, introspects its exports, and turns the functions you pick into typed tools that run in a hardened sandbox. Re-run discovery when the SDK updates and the parameters follow β no schema drift.
Build it
- Add the package as an SDK tool. Tools β Create Tool, choose SDK, enter the package and version (
stripeat^17.0.0), and click Discover: almyty installs it in a sandbox and infers a parameter schema for each function from the packageβs own TypeScript types. - Keep the functions you want. Select the ones you need β
charges.create,refunds.create,customers.retrieveβ review the generated names and parameters, and create them. Each is a JavaScript tool thatrequire()s the package. - Give it its secret. Store the API key in the Credentials vault and reference it from the tool β injected at run time, never in a prompt.
- Attach and use. Add the tools to an agent or publish them on a gateway; the agent calls
refunds.createlike any other tool.

Make it yours
- Works for
@aws-sdk/client-s3,@octokit/rest,lodash, or any package on npm. - Combine with a connected API on the same gateway.
- Re-run Discover after an SDK bump to refresh parameters.
Uses β Platform Β· SDK tools Β· Integrations