📦 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