aiagent.club
中文
npm package

@stwd/sdk

Updated 2026-08-30 View source ↗

#66 of 203 by Downloads / week among npm packages

38.0k Downloads / week

TypeScript SDK for Steward, agent wallet infrastructure with policy enforcement

About

TypeScript client for the Steward API. Use this in your agents, bots, or platform integrations to create wallets, set policies, and submit transactions for signing.

Create a new agent wallet. Steward generates a keypair, encrypts it in the vault, and returns the agent identity.

List all agents for the authenticated tenant.

Submit a transaction for policy evaluation and signing.

Throws: StewardApiError with status 400 if a hard policy rejects the transaction. error.data.results contains per-policy details.

Sign an arbitrary message (EIP-191 personal sign) with the agent's key.

Retrieve the current policy rules for an agent.

Replace the full policy set for an agent (PUT semantics —…

Excerpted from www.npmjs.com/package/@stwd/sdk

Latest metrics

Downloads / week 38.0k 2026-08-30