New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@knowledge-market/eliza-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@knowledge-market/eliza-plugin

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

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@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"]
}
SettingRequiredDescription
KM_API_KEYYesAPI key from KnowMint (format: km_<64 hex chars>)
KM_BASE_URLNoAPI base URL (default: https://knowmint.shop)

Getting an API Key

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

Actions

ActionDescriptionRequired Params
SEARCH_KNOWLEDGESearch knowledge items by queryQuery in message text
PURCHASE_KNOWLEDGERecord a purchase after on-chain paymentknowledge_id, tx_hash
GET_CONTENTRetrieve full content of a purchased itemknowledge_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

ProviderDescription
trending-knowledgeInjects 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

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

License

MIT

Keywords

elizaos

FAQs

Package last updated on 25 Feb 2026

Related posts