npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@suedeai/plugin-suede

v1.0.0

Published

ElizaOS plugin: rights-aware music and video generation, payable by AI agents over x402 on Base.

Downloads

76

Readme

@suedeai/plugin-suede

ElizaOS plugin: rights-aware music and video generation, payable by autonomous agents over x402 on Base. No API keys. Wallet signature only.

This is the only x402-paying creative-generation plugin in the ElizaOS ecosystem. The existing @elizaos/plugin-suno and @elizaos/plugin-udio plugins wrap traditional API-key services. @suedeai/plugin-suede wraps Suede AI's x402 endpoints — your agent pays USDC on Base per call and receives a rights-aware, fingerprinted media asset.

Why use Suede inside ElizaOS

  • No signup, no API key. Your agent has a wallet; that's the auth.
  • One HTTP call. ElizaOS Action → 402 challenge → EIP-3009 signed authorization → settle → asset. ~30 seconds end-to-end for music.
  • Per-call pricing. $0.20 USDC music, $1.50 USDC short video.
  • Provenance built-in. Every output is fingerprinted and eligible for on-chain attestation via the Suede Registry on Base.

Install

pnpm add @suedeai/plugin-suede
# or: npm install @suedeai/plugin-suede

Configure

Set in your agent's environment (.env or character JSON settings):

SUEDE_WALLET_PRIVATE_KEY=0x...           # required; the wallet the agent pays from
SUEDE_SERVICE_URL=https://app.suedeai.ai # optional; default
SUEDE_NETWORK=base-mainnet               # optional; or base-sepolia for testing

Fund the wallet with USDC on Base before use.

Use

Register in your ElizaOS character JSON:

{
  "name": "Mira",
  "plugins": ["@suedeai/plugin-suede"],
  "settings": {
    "SUEDE_WALLET_PRIVATE_KEY": "0x..."
  }
}

The plugin exposes two actions: GENERATE_MUSIC_SUEDE and GENERATE_VIDEO_SUEDE. The agent picks them automatically when the user asks for music or short video.

Programmatic use

import { SuedeClient } from "@suedeai/plugin-suede";

const client = new SuedeClient({
  privateKey: process.env.SUEDE_WALLET_PRIVATE_KEY as `0x${string}`,
});

const track = await client.generateMusic({
  prompt: "ambient lofi beat with vinyl crackle",
  durationSeconds: 30,
});

console.log(track.assetUrl);

How payment works

  1. Plugin POSTs to https://app.suedeai.ai/create-music (or /agent/video).
  2. Suede returns 402 Payment Required with an x402 challenge — network eip155:8453, USDC on Base, recipient 0xb5a0…032d.
  3. Plugin signs an EIP-3009 TransferWithAuthorization for the exact amount.
  4. Plugin retries with X-PAYMENT: <base64 signed authorization>.
  5. Coinbase x402 facilitator verifies + settles on-chain.
  6. Suede returns the asset (URL + provenance metadata).

No facilitator key needed on the agent side — Suede operates the facilitator path.

Settings reference

| Key | Required | Default | Notes | |---|---|---|---| | SUEDE_WALLET_PRIVATE_KEY | yes | — | 0x-prefixed hex. Use a dedicated agent wallet, not a treasury wallet. | | SUEDE_SERVICE_URL | no | https://app.suedeai.ai | Override for staging/preview deployments. | | SUEDE_NETWORK | no | base-mainnet | Set to base-sepolia for testing without spending real USDC. |

Production checklist

  • [ ] Wallet has USDC on the configured network
  • [ ] Wallet is dedicated to the agent (limit blast radius)
  • [ ] Daily spending caps enforced in ElizaOS character config
  • [ ] Telemetry on tx hashes from X-PAYMENT-RESPONSE for audit

License

MIT © Suede Labs · https://suedeai.ai

Links

  • Service: https://app.suedeai.ai
  • x402 discovery: https://app.suedeai.ai/.well-known/x402.json
  • Agent card: https://app.suedeai.ai/.well-known/agent-card.json
  • IP Registry: https://ip.suedeai.ai
  • X: https://x.com/AISUEDE