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

@agentpay-ai/agentpay-celo

v0.1.22

Published

AgentPay installs MCP tools and runtime instructions for owner-authorized Celo payments. The visible product remains AgentPay; the Celo installer uses the isolated technical names `~/.agentpay-celo`, skill `agentpay-celo`, MCP entry `agentpay-celo`, and b

Readme

@agentpay-ai/agentpay-celo

AgentPay installs MCP tools and runtime instructions for owner-authorized Celo payments. The visible product remains AgentPay; the Celo installer uses the isolated technical names ~/.agentpay-celo, skill agentpay-celo, MCP entry agentpay-celo, and binary agentpay-celo so it can coexist with the X Layer implementation.

Install

For Codex:

npx -y @agentpay-ai/agentpay-celo@latest install --runtime codex
codex mcp login agentpay-celo

The install command adds the Codex MCP entry and installs the skill under ~/.agents/skills/agentpay-celo. It does not overwrite an existing ~/.agentpay tree or MCP entry named agentpay. Restart/reconnect Codex or open a new task after installation and OAuth.

For Claude, Cursor, Hermes, or a manual integration, replace codex with the explicit runtime:

npx -y @agentpay-ai/agentpay-celo@latest install --runtime claude
npx -y @agentpay-ai/agentpay-celo@latest install --runtime cursor
npx -y @agentpay-ai/agentpay-celo@latest install --runtime hermes
npx -y @agentpay-ai/agentpay-celo@latest install --runtime generic

When --runtime is omitted, detection succeeds only when one project marker identifies a runtime. Otherwise the installer fails closed and asks for an explicit runtime.

Then return to your agent chat:

Create an AgentPay wallet for me on Celo Sepolia.
Pay 5 USDT to 0x... on Celo Sepolia for invoice INV-001.

No user secrets are required for hosted mode. Hosted chat connects to the authenticated consumer endpoint at https://wallet.agentpay.site/celo/mcp; after owner Review & Sign, the consumer automatically hands the signed intent to the isolated paid executor. Users do not need a second MCP registration or another OAuth login.

The OAuth, setup, and Review & Sign pages request the required Celo network automatically. They use wallet_switchEthereumChain first and add the official Celo mainnet or Sepolia network only when the wallet reports that it is unknown. The owner must still confirm the wallet prompt; rejecting it never advances to signing.

Payment and balance tools support Celo mainnet or testnet (Celo Sepolia) through network: "mainnet" | "testnet". Users can switch networks per request. Self-service chat wallet creation is currently available on Celo Sepolia, while mainnet uses an operator-managed, readiness-gated account path. Cross-chain routes are selected at payment time after a Celo wallet exists.

AgentPay covers direct sends, invoice payments, x402 purchases, batch payouts, remittance/swap-and-pay routes, and agent-to-agent payments. For x402 discovery without a URL, the agent uses search_x402_services and prepare_x402_service_request. After payment completes, retry_x402_request attaches AgentPay receipt proof, reads PAYMENT-RESPONSE, and passes payment-identifier idempotency data when supported.

Commands

agentpay-celo install --runtime codex
agentpay-celo install --runtime codex --self-hosted
agentpay-celo mcp
agentpay-celo serve-http
agentpay-celo setup-web
agentpay-celo doctor

--self-hosted writes a local config and pinned V2 account bytecode under ~/.agentpay-celo. A custom --output-dir is carried into the generated AGENTPAY_CONFIG path. Reinstalling with --force preserves existing secrets and unknown config keys.

doctor, setup-web, mcp, and serve-http are operator surfaces, not the normal hosted-user flow. The public Celo x402 seller gate is enabled with AGENTPAY_A2MCP_PAYMENT_ENABLED=true, pay-to, price, network, asset, and AGENTPAY_CELO_X402_API_KEY. /healthz remains free.

Self-hosted staging/local configuration uses:

  • SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY;
  • CELO_RPC_URL, plus optional CELO_MAINNET_RPC_URL and CELO_SEPOLIA_RPC_URL;
  • EXECUTOR_PRIVATE_KEY;
  • setup bytecode and SETUP_DEPLOYER_PRIVATE_KEY when setup-web is enabled.

Optional values include SETUP_WEB_URL, LIFI_API_KEY, X402_BAZAAR_FACILITATOR_URL, Celo token overrides, Review & Sign secrets, and the Celo x402 seller variables.

Split self-hosted services also use AGENTPAY_INTERNAL_EXECUTION_URL, AGENTPAY_INTERNAL_EXECUTION_SECRET, and AGENTPAY_INTERNAL_EXECUTION_MAX_SKEW_SECONDS. Apply supabase/migrations/20260802130000_consumer_execution_handoff.sql before rollout, put the same HMAC secret in consumer and public env files, then restart both services; never put executor or raw-transaction keys in the consumer env.

Production uses the isolated Celo mainnet boundary: AGENTPAY_ENVIRONMENT=production, AGENTPAY_HOME_CHAIN_ID=42220, a dedicated HTTPS primary CELO_MAINNET_RPC_URL, CELO_MAINNET_RPC_FALLBACK_URL=https://forno.celo.org, production-only Supabase aliases, the V2 bytecode pin, and a tracked readiness manifest.