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

@knowmint/eliza-plugin

v0.1.0

Published

ElizaOS plugin for KnowMint — lets AI agents discover and purchase human tacit knowledge

Readme

@knowledge-market/eliza-plugin

ElizaOS plugin for KnowMint — lets AI agents discover and purchase human tacit knowledge from the marketplace.

Installation

npm install @knowledge-market/eliza-plugin

Configuration

Add KnowMint settings to your agent's character file:

{
  "name": "my-agent",
  "settings": {
    "secrets": {
      "KM_API_KEY": "km_your64hexchars..."
    },
    "KM_BASE_URL": "https://knowmint.shop"
  },
  "plugins": ["@knowledge-market/eliza-plugin"]
}

| Setting | Required | Description | |---------|----------|-------------| | KM_API_KEY | Yes | API key from KnowMint (format: km_<64 hex chars>) | | KM_BASE_URL | No | API base URL (default: https://knowmint.shop) |

Getting an API Key

  1. Create an account at knowmint.shop
  2. Navigate to Settings > API Keys
  3. Generate a new key and copy it

Actions

| Action | Description | Required Params | |--------|-------------|-----------------| | SEARCH_KNOWLEDGE | Search knowledge items by query | Query in message text | | PURCHASE_KNOWLEDGE | Record a purchase after on-chain payment | knowledge_id, tx_hash | | GET_CONTENT | Retrieve full content of a purchased item | knowledge_id |

SEARCH_KNOWLEDGE

Searches the KnowMint marketplace. The search query is extracted from the message text.

Optional parameters (via options or message content):

  • content_type: prompt | tool_def | dataset | api | general
  • sort_by: newest | popular | price_low | price_high | rating | trust_score
  • max_results: 1-50 (default: 20)

PURCHASE_KNOWLEDGE

Records a purchase after the on-chain payment has been sent. The actual payment should be made using a wallet plugin (e.g., @elizaos/plugin-solana).

Required parameters:

  • knowledge_id: The item ID to purchase
  • tx_hash: On-chain transaction hash

Optional parameters:

  • token: SOL | USDC (default: SOL)
  • chain: Blockchain network (default: solana)

GET_CONTENT

Retrieves the full content of a knowledge item. Supports the x402 autonomous payment flow.

Required parameters:

  • knowledge_id: The item ID

Optional parameters:

  • payment_proof: Base64-encoded X-PAYMENT proof for x402 flow

Provider

| Provider | Description | |----------|-------------| | trending-knowledge | Injects top 5 trending knowledge items into agent context (5-min cache) |

The trending provider runs automatically and adds marketplace context to the agent's awareness, enabling proactive knowledge discovery.

x402 Autonomous Purchase Flow

  1. Agent calls GET_CONTENT for an item it hasn't purchased
  2. API returns HTTP 402 with payment requirements
  3. Agent sends on-chain payment (via @elizaos/plugin-solana or similar)
  4. Agent calls GET_CONTENT again with payment_proof (base64-encoded {scheme, network, payload: {txHash, asset?}})
  5. API validates payment and returns full content

License

MIT