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

plugin-alethea

v0.1.0

Published

ElizaOS plugin for Alethea AI integration

Readme

Alethea AI Plugin for ElizaOS

This plugin bootstraps Alethea AI support for ElizaOS agents.
It lays the groundwork for future actions that will interact with Alethea's AliAgent, INFT, Hive, token, governance and market-data APIs.

Features

  • Convert NFT to ALI Agent: Transform an ERC-721 NFT into an intelligent ALI Agent (Base Network)
  • Convert iNFT to ALI Agent: Transform an iNFT into an ALI Agent (Ethereum Mainnet)
  • Keys Trading: Buy and sell keys for ALI Agents
  • Pod Operations: Fuse pods with ALI Agents
  • Hive Operations: Create liquidity pools and distribute tokens
  • Token Operations: Deploy and airdrop ALI Agent or Hive utility tokens

Core Workflow

The main Alethea AI workflow is:

  1. Start with existing NFT/iNFT (user owns)
  2. Convert to ALI Agent using Keys Factory contract
  3. Trade keys for the ALI Agent
  4. Additional operations like pods, hives, etc.

No custom token deployment needed - ALI Agents are created from existing NFTs!

Installation

npm install

Configuration


🔧 Configuration

The plugin reads its credentials from environment variables or from the agent's character.settings.secrets block.

| Variable | Description | Required | | ------------------ | ----------------------------------------------- | -------- | | ALETHEA_RPC_URL | JSON-RPC endpoint for Alethea chain | ✅ | | PRIVATE_KEY | Signer private key used for authenticated calls | ✅ | | ALETHEA_API_KEY | Alethea SDK / REST API key (if applicable) | ✅ | | SNAPSHOT_API_URL | URL for the Snapshot API (optional) | ❌ |

Create/extend your project .env:

# Alethea AI Plugin
ALETHEA_RPC_URL=https://api.alethea.ai
PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERE
ALETHEA_API_KEY=your_alethea_api_key
SNAPSHOT_API_URL=https://hub.snapshot.org

Required for Airdrop Operations:

  • ALETHEA_RPC_URL: Base Network RPC endpoint
  • PRIVATE_KEY: Wallet private key with tokens to distribute

Usage

Convert NFT to ALI Agent (Base Network)

'Convert my NFT at address 0x123... token ID 42 to an ALI Agent using ETH implementation';

Convert iNFT to ALI Agent (Ethereum Mainnet)


⚡ Available Actions

Governance

PARTICIPATE_IN_VOTE

Casts a vote on a Snapshot proposal.

Similes: VOTE, CAST_VOTE, PARTICIPATE_IN_GOVERNANCE

Parameters:

  • space (string): The Snapshot space (e.g., alethea-ai.eth).
  • proposalId (string): The ID of the proposal.
  • choice (number | string): The vote choice (e.g., 1 for "yes").

Example Usage: Vote on proposal 0xabc...def in space alethea-ai.eth with choice 1.

HANDLE_GOVERNANCE_ERRORS

Handles and interprets AI Protocol governance errors (550–558).

Similes: PROCESS_ERROR, HANDLE_ERROR, MANAGE_GOVERNANCE_ERROR

Parameters:

  • error (object): The error object, which should contain a code property.

Example Usage: I received a governance error with code 551. What does it mean?

Error Code Mapping: | Code | Message | | ---- | -------------------------------------------------------------------------- | | 550 | "Interaction nuances are refined to uphold our community standards." | | 551 | "Guides the ALI Agent creation process to ensure content integrity." | | 552 | "Curates Dream content to maintain harmony with community values." | | 553 | "Shapes Avatar Images to reflect our shared respect and creativity." | | 554 | "Oversees Dream Cover Image creation to align with our collective ethos." | | 555 | "Guides Background Image creation for Dreams, ensuring a positive space." | | 556 | "Assists in crafting Creator Bios that welcome and inspire." | | 557 | "Manages ALI Agent Profile adjustments to resonate with our guidelines." | | 558 | "Curates Dream updates to foster a safe and inspiring environment." |


🗂️ Project Structure