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

@kamiyo-org/oracle-agent

v0.1.0

Published

Autonomous oracle agent for KAMIYO dispute resolution on ElizaOS

Readme

@kamiyo-org/oracle-agent

Autonomous oracle agent for KAMIYO dispute resolution, built on ElizaOS.

Overview

The Oracle Agent monitors disputed escrows on the KAMIYO protocol, evaluates service quality using LLM reasoning, and submits cryptographically signed votes to the blockchain. It earns rewards for accurate voting and manages economic risk automatically.

Architecture

┌──────────────────────────────────────────────────────────────────┐
│                        ORACLE AGENT                              │
│                                                                  │
│  ┌─────────────┐    ┌─────────────┐    ┌─────────────────────┐  │
│  │  LISTENER   │───►│  EVALUATOR  │───►│  VOTE SUBMITTER     │  │
│  │  SERVICE    │    │  (LLM)      │    │  (Ed25519 + ZK)     │  │
│  └─────────────┘    └─────────────┘    └─────────────────────┘  │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘
                │                              │
                ▼                              ▼
        ┌──────────────┐              ┌──────────────┐
        │   SOLANA     │              │   HELIUS     │
        │   MAINNET    │              │   WEBHOOKS   │
        └──────────────┘              └──────────────┘

Features

  • Dispute Monitoring: Watches blockchain for disputed escrows
  • LLM Evaluation: Uses Claude/GPT to assess service quality
  • Confidence Calibration: Adjusts votes based on evidence strength
  • Risk Management: Tracks violations and manages exposure
  • Auto-Voting: Autonomous operation with configurable thresholds
  • Reward Claiming: Periodically claims accumulated rewards

Installation

npm install @kamiyo-org/oracle-agent

Configuration

Required environment variables:

SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
ORACLE_PRIVATE_KEY=<base64-encoded-private-key>
ANTHROPIC_API_KEY=<your-claude-api-key>

Optional:

HELIUS_API_KEY=<for-real-time-webhooks>
MIN_CONFIDENCE_TO_VOTE=medium  # low|medium|high
MAX_PENDING_DISPUTES=5
RISK_TOLERANCE=medium  # low|medium|high
AUTO_VOTE_ENABLED=true
POLL_INTERVAL_MS=30000

Usage with ElizaOS

import { kamiyoOraclePlugin } from '@kamiyo-org/oracle-agent';

// Add to your ElizaOS agent
const agent = createAgent({
  character: require('./character.json'),
  plugins: [kamiyoOraclePlugin],
});

Actions

| Action | Description | |--------|-------------| | EVALUATE_DISPUTE | Manually evaluate a disputed escrow | | SUBMIT_ORACLE_VOTE | Submit a quality score vote | | CHECK_ORACLE_PERFORMANCE | View performance metrics | | CLAIM_ORACLE_REWARDS | Claim accumulated rewards |

Services

| Service | Description | |---------|-------------| | disputeListenerService | Monitors blockchain for disputes | | autoVoterService | Autonomous voting on pending disputes | | rewardClaimerService | Periodic reward claiming |

Economics

  • Oracle Stake: 1 SOL minimum
  • Rewards: 1% of escrow amount, split among oracles
  • Slashing: 10% of stake for deviating >15 points from consensus
  • Violations: 3 violations = automatic removal

Quality Score Mapping

| Score | Agent Refund | Provider Payment | |-------|--------------|------------------| | 80-100 | 0% | 100% | | 65-79 | 35% | 65% | | 50-64 | 75% | 25% | | 0-49 | 100% | 0% |

License

MIT