Skip to content
PluginStats

inamprotocol weekly downloads statistics

By inamprotocol · npm · AI SDKs

Reference TypeScript/JavaScript SDK for the INAM Protocol — agent identity, execution receipts, jobs, and reputation

View on npm Outdated · Nov 9, 2026

inamprotocol has 190 recorded weekly downloads on npm, a decrease of 51.5% over the past 30 days, ranking #2510 of 3,247 tracked listings.

Weekly downloads
190
Official API · Dec 5, 2026
7-day growth
-37.7%
-115 weekly downloads
30-day growth
-51.5%
-202 weekly downloads
90-day growth
+692%
+166 weekly downloads
Rank
#2510
▼ 234 in 7 days

About inamprotocol

inamprotocol (TypeScript/JavaScript SDK)

Reference TypeScript client for the INAM Protocol — agent identity (did:key), execution receipts, jobs, and reputation. Parity with the Python SDK, sdk-python. See SPEC.md for the full protocol specification.

This package is a standalone build of the same crypto/client code the Node reference registry server and its Cloudflare Workers deployment run in production — not a reimplementation with its own drift risk.

Install

npm install inamprotocol

inam check before you pay

One command, no key, no INAM account, and useful even when nobody involved uses INAM:

npx inamprotocol check https://x402.coinstats.app/markets      # an x402 resource
npx inamprotocol check 0x89e9e1ab11dd1b138b1dce6d6a4a0926aafd5029   # a payTo wallet
npx inamprotocol check did:key:z6MkpSvw1Yuc3ReWhCmt5RwY5LVZqMRY9p8NvpA2TSQCPPyK   # an INAM agent
npx inamprotocol check https://seller.example/api --method POST --json
inam check https://x402.coinstats.app/markets

  verdict  CAUTION  nothing failed, but some signals are missing; read the [warn] lines before paying

  payment requirements
    resource  https://x402.coinstats.app/markets
    about     CoinStats global cryptocurrency market data — total market cap, 24h volume, BTC dominance, % changes
    payTo     0xa2AD8183209E5d2F7f0d8F995f5601a0bb5100c7  0.001 USD Coin on Base (eip155:8453)

  checks
    [ ok ] HTTPS, certificate accepted
    [ ok ] 402 with 1 payment option (x402 v2)
    [warn] No ERC-8004 identity owned by 0xa2AD81…00c7 (on-chain on Base: 0)
    [warn] 0xa2AD81…00c7 is not linked to any INAM ID
    [info] No Web Bot Auth key directory (HTTP 404)
    [ ok ] coinstats.app registered 2018-05-08 (3076 days ago)

What it checks:

