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

@lit-protocol/aw-cli

v0.1.0-16

Published

The Agent Wallet CLI is a command-line interface (CLI) application designed to demonstrate the capabilities of agent wallets. It allows users to manage policies, delegate permissions, and execute tools within defined constraints. This tool is particularly

Readme

Agent Wallet CLI

The Agent Wallet CLI is a command-line interface (CLI) application designed to demonstrate the capabilities of agent wallets. It allows users to manage policies, delegate permissions, and execute tools within defined constraints. This tool is particularly useful for developers and administrators working with decentralized systems and Lit Protocol.


Table of Contents

  1. Features
  2. Prerequisites
  3. Installation
  4. Configuration
  5. Usage
  6. Getting Test Tokens
  7. Contributing
  8. License

Features

  • Admin Role: Set policies and manage delegatees.
  • Delegatee Role: Execute tools within policy constraints.
  • Lit Action Tools: Deploy tools to IPFS for decentralized execution.
  • Policy Management: Define and enforce tool usage policies for delegatees.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v16 or higher)
  • pnpm (Package manager)
  • A wallet (e.g., MetaMask) with a private key for authentication
  • A Pinata API key for IPFS interactions

Installation

# Clone the repository
git clone https://github.com/your-username/agent-wallet-cli.git
cd agent-wallet-cli

# Install dependencies
pnpm install

# Build the project
pnpm build

Configuration
bash
Copy

Rename the .env.example file to .env

mv .env.example .env

Open the .env file and add your Pinata API key:

PINATA_API_KEY=your-pinata-api-key

Usage Starting the CLI bash Copy

pnpm start:cli

The CLI will deploy Lit Action tools to IPFS and display a wall of text confirming the deployment. Selecting a Lit Network

You will be prompted to select a Lit network:

? Select a Lit network: › - Use arrow-keys. Return to submit.
❯   Datil Dev - Development network
    Datil Test
    Datil

    Datil Dev: For development purposes.

    Datil Test: For testing environments.

    Datil: For production use.

If you're just getting started, choose Datil. You can obtain test tokens (tstLit) from the Chronicle Yellowstone Faucet. https://chronicle-yellowstone-faucet.getlit.dev/

Selecting Your Role

Next, select your role. If you are just gettig started, choose Admin: plaintext Copy

? Select your role: › - Use arrow-keys. Return to submit.
❯   Admin - Can set policies and manage delegatees
    Delegatee - Can execute tools within policy constraints

Admin Actions

If you choose the Admin role:

Enter your private key when prompted. This key remains local and is not shared.

Use the following actions:

    Add Delegatee: Add a wallet address as a delegatee.

    Permit Tool: Allow a tool to be used by delegatees.

    Set Tool Policy: Define usage policies for delegatees.

Delegatee Actions

If you choose the Delegatee role:

Restart the CLI by pressing ^C and running pnpm start:cli again.

Select Delegatee as your role.

Execute tools within the constraints set by the admin.