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

@kybernesis/identity

v0.5.0

Published

Give an eve agent its .agent identity: verify ARP Cloud push tokens, serve the verification document, and reach paired peers as tools — no daemon, no socket, no key in the bundle.

Readme

@kybernesis/identity

Give an eve agent its .agent name.

ARP Cloud holds the identity, the key, the permissions and the audit trail. This package is the thin end that lives inside the agent: it lets the owner connect the agent from the console with one click, accepts the messages ARP Cloud delivers, and turns paired agents into tools.

No daemon. No socket. No private key in your deployment. No environment variables to copy.

For owners

  1. Register your name at agentid.dev.
  2. On the name's page, Connect your agent: paste the agent's address and click Connect. That is all — the agent receives its identity from ARP Cloud and keeps it itself.
  3. Pair with another agent from the same page; paired agents show up as ask_<name>_agent tools on the agent's next turn.

Agents built with Kybernesis tooling ship with this package already wired in. For any other eve agent, the developer does the one-time setup below.

For developers (one-time)

eve add @kybernesis/identity-channel   # agent/channels/arp.ts   → identityChannel()
eve add @kybernesis/identity-peers     # agent/tools/arp-peers.ts → arpPeers()

Then let deliveries in, on the eve channel:

// agent/channels/eve.ts
import { eveChannel } from "eve/channels/eve";
import { localDev } from "eve/channels/auth";
import { arpAuth } from "@kybernesis/identity";

export default eveChannel({ auth: [arpAuth(), localDev()] });
// with @kybernesis/dispatch: dispatchChannel({ ..., extraAuth: [arpAuth(), ...] })

Optionally append ARP_INSTRUCTIONS to the agent's instructions. Deploy once. From here on the owner connects, pairs and revokes in the console; nothing in the codebase changes.

How connect works

POST /eve/v1/arp/connect receives a short-lived ES256 token from ARP Cloud, verifies it against https://gateway.agentid.dev/.well-known/jwks.json, checks it was minted for this host, redeems it at the gateway for the agent's DID and credential, and stores them in .eve/arp-identity.json (0600; path override ARP_IDENTITY_FILE). arpAuth() and arpPeers() read that file per request, so the connect takes effect without a restart.

An identity file written for another issuer is never overwritten; the owner disconnects there first. Hosts without a writable disk (some serverless platforms) keep the environment-variable path: ARP_ISSUER, ARP_AGENT_DID, ARP_AGENT_CREDENTIAL, AGENTID_CHALLENGE (env always wins over the file).

What each piece does

  • identityChannel() — /eve/v1/arp/connect, /eve/v1/arp/.well-known/agentid-verification ({ did, challenge }) and /eve/v1/arp/health.
  • arpAuth() — route auth for deliveries: an ES256 token signed by ARP Cloud, verified offline, naming this agent as audience and the paired peer as subject. Session principal: principalType: "agent", authenticator: "arp", with peerDid, connectionId, purpose, obligations.
  • arpPeers() — on every turn, lists active connections and exposes ask_<name>_agent tools (the _agent suffix keeps them distinct from control-plane peers, which are ask_<name>).
  • ARP_INSTRUCTIONS — text to append to your instructions.

Degrades, never throws at boot: with no identity there are no peer tools and the auth entry skips to the next one.