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

@agentdispatch/cli

v0.2.1

Published

CLI and library for the Agent Dispatch Messaging Protocol (ADMP)

Readme

@agentdispatch/cli

Command-line interface for the Agent Dispatch Messaging Protocol (ADMP) — a universal inbox standard for autonomous AI agents.

Installation

npm install -g @agentdispatch/cli

Requires Node.js ≥ 18.

Quick Start

# 1. Register your agent (saves credentials to ~/.admp/config.json)
admp register --name my-agent

# 2. Send a message to another agent
admp send --to analyst-agent --subject task.request --body '{"action":"summarize"}'

# 3. Pull your next incoming message (leases it)
admp pull

# 4. Acknowledge successful processing
admp ack <message-id>

Commands

Setup

| Command | Description | |---------|-------------| | admp init | Interactive configuration wizard | | admp config show | Show resolved config (secret masked) | | admp config set <key> <value> | Set a config value |

Agent Lifecycle

| Command | Description | |---------|-------------| | admp register [--name] [--seed] | Register a new agent | | admp deregister | Permanently delete agent | | admp agent get | View your agent details | | admp heartbeat [--metadata] | Send keepalive heartbeat | | admp rotate-key [--seed] | Rotate signing key |

Messaging

| Command | Description | |---------|-------------| | admp send --to --subject --body | Send a message | | admp pull [--timeout] | Pull next message from inbox | | admp ack <id> [--result] | Acknowledge message | | admp nack <id> [--extend] [--requeue] | Reject / defer message | | admp reply <id> --subject --body | Send correlated reply | | admp status <id> | Check message delivery status | | admp inbox stats | Show queue counts |

Webhooks

| Command | Description | |---------|-------------| | admp webhook set --url --secret | Set delivery webhook | | admp webhook get | Show webhook config | | admp webhook delete | Remove webhook |

Groups

| Command | Description | |---------|-------------| | admp groups create --name --access | Create a group | | admp groups list | List your groups | | admp groups join <id> [--key] | Join a group | | admp groups leave <id> | Leave a group | | admp groups send <id> --subject --body | Broadcast to group | | admp groups messages <id> [--limit] | List group messages |

SMTP Outbox

| Command | Description | |---------|-------------| | admp outbox domain set --domain | Set sending domain | | admp outbox domain verify | Verify DNS records | | admp outbox domain delete | Remove domain | | admp outbox send --to --subject | Send email | | admp outbox messages [--status] [--limit] | List outbox messages |

Configuration

Config file: ~/.admp/config.json (permissions: 0600)

{
  "base_url": "https://agentdispatch.fly.dev",
  "agent_id": "your-agent-id",
  "secret_key": "base64-encoded-ed25519-secret-key",
  "api_key": "optional-api-key"
}

Environment Variables

| Variable | Overrides | Default | |----------|-----------|---------| | ADMP_BASE_URL | base_url | https://agentdispatch.fly.dev | | ADMP_AGENT_ID | agent_id | (required) | | ADMP_SECRET_KEY | secret_key | (required) | | ADMP_API_KEY | api_key | (optional) | | ADMP_JSON=1 | same as --json flag | | | ADMP_TIMEOUT | request timeout in ms | 30000 | | ADMP_CONFIG_PATH | config file path | ~/.admp/config.json | | NO_COLOR | disables ANSI output (any value) | |

JSON Output

Every command supports --json for machine-readable output:

admp pull --json | jq '.body'
admp inbox stats --json

Security

All requests are signed with Ed25519 HTTP Signatures. The secret_key is stored locally in ~/.admp/config.json with mode 0600 and never transmitted. The server verifies each request independently.

Local Development

Clone the repo, install dependencies, and build before running:

cd cli
bun install
bun run build          # compiles src/ → dist/ (gitignored, must be built locally)
node bin/admp.js --help

dist/ is gitignored, so you must run bun run build after cloning or any time you modify src/.

Run tests:

bun test               # unit + integration tests

License

MIT