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

@compass_agents/cli

v0.1.27

Published

Compass CLI/TUI: compass init / chat / delegate / redelegate / revoke / status, with a live 1Shot webhook tx feed.

Readme

@compass_agents/cli

compass — your personal on-chain agent. Give it a budget, and it acts for you within strict, revocable limits enforced on-chain. It can send USDC (gasless — gas paid in USDC, no ETH), hire other agents within a slice of your budget, discover and buy data over x402, check a peer's on-chain reputation before trusting it, generate and analyze media, search the web, and more. It reasons with Venice AI, runs on MetaMask Smart Accounts (ERC-7710 redelegation), and executes through the 1Shot relayer.

Built for the MetaMask Smart Accounts Kit × 1Shot × Venice Dev Cook-Off.


Requirements

1. Install

npm i -g @compass_agents/cli
# or: bun add -g @compass_agents/cli

2. Set up (interactive)

compass init

A guided wizard: pick a network, name your agent, set a weekly budget, choose a wallet (generate a burner, paste a key, or connect MetaMask), drop in your Venice key, and optionally a Telegram bot token. It writes a local .env so compass just works. Fund the wallet it shows you with Base Sepolia USDC.

3. Chat with your agent

compass

Runs a rich OpenTUI chat (with a live "thinking…" status and inline approvals; falls back to a plain prompt if the terminal can't host it). Talk in plain English:

you › what's my balance?
you › find me a crypto-price dataset and buy it          # x402 Bazaar → pay
you › send 0.1 USDC to 0x1234…                           # asks for approval first
you › what's scout's reputation?                         # reads ERC-8004 on-chain
you › hire a helper to pay 0x1234… 0.05 USDC
you › draw a flat compass logo                           # Venice image → .compass/media

Prefer shortcuts? Slash commands reach a capability directly (still gated):

/balance                       /discover [query]        /reputation <agent>
/send <amount> <address>       /pay <url>               /image <prompt>
/hire <amount> <address>       /search <query>          /say <text>
/help                          /exit

Anything that spends asks for approval, and the agent can never exceed your budget — that limit is an on-chain caveat, not a setting it can ignore. The agent is chain-aware: it knows its network and reports balances as "0 USDC on Base Sepolia · wallet 0x…" so you always know which chain you're on.

4. Connect MetaMask (optional, non-custodial)

compass connect

Opens your browser to grant the agent a spending budget straight from your real MetaMask via ERC-7715 advanced permissions. The agent spends within it, gaslessly, and you can revoke any time. Requires MetaMask Flask.

5. Identity, reputation & discovery

compass register scout      # mint your agent identity NFT (ERC-8004) — you own it
compass card                # write a standard A2A /.well-known/agent-card.json

The ERC-8004 Reputation + Validation registries are live on Base Sepolia, so a2a.reputation returns real on-chain scores.

6. Self-host on Telegram

export TELEGRAM_BOT_TOKEN=your_botfather_token   # your own bot, you run it
compass serve

You create the bot with @BotFather and host it yourself. Unknown senders get a pairing code (compass pairing approve telegram <code>); dangerous actions arrive as inline [Allow] [Deny] buttons. To keep it always-on (local, a VPS, Docker, or Railway) see DEPLOY.md.

7. MCP — both directions

Connect external MCP servers (their tools become the agent's) via .compass/mcp.json, or expose compass as an MCP server:

compass-mcp                 # serves compass's tools over stdio to any MCP client
# Claude Desktop: { "mcpServers": { "compass": { "command": "compass-mcp" } } }

Commands

| Command | What it does | |---|---| | compass | Chat with your agent (OpenTUI) | | compass init | Interactive setup: network, wallet, budget, keys | | compass connect | Grant a budget from MetaMask in the browser (ERC-7715) | | compass register <name> | Mint your agent identity NFT (ERC-8004) | | compass card | Write a standard A2A AgentCard | | compass doctor | Readiness check (keys, network, balances) | | compass serve | Run as a gateway — reachable on your Telegram bot | | compass pairing <list\|approve\|revoke> | Manage who can reach your agent | | compass budget --recurring "25 USDC/week" | Set/show the recurring budget | | compass logs [--tail N] | Activity log (tool calls + on-chain actions) | | compass memory <export\|import> <file> | Encrypted, portable agent memory | | compass-mcp | Serve compass's tools as an MCP server (stdio) |

Agent tools

chain.balance · chain.send · a2a.hire · a2a.grant · a2a.revoke · a2a.reputation · pay (x402) · discover (x402 Bazaar) · venice.image · venice.vision · venice.speak · web.search · web.fetch · memory.save · memory.read — plus any tools from connected MCP servers.

Networks

Defaults to Base Sepolia (testnet). For Base mainnet: compass init → choose Base, and fund the burner with a little real USDC (relays pay gas in USDC).

Links

License

MIT