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

@techdigger/humanode-agentlink-cli

v0.4.1

Published

Scaffold, link, and inspect Biomapper-ready agent projects.

Readme

@techdigger/humanode-agentlink-cli

Scaffold, link, and inspect Biomapper-ready agent projects.

agentlink is the default entrypoint for agent developers:

  • agentlink keystore stores, reads, or removes the encrypted local agent key
  • agentlink init scaffolds a starter for LangChain, Vercel AI SDK, or MCP
  • agentlink link generates agent consent, builds a self-contained local/dev linker URL, and can open it in your browser
  • agentlink status checks whether an agent is linked and active
  • agentlink request sends signed test requests to protected endpoints
  • agentlink authorize-link remains available for lower-level manual linking flows

Generated starters also include local link, status, and authorize-link package scripts, so you can run them from inside the scaffolded project after installing dependencies.

Quick start

pnpm dlx @techdigger/humanode-agentlink-cli init my-agent
cd my-agent

Fill in .env.local with non-secret local settings such as BIOMAPPER_NETWORK and BIOMAPPER_REGISTRY, then generate a linker URL for the owner wallet:

agentlink link --owner 0xOwner --open

After the owner completes linking in the browser, check the result:

agentlink status

Linked agents can use AgentLink-aware services such as the Humanode two-for-one flow. In that flow, the agent pays $1.00 USDC through x402, the service verifies the signed agentlink header, and a linked first-call agent receives $2.00 USDC back for that Biomapper generation. See the Agent Developer Guide for the full caller setup.

For the first protected-route test, start with a free-trial route before moving to stricter gating or more complex payment flows.

Send a signed request to a protected route:

agentlink request https://api.example.com/data --network base-sepolia

Commands

agentlink init

Scaffold a TypeScript starter for:

  • langchain
  • vercel-ai-sdk
  • mcp

Example:

agentlink init my-agent --template langchain --network base-sepolia --registry 0xRegistry

When you scaffold from this repo checkout, init automatically uses local file: dependencies for the Biomapper packages. Add --package-source npm to force npm package versions instead.

agentlink link

Generate consent, create a self-contained local/dev linker URL, and optionally open it:

agentlink link --owner 0xOwner --registry 0xRegistry --network base-sepolia --open

The CLI does not submit linkAgent(...) itself. The owner still completes the on-chain transaction in the linker UI.

agentlink link is the local/self-contained flow. Hosted production linkers should create and store sessions server-side with buildHostedLinkUrl(...) and the same-origin session lookup endpoint instead of embedding the full session in the URL.

Prefer agentlink keystore set, --private-key-stdin, or an external secret manager for private keys. --private-key remains available for compatibility, but it is best treated as a dev-only shortcut because argv can leak into shell history and process inspection.

agentlink status

Check whether the current agent is linked and active:

agentlink status --registry 0xRegistry --network base-sepolia

Pass --agent 0xAgent to check a specific agent without loading a key, or provide a private key via agentlink keystore set, --private-key-stdin, or --private-key when you want the CLI to derive the agent address for you.

agentlink authorize-link

Generate the raw one-time EIP-712 consent blob for manual or platform-managed flows:

agentlink authorize-link --owner 0xOwner --registry 0xRegistry --deadline 1735689600 --network base-sepolia

Environment

agentlink automatically loads .env and .env.local for non-secret configuration.

  • BIOMAPPER_NETWORK
  • BIOMAPPER_REGISTRY
  • BIOMAPPER_RPC_URL
  • BIOMAPPER_LINKER_URL
  • AGENT_PRIVATE_KEY — used automatically when --private-key is not passed

For the full flow, examples, and hosted-link details, see the Agent Developer Guide.