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

@humbleaf/eliza-plugin

v0.1.0

Published

Bounded authority for autonomous agents. Policy-gated actions with receipts and approval-aware behavior for ElizaOS.

Downloads

152

Readme

@humbleaf/eliza-plugin

Give Eliza agents bounded authority for rewards, payments, and other risky actions.

Let ElizaOS agents issue rewards, refunds, or other risky actions with policy gates, receipts, and approval-aware behavior. Your agent knows its spending limits and communicates them to users.

Quick Start (5 minutes to first blocked action)

1. Install

pnpm add @humbleaf/eliza-plugin @humbleaf/agentchain-sdk

2. Add plugin to your agent

import { agentchainPlugin } from '@humbleaf/eliza-plugin';

const agent = {
  plugins: [agentchainPlugin],
  settings: {
    AGENTCHAIN_API_KEY: process.env.AGENTCHAIN_API_KEY,
    AGENTCHAIN_AGENT_ID: process.env.AGENTCHAIN_AGENT_ID,
  },
};

3. Run reward — small amount → Released ✓

User: "Send 50 USDC reward to 0xAlice for the bug fix"

Agent: ✓ Reward of 50 USDC sent to 0xAlic…lice. Receipt: rcpt_abc123 Settlement: Released

4. Run reward — large amount → Pending Approval ⏳

User: "Send 5,000 USDC reward to 0xBob for the integration"

Agent: ⏳ I can't send 5,000 USDC directly — my policy limit is 500 USDC per action.

I've submitted an approval request. A human operator can approve it here: https://dashboard.agentchain.xyz/approve/rcpt_def456

Alternatively, I can issue a smaller reward up to 500 USDC without approval.

5. Run reward — duplicate → Denied ✗

User: "Send 50 USDC reward to 0xAlice for the bug fix"

Agent: ✗ I can't issue that reward. Reason: A similar reward was already issued recently.

No value was moved. This prevents accidental double-payments.

6. Open dashboard → See all receipts

All three results appear as verifiable receipts in your AgentChain dashboard.

What's Included

| Component | Description | |---|---| | settledRewardAction | Policy-gated reward/payment action with human-readable responses | | budgetProvider | Injects spending limits into agent context ("I can offer up to $500") | | receiptProvider | Injects agent identity and receipt awareness |

Budget-Aware Agent

The budgetProvider injects spending limits directly into the agent's context, so it can proactively communicate its authority:

Agent: "I can offer up to $500 without approval. For larger amounts, I'll submit an approval request."

This feels like bounded authority — not simple rejection.

Human-Readable Refusals

When actions are denied, the agent explains why and suggests alternatives:

| Denial Reason | Agent Response | |---|---| | Unknown wallet | "The recipient wallet needs to be added to the approved list first." | | Budget exhausted | "The campaign budget is exhausted. Ask an operator to allocate more." | | Duplicate action | "A similar reward was already issued recently." | | Over limit | "Try a smaller amount or request approval." |

Example Character

See characters/reward-agent.json for a complete example character configuration.

License

MIT