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

@aiaiaichain/agent

v0.2.0

Published

AIAIAI Chain Agent — Solana-native AI agent for decentralized AI governance. Ticker: $AIAIAI

Readme

aiaiaichain

$AIAIAI — Solana-native AI agent for decentralized AI governance.

npm Node License: MIT

X / Twitter · aiaiaichain.xyz


What is AIAIAI Chain?

AIAIAI Chain Agent is a Solana-native AI agent that runs entirely in your terminal. It connects to AI model providers and the DexScreener price API through outbound HTTP calls only — nothing is hosted, nothing listens for inbound connections, and your keys never leave your machine.

Ticker: $AIAIAI Contract: AVPJS61gZmWKtaEpb7qYPKo8Fk2xQUsayYQxPiPMpump Chain: Solana (primary)

Inspired by the call for an "AI Associated Institute of America" (AIAIAI) — a vision for decentralized AI governance.

Your machine
├── @aiaiaichain/agent (CLI)
│   ├── Ink TUI             ← streaming terminal UI with sidebar
│   ├── AgentRunner         ← model loop + tool dispatcher
│   ├── SwarmRouter         ← parallel sub-agent orchestration
│   ├── PriceFeed           ← DexScreener price data (primary source)
│   ├── NewsFeed            ← crypto news + sentiment analysis
│   ├── TechnicalAnalysis   ← RSI, MACD, Bollinger, EMA, ATR
│   ├── MarketSentiment     ← Fear & Greed, funding rates, DeFi TVL
│   ├── GoalManager         ← persistent cross-session goals
│   ├── AgentScheduler      ← cron/price-triggered scheduled tasks
│   ├── MemoryStore         ← long-term conversation memory
│   └── MCPServer           ← Model Context Protocol server
│
├── ~/.aiaiai/
│   ├── .env                ← your API keys
│   ├── config/             ← settings
│   ├── memory/             ← long-term memory
│   ├── checkpoints/        ← agent state checkpoints
│   └── sessions/           ← task contexts
│
└── Outbound only:
    ├── openrouter.ai           ← AI model gateway (your key)
    ├── api.dexscreener.com     ← token prices, liquidity, volume
    ├── api.binance.com         ← OHLCV candle data
    ├── api.alternative.me      ← Fear & Greed Index
    ├── api.llama.fi            ← DeFi TVL
    ├── mempool.space           ← BTC mempool
    └── cryptopanic.com         ← crypto news

Installation

npm install -g @aiaiaichain/agent

Quick Start

# 1. Configure (requires OpenRouter API key)
aiaiaichain setup

# 2. Start the agent
aiaiaichain

# 3. Or check $AIAIAI price directly
aiaiaichain price

CLI Commands

| Command | Description | |---------|-------------| | aiaiaichain | Start interactive TUI agent | | aiaiaichain setup | First-time setup wizard | | aiaiaichain config | Show/edit configuration | | aiaiaichain price | Show $AIAIAI token price | | aiaiaichain status | Quick status + price | | aiaiaichain --headless "prompt" | Single-turn mode | | aiaiaichain --help | Show help | | aiaiaichain --version | Show version |

TUI Commands

Inside the interactive agent:

| Command | Description | |---------|-------------| | /help | Show all commands | | /price | Show $AIAIAI price | | /news | Latest crypto news | | /models | List available models | | /model | Switch AI model | | /cost | Show token usage cost | | /goal add <text> | Set a persistent goal | | /goal done <id> | Complete a goal | | /goals | List all goals | | /schedule | List scheduled tasks | | /memory <query> | Search conversation memory | | /clear | Clear chat history | | /exit | Exit the agent |

MCP Server

The included MCP server exposes AIAIAI tools via the Model Context Protocol (stdio):

aiaiai-mcp

Tools: get_aiaiai_price, get_token_price, get_news, get_candles, get_fear_greed, get_funding_rates, get_btc_mempool, get_defi_tvl, get_solana_stats

Architecture

  • Solana-first — primary chain is Solana. EVM chains (Ethereum, Base, Arbitrum, BSC) are available but disabled by default.
  • DexScreener — all token price data comes from the DexScreener public API.
  • OpenRouter — AI model access via OpenRouter (supports 200+ models).
  • Ink TUI — React-based terminal UI with live price sidebar, news panel, and context window tracking.
  • Zero inbound — all outbound connections. No server, no listening ports.

Configuration

Configuration lives in ~/.aiaiai/.env:

OPENROUTER_API_KEY=sk-or-...
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
DEFAULT_MODEL=openai/gpt-4o

Get an OpenRouter key at https://openrouter.ai/keys

Links

License

MIT