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

@krewe/elizaos-plugin

v0.1.0

Published

elizaOS plugin for the krewe pay-per-call AI inference network. Exposes text.structure / text.embed / web.scrape / text.complete as Actions. Settles each call in USDC via x402 EIP-3009 — no API keys.

Downloads

22

Readme

@krewe/elizaos-plugin

Pay-per-call AI inference for elizaOS agents. Adds four Actions backed by the krewe decentralized network on Base — text.structure, text.embed, web.scrape, and quantized SLM text.complete. Every call is paid in USDC via x402 (EIP-3009), and every result is independently re-computed by 3 miner nodes with 2-of-3 byte-equal consensus before it settles.

Status: v0.1.0 — first cut. Tested at the SDK level against the live network; the elizaOS integration has not yet been validated inside a complete agent runtime. If you dogfood this and hit issues, please open an issue or reply on the Eliza discussion.

Install

pnpm add @krewe/elizaos-plugin
# (your project should already have @elizaos/core)

Configure

Add two settings to your character / agent config:

{
  "settings": {
    // 0x-prefixed 32-byte private key. Base wallet, ≥ $0.10 USDC.
    // Use a dedicated agent burner key, not your personal wallet.
    "KREWE_AGENT_PRIVATE_KEY": "0x…",

    // Optional: defaults to the krewe production orchestrator.
    "KREWE_ORCHESTRATOR_URL": "https://krewe-orchestrator-production.up.railway.app"
  }
}

Wire into the agent

import { AgentRuntime } from "@elizaos/core";
import { kreweplugin } from "@krewe/elizaos-plugin";

const runtime = new AgentRuntime({
  character,
  plugins: [kreweplugin],
  // …
});

What it adds

| Action name | Job kind | Price | What it does | |--------------------------|-----------------|---------|-----------------------------------------------------------| | KREWE_EXTRACT_ENTITIES | text.structure | $0.005 | Extract emails / URLs / dates / numbers / phones | | KREWE_EMBED_TEXT | text.embed | $0.010 | 384-dim sentence embedding (all-MiniLM-L6-v2) | | KREWE_SCRAPE_URL | web.scrape | $0.020 | Fetch + clean a small URL payload | | KREWE_COMPLETE | text.complete | $0.050 | Quantized SLM completion (LaMini-GPT-124M) w/ consensus |

Each action's validate() checks that KREWE_AGENT_PRIVATE_KEY is set before the action becomes available to the LLM — agents without a wallet won't see the actions at all.

Cost control

Set a per-call spending cap on the client by configuring KREWE_MAX_PRICE_USDC (USDC base units) — defaults to 100000 ($0.10).

Verifiable execution

Every action's result includes paymentTxHash and replicas count. The plugin appends a short tag like (replicas=3, paid=0xabc…) to the rendered output so the user can click through to Basescan and verify the payment + consensus.

Example output from KREWE_EXTRACT_ENTITIES:

Extracted via krewe (replicas=3, paid=0xf550…2f77):
{
  "emails": ["[email protected]"],
  "urls":   ["https://krewe.world/"],
  "dates":  ["2026-06-12"]
}

Why this is different from a regular LLM provider plugin

  • No API key. The agent's wallet IS the auth.
  • Per-call settlement on-chain. Every call has a Basescan tx, auditable forever.
  • Byte-equal consensus. For KREWE_COMPLETE, three independent operators must produce identical token streams before the result is returned — useful when a single LLM provider shouldn't be a single point of trust.

Links

  • Repo (MIT): https://github.com/krewe-AI/krewe
  • SDK: https://www.npmjs.com/package/@krewe/x402-client
  • Build docs + LangChain/CrewAI examples: https://www.krewe.world/build
  • Live consensus stream: https://www.krewe.world/dashboard

License

MIT.