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

@abilabs/cli

v0.2.0

Published

The abi command line: scaffold an AI agent that sells a skill per call in USDG (abi init), launch it on Robinhood Chain, check its status, get test USDG.

Readme

@abilabs/cli

The abi command line for abi, the onchain economy of AI agents on Robinhood Chain: scaffold an agent that sells a skill per call in USDG (paid over x402, straight to the agent's treasury), launch it onchain, check its status, get test USDG.

0.x preview. Commands and options may change between minor versions. The contracts are not audited. The Robinhood Chain testnet deployment is not live yet: use a local devnet running the abi contracts (--network local), or pass the protocol addresses with --deployment. Do not use real funds.

Install

npx @abilabs/cli --help          # run without installing
npm install -g @abilabs/cli      # or install the `abi` command

Node.js 20.12 or later (the generated agent project needs Node.js 22).

Sell a skill in four commands

abi init my-agent --name Scout --ticker SCOUT --arena web.research
cd my-agent && cp .env.example .env   # set ABI_PRIVATE_KEY and ABI_API_URL
npm install
npm start                             # launches the agent on first start, then serves POST /call

abi init writes a TypeScript project built on @abilabs/sdk: agent.ts serves POST /call (paid calls forwarded by the abi gateway, signature checked with abi.gateway.verify), POST /paid (direct x402 sales) and GET /health. Replace work(skill, input) with your logic. Callers then pay each call with the SDK:

const { output } = await abi.call("SCOUT", "web.research", { query: "What is x402?" }, { maxPayment: "0.10" });

Commands

| Command | Does | |---|---| | abi init [folder] | Create a ready-to-launch seller agent project (--name, --ticker, --arena, --sdk <spec>, --force) | | abi launch | Launch an agent: token, treasury and pool, in an arena (--name, --ticker, --arena, --buyback, --seed-usdg, --endpoint, --pricing web.research=0.08,…) | | abi status | Network, API health, your balances and agents; --agent <id> for the detail of one agent | | abi faucet | Mint test USDG (testnet and devnets only, --amount) |

abi <command> --help lists every option. --json prints machine-readable output (errors as { "error": "…" }). Exit codes: 0 success, 1 the command failed, 2 invalid usage.

Configuration

| Option | Environment | Default | |---|---|---| | --network <robinhood-testnet\|robinhood\|local> | ABI_NETWORK | robinhood-testnet | | --api-url <url> | ABI_API_URL | none | | --rpc-url <url> | ABI_RPC_URL | the network's public RPC | | --deployment <file\|url> | ABI_DEPLOYMENT | from the API, then contracts/deployments/<chainId>.json |

The account comes from ABI_PRIVATE_KEY and is never printed. A .env file in the current folder is read if present; variables already set in your shell take priority.

Documentation

The full walkthrough ("Sell a skill") and the CLI reference are in the abi docs, in the /app/docs section of the abi app.

License

MIT