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

@aeon-ai-pay/agentos

v0.2.0

Published

AEON AgentOS — platform-level execution system for AI Agents. Connects skill invocation, task execution, authorized payment and settlement. Currently open: AI image generation via x402 protocol with USDT on BSC.

Readme

AEON AgentOS

AEON AgentOS is a platform-level execution system for AI Agents. It connects skill invocation, task execution, authorized payment and settlement networks — enabling Agents to not only understand user intent, but to call different skills within the user's authorization scope and complete real-world purchases, content generation, data calls, subscriptions, bookings and transaction execution via wallet and Card payment capabilities.

Currently open skill: AI image generation — generate images from a text prompt, paying per request with USDT on BSC via the x402 protocol.

Install Skill

# Install to all detected agents (Claude Code, Cursor, Codex, OpenClaw, Gemini CLI, etc.)
npx skills add AEON-Project/AgentOS -g -y

# Install to specific agents
npx skills add AEON-Project/AgentOS -a claude-code -a cursor -a codex -g -y

Supported agents: Claude Code, Cursor, Codex, OpenClaw, Gemini CLI, GitHub Copilot, Windsurf, Roo Code, and 39+ more.

CLI Usage

# First run: auto-create local wallet (private key generated locally, never uploaded)
npx @aeon-ai-pay/agentos setup --check

# Pre-flight: ensure the session key has >= 1 USDT and an unlimited approve to the
# facilitator. If a top-up is needed, you fund >= 5 USDT (one-time WalletConnect QR scan).
npx @aeon-ai-pay/agentos prepare

# Generate an image. With prepare done, this is a gasless EIP-712 signature only.
# On success, every image in the response is downloaded to ~/agentos-images/
npx @aeon-ai-pay/agentos create-image --prompt "a cyberpunk fox under neon rain"

# Choose aspect ratio / output format / model (defaults shown)
npx @aeon-ai-pay/agentos create-image \
  --prompt "An orange tabby cat playing in the snow, cinematic lighting" \
  --aspect-ratio 16:9 \
  --output-format png \
  --model replicate/black-forest-labs/flux-schnell

# Save downloads to a custom directory
npx @aeon-ai-pay/agentos create-image --prompt "..." --output ./out

# Check wallet balance (BNB + USDT)
npx @aeon-ai-pay/agentos wallet

# Add more USDT later (forces a transfer even if already prepared)
npx @aeon-ai-pay/agentos prepare --topup-amount 50

# Top up BNB gas for local wallet (only needed before withdraw)
npx @aeon-ai-pay/agentos gas --amount 0.001

# Withdraw remaining funds (USDT + BNB) back to main wallet
npx @aeon-ai-pay/agentos withdraw

# Show current configuration
npx @aeon-ai-pay/agentos setup --show

# Uninstall skill and clear cache
npx @aeon-ai-pay/agentos clean

Prerequisites

  • Node.js >= 25
  • A mobile wallet app with WalletConnect support (MetaMask, OKX Wallet, Trust Wallet, etc.)
  • USDT (BEP-20) on BSC for image-generation payments
  • A small amount of BNB (~0.0003) in your main walletagentos prepare automatically transfers it to the session key during the same WalletConnect scan to cover the one-time approve gas. You don't need to send BNB to the session key manually.

How It Works

1. CLI auto-generates a session key (disposable wallet) locally
2. `prepare` does the up-front money work in one WalletConnect session:
   - Triggers only when the session key has < 1 USDT (≈ 50 image generations of headroom) or has not yet approved the facilitator. Above that threshold it's a no-op.
   - When triggered, you pick a top-up tier (5 / 20 / 50 USDT or custom ≥ 5) — the **minimum is 5 USDT** so a single funding lasts a long time.
   - If a fresh approve is needed, also transfers 0.0003 BNB for gas, then session key broadcasts `ERC20.approve(facilitator, MaxUint256)`.
   - When invoked headlessly (e.g. by an agent), pass `--topup-amount <usdt>`; otherwise the CLI exits with `TOPUP_REQUIRED` so the agent can ask the user to choose.
3. After `prepare`, every `create-image` is a single gasless EIP-712 signature — no further wallet interaction
4. Server returns the generated image (URLs); CLI downloads each, reads dimensions/size

Agent flow:
  User prompt -> Agent activates skill -> x402 two-phase protocol:
    1. GET /open/ai/x402/skillBoss/create?body=<urlencoded JSON>
       (decoded: { model, inputs: { prompt, aspect_ratio, output_format } })
                                              -> HTTP 402 + payment requirements
    2. Session key EIP-712 signature, retry same URL with PAYMENT-SIGNATURE header
                                              -> HTTP 200, { transaction, data: { images } }
    3. CLI downloads each images[].url to ~/agentos-images/, parses
       PNG/JPEG/WebP headers for width × height, fs.stat for size

Pricing

  • Per-call USDT amount is decided by the server in the 402 response — not hardcoded client-side.
  • The wallet is charged exactly that amount.
  • Top-up tiers: 5 / 20 / 50 USDT or custom ≥ 5 USDT — never a "just enough" decimal. The 5 USDT floor auto-rises if a future capability ever costs more (e.g. an 8 USDT call would offer the 20 / 50 tiers plus custom ≥ 8).
  • Headless callers pass --topup-amount <usdt> (or are prompted by the calling agent on a TOPUP_REQUIRED exit).

Configuration

Config is stored in ~/.agentos/config.json (file permissions 600).

Run setup --check to auto-generate a local wallet. The main wallet private key is never stored locally — only the session key (a locally generated disposable wallet) is saved. Funding is done via WalletConnect QR scan.

Override the default service URL (optional):

npx @aeon-ai-pay/agentos setup --service-url https://custom-api.example.com

License

MIT