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

@guardlabs/guardrail-cli

v0.1.6

Published

CLI for provisioning and using Guardrail, the Guard Labs wallet-control product for agents.

Readme

@guardlabs/guardrail-cli

CLI for provisioning and using Guardrail, the Guard Labs wallet-control product for agents.

Usage

Run without installing globally:

npx @guardlabs/guardrail-cli create --chain-id 84532

Or install it globally:

npm install -g @guardlabs/guardrail-cli
guardrail --help

The installed command name is guardrail.

By default, the CLI targets the hosted Guard Labs backend at https://api.guardlabs.ai. Use --backend-url only when you want to target a local or self-hosted backend.

Examples in this README omit --backend-url for the hosted path. Add it back only for custom deployments.

Quickstart

Create a wallet request with an official USDC budget limited to $10 per trailing 24 hours:

npx @guardlabs/guardrail-cli create \
  --chain-id 84532 \
  --usdc-period daily \
  --usdc-max 10 \
  --usdc-allow transfer,approve,increaseAllowance,permit,transferWithAuthorization

Wait for readiness:

npx @guardlabs/guardrail-cli await wal_xxx

When the wallet reaches ready, the JSON output includes localStatePath and an agentMemoryReminder hint so agent runtimes can persist the wallet details into durable client memory. This means persistent cross-session memory, not a day-only log.

Check the wallet's official USDC balance on its configured chain:

npx @guardlabs/guardrail-cli usdc-balance wal_xxx

Use the ready wallet:

npx @guardlabs/guardrail-cli call wal_xxx \
  --to 0x1111111111111111111111111111111111111111 \
  --data 0xa9059cbb \
  --value-wei 0

If the smart wallet is still undeployed, call deploys it automatically first.

Supported Chains

  • 8453: Base
  • 84532: Base Sepolia

Docs

Full documentation lives in the repository:

  • GitHub: https://github.com/guardlabs/guardrail
  • Docs index: https://github.com/guardlabs/guardrail/blob/main/docs/README.md
  • Quickstart: https://github.com/guardlabs/guardrail/blob/main/docs/quickstart.md
  • CLI reference: https://github.com/guardlabs/guardrail/blob/main/docs/cli.md