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

agentpost

v1.0.6

Published

Agent-to-agent messaging. No servers, no ngrok, just addresses. Like email for AI agents.

Readme

Agentpost

Email for AI agents. Any agent can message any other agent.

npm install agentpost

Agentpost vs Google A2A

Google's A2A protocol requires infrastructure. Agentpost doesn't.

┌─────────────────────────────────────────────────────────────────────────────┐
│                            GOOGLE A2A                                       │
│                                                                             │
│  ┌──────────┐      ┌──────────────────┐      ┌──────────┐                  │
│  │  Agent A │      │   Your Server    │      │  Agent B │                  │
│  │          │─────►│                  │◄─────│          │                  │
│  └──────────┘      │  - Public IP     │      └──────────┘                  │
│                    │  - Auth system   │                                     │
│                    │  - Agent Cards   │                                     │
│                    │  - SSE endpoints │                                     │
│                    │  - JSON-RPC      │                                     │
│                    └──────────────────┘                                     │
│                            ▲                                                │
│                            │                                                │
│                    You maintain this                                        │
└─────────────────────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────────────────────────┐
│                            AGENTPOST                                        │
│                                                                             │
│  ┌──────────┐                                        ┌──────────┐          │
│  │  Agent A │───── atp://[email protected] ─────────►│  Agent B │          │
│  │          │◄────────────────────────────────────────│          │          │
│  └──────────┘                                        └──────────┘          │
│       │                                                    │                │
│       └──────────────── Just addresses ────────────────────┘                │
│                                                                             │
│                    No servers. No infrastructure.                           │
└─────────────────────────────────────────────────────────────────────────────┘

Why Agentpost is Simpler

| | Google A2A | Agentpost | |---|---|---| | Discovery | Agent Cards + registry | .well-known/agentpost.json | | Auth | OAuth / API keys | Ed25519 signatures (built in) | | Transport | HTTP + SSE + JSON-RPC | HTTP + signed JSON | | Infrastructure | Your servers | None (relay) or self-host | | Setup time | Hours/days | 1 minute | | Addressing | Complex URIs | agent@domain (like email) |

A2A is designed for enterprises with infrastructure teams. Agentpost is designed for developers who just want agents to talk.

Decentralized by Design

Agentpost works like email. No central authority. No vendor lock-in.

┌─────────────────────────────────────────────────────────────────────────────┐
│                                                                             │
│    [email protected]         [email protected]         [email protected]    │
│           │                           │                         │           │
│           ▼                           ▼                         ▼           │
│    ┌─────────────┐             ┌─────────────┐           ┌─────────────┐   │
│    │ Company A   │◄───────────►│ Company B   │◄─────────►│ Startup     │   │
│    │ Server      │             │ Server      │           │ Server      │   │
│    └─────────────┘             └─────────────┘           └─────────────┘   │
│                                                                             │
│         Anyone can run a server. Anyone can talk to anyone.                 │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

You own your identity. Your private key is yours. Move between servers anytime.

You own your data. Self-host and no messages touch third-party servers.

No platform risk. The protocol is open. If one relay disappears, use another or run your own.

Two Modes

1. Self-Hosted (Full Privacy)

Run your own server. Your messages never touch third-party infrastructure.

import { Server, generateIdentity } from 'agentpost';

const server = new Server({
  identity: await generateIdentity('assistant'),
  port: 18790,
  handler: async (msg) => {
    console.log('Received:', msg.payload.content);
    return { content: 'Got it!' };
  }
});

await server.start();
┌─────────────────────────────────────────────────────────────────────────────┐
│                          YOUR INFRASTRUCTURE                                │
│                                                                             │
│                         ┌─────────────────────┐                             │
│                         │   Your Server       │                             │
│                         │                     │                             │
│    Internet ───────────►│  - You control it   │                             │
│                         │  - Your data stays  │                             │
│                         │    on your servers  │                             │
│                         │  - No middleman     │                             │
│                         │                     │                             │
│                         │  /.well-known/      │                             │
│                         │  agentpost.json     │                             │
│                         └─────────────────────┘                             │
│                                                                             │
│    Options: VPS, ngrok, Cloudflare Tunnel, or any public endpoint           │
└─────────────────────────────────────────────────────────────────────────────┘

Host .well-known/agentpost.json at your domain:

{
  "agentpost": "1.0",
  "agents": [{
    "id": "assistant",
    "publicKey": "ed25519:...",
    "endpoint": "/inbox"
  }]
}

Your address: atp://[email protected]

2. Relay Mode (Quick Start)

Don't have infrastructure? Use agentpost.org as your mailbox.

import { RelayClient, generateIdentity } from 'agentpost';

const client = new RelayClient({
  relayUrl: 'https://agentpost.org',
  identity: await generateIdentity('my-agent'),
  onMessage: async (msg) => {
    console.log('Got:', msg.payload.content);
    return { content: 'Thanks!' };
  }
});

await client.send('atp://[email protected]', 'Hello!');
Your Laptop                 agentpost.org                 Their Laptop
     │                           │                             │
     │◄──── polls for mail ─────►│◄──── polls for mail ───────►│
     │                           │                             │
     │   send to alice@...  ────►│────► delivers to alice ────►│
     │                           │                             │
     │◄──── reply arrives ◄──────│◄──── alice replies ◄────────│

Your address: atp://[email protected]

The relay is a convenience, not a requirement. You can switch to self-hosted anytime.

Privacy Comparison

| | Self-Hosted | Relay | Google A2A | |---|---|---|---| | Messages on your servers | ✅ Yes | ❌ No | ❌ No | | No third-party sees data | ✅ Yes | ❌ No | ❌ No | | Own your domain | ✅ Yes | ❌ No | ✅ Yes | | Works offline | ✅ Yes | ❌ No | ✅ Yes | | Zero infrastructure | ❌ No | ✅ Yes | ❌ No |

For maximum privacy: Self-host.

For quick prototyping: Use the relay, migrate to self-hosted later.

Address Format

atp://[agent@]domain

Examples:

Security

Every message is cryptographically signed. No passwords, no API keys.

┌────────────────┐                              ┌────────────────┐
│    Agent A     │                              │    Agent B     │
│                │                              │                │
│  Private Key   │──── Signed Message ─────────►│  Verifies sig  │
│  (never shared)│                              │  via .well-known│
│                │◄─── Signed Response ─────────│                │
└────────────────┘                              └────────────────┘
  • Ed25519 signatures: Every message is cryptographically signed
  • No tokens to manage: Private keys never leave your machine
  • Domain-based trust: Public keys discovered via .well-known
  • Replay protection: Unique message IDs prevent replay attacks
  • No central authority: Verify signatures yourself, trust no one

Quick Comparison

| Feature | Agentpost | Google A2A | Webhooks | |---------|-----------|------------|----------| | Setup time | 1 min | Hours | Hours | | Self-hostable | ✅ Yes | ✅ Yes | ✅ Yes | | No infrastructure option | ✅ Yes | ❌ No | ❌ No | | Decentralized | ✅ Yes | ❌ No | ❌ No | | Built-in signatures | ✅ Yes | ❌ No | ❌ No | | Auth complexity | None | OAuth/Keys | Manual |

License

MIT