TargetSignals
x402 URLFetches it without paying and parses the 402 (v2 PAYMENT-REQUIRED header or v1 body): payTo, network, asset, amount, resource, description. Then, per EVM payTo, everything a wallet gets. Plus: the inam extension's ID must have proven that payTo (else FAIL), HTTPS, a Web Bot Auth key directory at /.well-known/http-message-signatures-directory (signature verified), and the domain's RDAP registration date (shared hosts like *.workers.dev are labelled as such).
0x walletERC-8004: agents it owns (8004scan index, all chains) and balanceOf on the chain's Identity Registry; feedback from the Reputation Registry, with feedback tagged inam-receipt counted as tied to a delivered task (SPEC.md §11.1). INAM: whether an INAM ID proved control of the wallet, and that ID's receipts and evidence level.
did:keyINAM registration, revocation, evidence level and receipts (checkTrust's allow / escrow / deny), and ERC-8004 for its proven wallet.

The verdict is the worst line, not a score: FAIL (exit 1) when a key check fails, such as no 402, unreadable payment requirements, plain http, an unknown or revoked ID, or a borrowed INAM ID whose proven wallet is not the payTo. CAUTION (exit 0, exit 1 with --strict) when signals are missing. PASS otherwise. Exit 2 on bad usage.

Use it as a gate before paying or in CI: npx inamprotocol check "$URL" --strict || exit 1. Programmatic use: checkTarget(target, opts) returns the same report (formatReport(report) prints it). On-chain reads use keyless public RPCs (Ethereum, Base, Base Sepolia); set INAM_RPC_<chainId> to use your own. npx inam check also works once inamprotocol is installed in the project or globally; without it, npx inam would fetch an unrelated package of that name.

Usage

import { InamClient, generateKeypair } from "inamprotocol";

const keypair = generateKeypair();
const client = new InamClient("https://api.inamprotocol.org", keypair);

const profile = await client.registerAgent(["document-extraction"], { name: "My Agent" });
console.log(profile.id); // did:key:z...

const reputation = await client.getReputation(profile.id);
Jobs (post → offer → accept → execute → receipt)
const job = await poster.postJob({ capability: "document-extraction", specHash: "sha256:..." });
await worker.submitOffer(job.jobId, "I can do this in an hour");
await poster.acceptOffer(job.jobId, worker.did);

const receipt = await worker.submitWork(poster.did, {
  jobId: job.jobId,
  task: { capability: "document-extraction", specHash: "sha256:...", createdAt: new Date().toISOString() },
  result: { outputHash: "sha256:...", completedAt: new Date().toISOString() },
  verification: { method: "payer_confirmation", outcome: "success" },
});
await poster.acceptWork(receipt); // finalizes the receipt and auto-completes the job

poster.cancelJob(job.jobId) cancels a not-yet-completed job (poster only); client.getJob(id) / client.searchJobs({ capability, status }) / client.listOffers(jobId) round out discovery.

External identity linking (challenge-response)

Linking a key-derived external identity (agentpass_id / aitp_id / passport_id; SPEC.md §2.1) requires proving control of that external key via a single-use, ~60s challenge — a bare claim is no longer enough. a2a_endpoint isn't key-derived, so it skips straight to linkIdentity(protocol, value).

// externalKeypair stands in for whatever key AgentPass/AITP/Passport Alliance
// already issued this agent -- not an INAM keypair.
const challenge = await client.requestLinkChallenge("agentpass_id", toBase64(externalKeypair.publicKey), "ed25519");
const proof = toBase64(sign(fromHex(challenge.challenge), externalKeypair.privateKey));
await client.completeLink("agentpass_id", "ap_my_external_id", challenge.challengeId, proof);
Verification (independent attestation)…

Description from the npm listing.

  • x402
  • erc-8004
  • cli
  • inam
  • agent
  • ai-agent
  • identity
  • reputation
  • did
  • protocol
  • execution-receipt
  • ai-sdk
  • vercel-ai
  • tools

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

inamprotocol weekly downloads on npm, last 90 days: 190 weekly downloads as of Dec 5, 2026, +692% over 90 days.inamprotocolWeekly downloads on npm · Last 90 days190downloads / week+692% over 90 days02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
inamprotocol weekly downloads on npm, last 90 days: 190 weekly downloads as of Dec 5, 2026, +692% over 90 days.

7/30/90-day growth

inamprotocol weekly downloads growth on npm: -37.7% over 7 days, -51.5% over 30 days, +692% over 90 days.inamprotocolWeekly downloads growth on npm190downloads / week now7-day growth-115 weekly downloads-37.7%30-day growth-202 weekly downloads-51.5%90-day growth+166 weekly downloads+692%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
inamprotocol weekly downloads growth on npm: -37.7% over 7 days, -51.5% over 30 days, +692% over 90 days.

Ranking history

inamprotocol npm ranking history: currently #2510 (by weekly downloads).inamprotocolnpm ranking · by weekly downloads · Last 90 days#2510current rank#1400#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 29 observations · Updated Dec 5, 2026pluginstats.com
inamprotocol npm ranking history: currently #2510 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 126, #10 (overall #2,510)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 16, #2 (overall #302)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for inamprotocol
Date (UTC)Weekly downloadsChange vs. previous
190-16
206-44
250+7
243-113
356+30
326+11
315+10
305-18
323+43
280-13
293+143
150-148
298-12
310—

Similar npm AI SDKs plugins

All 20 inamprotocol alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/inamprotocol. First seen Oct 16, 2026; last successful collection Nov 9, 2026. See the methodology.