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

@agentid-protocol/cli

v0.1.3

Published

CLI for AgentID - manage agent identities, manifests, and trust verification

Downloads

431

Readme

@agentid-protocol/cli

Command-line tool for managing AI agent identities, manifests, and trust verification.

npm License

Install

npm install -g @agentid-protocol/cli

Or run directly with npx:

npx @agentid-protocol/cli <command>

Requires Node.js >= 18.

Commands

agentid init

Generate a new Ed25519 keypair for your agent.

agentid init
# Creates keypair.json with 0600 permissions

agentid init --output my-agent.json
# Custom output path

agentid init --force
# Overwrite existing keypair

agentid manifest create

Create an agent manifest declaring identity, capabilities, and constraints.

agentid manifest create \
  --name "PaymentBot" \
  --agent-version "1.0.0" \
  --capabilities "payments:send,data:read" \
  --expires "2027-01-01T00:00:00Z"

agentid sign

Sign a manifest with your private key.

agentid sign
# Signs manifest.json using keypair.json, outputs signed-manifest.json

agentid sign --manifest my-manifest.json --keypair my-agent.json --output signed.json

agentid verify

Verify a signed manifest's signature, expiry, and trust level.

agentid verify signed-manifest.json

agentid policy test

Test a policy against a signed manifest and action.

agentid policy test \
  --manifest signed-manifest.json \
  --action "payments:send" \
  --policy policy.json

agentid rotate

Rotate to a new keypair with a signed continuity proof.

agentid rotate
# Generates new keypair, creates rotation statement signed by old key

agentid revoke

Revoke an agent identity.

agentid revoke --reason "Key compromised"
# Creates a signed revocation statement

Typical workflow

# 1. Generate identity
agentid init

# 2. Create manifest with capabilities
agentid manifest create \
  --name "MyAgent" \
  --agent-version "1.0.0" \
  --capabilities "data:read,data:write"

# 3. Sign it
agentid sign

# 4. Share signed-manifest.json with verifiers

# 5. Verifier checks it
agentid verify signed-manifest.json

# 6. Test against a policy
agentid policy test \
  --manifest signed-manifest.json \
  --action "data:read" \
  --policy policy.json

SDK

The CLI is built on top of @agentid-protocol/core. For programmatic usage, install the core SDK directly:

npm install @agentid-protocol/core

Links

License

Apache 2.0