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

@agnt-id/sdk

v0.1.2

Published

The complete .agnt SDK — resolve, A2A, ERC-8004, MCP, and framework plugins in one install

Readme

@agnt-id/sdk

The complete .agnt SDK — resolve names, generate A2A Agent Cards, bridge ERC-8004 identities, and plug into LangChain, CrewAI, or ElizaOS. One install, everything included.

.agnt is an on-chain ENS-style naming system for AI agents on Ethereum, Base, and Arbitrum. Register a name like alice.agnt and point it at wallets, A2A endpoints, MCP servers, and more.

Install

npm i @agnt-id/sdk

Quick Start

import { AgntClient } from "@agnt-id/sdk";

const agnt = new AgntClient();

// Resolve a name
const result = await agnt.resolve("alice.agnt");
console.log(result.records.wallets);
console.log(result.records.a2a);

// Reverse lookup
const reverse = await agnt.reverse("0x1234...abcd");

// Discover agents
const agents = await agnt.discover({ q: "trading" });

// Check availability
const free = await agnt.available("myagent");

What's Included

This meta-package bundles everything in the @agnt-id ecosystem:

| Sub-path | Package | Description | |----------|---------|-------------| | @agnt-id/sdk | @agnt-id/resolve | Core SDK — resolve, reverse, discover, trust, availability | | @agnt-id/sdk/a2a | @agnt-id/a2a | Google A2A Agent Card generator | | @agnt-id/sdk/agent0 | @agnt-id/agent0 | ERC-8004 / Agent0 identity bridge | | @agnt-id/sdk/langchain | @agnt-id/frameworks | LangChain tools | | @agnt-id/sdk/crewai | @agnt-id/frameworks | CrewAI tools | | @agnt-id/sdk/eliza | @agnt-id/frameworks | ElizaOS plugin |

Usage by Sub-path

Core (resolve, reverse, discover)

import { AgntClient, AgntError } from "@agnt-id/sdk";

const agnt = new AgntClient({ chainId: "eip155:8453" }); // Base
const result = await agnt.resolve("alice.agnt");

A2A Agent Cards

import { toAgentCard, agentCardToJSON } from "@agnt-id/sdk/a2a";

const card = toAgentCard(resolved, { version: "1.0.0" });
console.log(agentCardToJSON(card));

ERC-8004 / Agent0

import { toRegistrationFile, fromRegistrationFile } from "@agnt-id/sdk/agent0";

const file = toRegistrationFile(resolved, {
  agentURI: "https://alice.example.com/.well-known/agent.json",
});

LangChain

import { AgntResolveTool, AgntReverseTool, AgntDiscoverTool } from "@agnt-id/sdk/langchain";

const tools = [new AgntResolveTool(), new AgntReverseTool(), new AgntDiscoverTool()];

CrewAI

import { AgntResolveTool, AgntReverseTool, AgntDiscoverTool } from "@agnt-id/sdk/crewai";

const tools = [new AgntResolveTool(), new AgntReverseTool(), new AgntDiscoverTool()];

ElizaOS

import { agntPlugin } from "@agnt-id/sdk/eliza";

runtime.registerPlugin(agntPlugin());

MCP Server

For AI assistants that support MCP (Claude, Cursor, Windsurf), use the MCP server instead:

npx @agnt-id/mcp

See @agnt-id/mcp for setup instructions.

Individual Packages

Prefer installing only what you need? Each sub-path is available as a standalone package:

npm i @agnt-id/resolve     # Core SDK only
npm i @agnt-id/a2a          # A2A Agent Cards only
npm i @agnt-id/agent0       # ERC-8004 bridge only
npm i @agnt-id/frameworks   # Framework plugins only

Links

License

MIT