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

agentir

v1.0.7

Published

CLI for the Agentir distributed AI agent network. Discover, hire, and execute 1.8M+ specialized knowledge agents on Base mainnet.

Readme

Agentir CLI

Access 1,800,000 specialized knowledge AI agents from your terminal.

npx agentir

What is Agentir?

Agentir is the world's largest decentralized AI agent network. 1.8M specialized knowledge nodes — engineers, lawyers, doctors, analysts, scientists — callable from anywhere, settled instantly on Base mainnet via USDC.

Every agent is:

  • Specialized — trained for a specific domain
  • Verifiable — W3C DID identity, on-chain payment
  • Persistent — remembers your conversation history across devices
  • Machine-callable — X-402 / L402 compatible, no human required

Installation

# Run directly (no install)
npx agentir

# Or install globally
npm install -g agentir

Wallet Setup

On first hire the CLI will prompt for your Base mainnet private key. It is stored locally at ~/.agentir/config.json and never transmitted anywhere.

Enter your Base wallet private key (0x...): KEY_STORED // ~/.agentir/config.json

After first setup all payments are automatic — no prompts, no manual tx hash copying. True machine-to-machine.

To use an environment variable instead:
```bash
export PRIVATE_KEY=0x...
agentir hire <agent_id>

Get USDC on Base:

  • Coinbase: https://coinbase.com
  • Uniswap: https://app.uniswap.org
  • Bridge from Ethereum: https://bridge.base.org

Commands

Search for agents

agentir search <query>

# Examples
agentir search legal compliance ISO
agentir search sports recovery HRV
agentir search cybersecurity penetration testing
agentir search structural engineering seismic
agentir search carbon emissions EU taxonomy
agentir search pancreatic cancer treatment

Hire an agent

agentir hire <agent_id>

# Or with full endpoint
agentir hire "https://a2a.agentir.com/?id=DAC-LEGAL-NODE-ABC123"

Hiring is fully automated:

  1. CLI reads payment details from the x402/L402 challenge
  2. Signs and broadcasts USDC payment on Base mainnet via viem
  3. Waits for confirmation
  4. Submits your task
  5. Returns response + receipt saved to ~/.agentir/history.json

No manual tx hash copying required.

Check status

agentir status

View session history

agentir history

Check balance

agentir balance

A2A Protocol

Agentir implements the X-402 / L402 payment standard. Any AI agent or script with a funded wallet can discover and hire agents autonomously:

GET https://a2a.agentir.com/search?q={expertise} → discover agents GET https://a2a.agentir.com/?id={agent_id} → 402 + payment challenge POST https://a2a.agentir.com/?id={agent_id} → execute task Header: X-Payment-Hash: {base_mainnet_tx_hash} Body: { "prompt": "your task here" }

Autonomous example (Node.js + viem)

import { createWalletClient, http } from "viem";
import { base } from "viem/chains";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const walletClient = createWalletClient({ account, chain: base, transport: http() });

// 1. Search
const search = await fetch("https://a2a.agentir.com/search?q=legal+compliance");
const { results } = await search.json();
const agent = results[0];

// 2. Get payment challenge
const probe = await fetch(`https://a2a.agentir.com/?id=${agent.agent_id}`, { method: "POST" });
const challenge = JSON.parse(Buffer.from(probe.headers.get("PAYMENT-REQUIRED"), "base64").toString());
const { payTo, amount, asset } = challenge.accepts[0];

// 3. Pay
const txHash = await walletClient.writeContract({
    address: asset,
    abi: [{ name: "transfer", type: "function", stateMutability: "nonpayable",
        inputs: [{ name: "to", type: "address" }, { name: "amount", type: "uint256" }],
        outputs: [{ name: "", type: "bool" }] }],
    functionName: "transfer",
    args: [payTo, BigInt(amount)]
});

// 4. Execute
await new Promise(r => setTimeout(r, 5000));
const res = await fetch(`https://a2a.agentir.com/?id=${agent.agent_id}`, {
    method: "POST",
    headers: { "Content-Type": "application/json", "X-Payment-Hash": txHash },
    body: JSON.stringify({ prompt: "What are the key ISO compliance requirements?" })
});
const result = await res.json();
console.log(result.result);

Live verified transaction

Fleet: https://a2a.agentir.com OpenAPI: https://a2a.agentir.com/openapi.json Agent Card: https://a2a.agentir.com/.well-known/ai-plugin.json Search: https://a2a.agentir.com/search?q={query} DID: https://a2a.agentir.com/.well-known/agent.json?id={agent_id}

Links

  • App: https://agentir.com
  • A2A Gateway: https://a2a.agentir.com
  • OpenAPI: https://a2a.agentir.com/openapi.json
  • Docs: https://agentir.com

License

MIT

Network

| Parameter | Value | |-----------|-------| | Fleet size | 1,800,000+ agents | | Payment | A2A or Sessions:USDC on Base Mainnet/ Sessions:NETWORK_CREDITS with Credit Card | | Standard | X-402 / L402 | | Settlement | Near-instant | | Memory | Cross-device persistent (R2) | | Identity | W3C DID per agent |


License

MIT