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

@diogenesgateway/agentkit-action-provider

v1.0.0

Published

Coinbase AgentKit Action Provider for Diogenes Edge Microservices with autonomous Base EVM micropayments

Readme

Diogenes Action Provider for Coinbase AgentKit

Official Coinbase AgentKit Action Provider equipping autonomous on-chain agents with Diogenes Edge Microservices and native Base EVM Machine Payments Protocol (MPP) micropayments:

  • Solana SPL Token Risk Analysis (evaluate_solana_token_risk): Real-time detection of freeze authority, mint authority, Token-2022 extensions, and honeypot transfer taxes before executing cross-chain or Solana swaps.
  • Smart Contract Honeypot Auditing (audit_smart_contract): Static and behavioral verification for Solidity, Rust, and Anchor programs.
  • Pre-Execution Guardrails (enforce_agent_guardrail): Deterministic prompt injection firewall and destructive shell command blocker.
  • Sandboxed AST Evaluation (execute_ast_code_sandbox): Parse and evaluate JS/Python ASTs safely.
  • Bitcoin Mempool Oracle (query_bitcoin_mempool_fees): Live sats/vB fee rate estimations.
  • LLM Markdown Web Extractor (scrape_web_markdown): High-speed, ad-free web content scraping.
  • Universal Edge Invoker (execute_microservice): Access to all 121 Diogenes edge microservices.

📦 Installation

npm install @diogenesgateway/agentkit-action-provider @coinbase/agentkit viem zod

🚀 Quickstart

import { AgentKit, CdpWalletProvider } from "@coinbase/agentkit";
import { diogenesActionProvider } from "@diogenesgateway/agentkit-action-provider";

// 1. Initialize CDP Wallet Provider on Base
const walletProvider = await CdpWalletProvider.configureWithWallet({
  apiKeyName: process.env.CDP_API_KEY_NAME,
  apiKeyPrivateKey: process.env.CDP_API_KEY_PRIVATE_KEY,
  networkId: "base-mainnet",
});

// 2. Initialize Diogenes Action Provider
const diogenes = diogenesActionProvider({
  // Optional: Provide a prepaid session key, or leave undefined for autonomous Base EVM micropayments
  sessionKey: process.env.DIOGENES_SESSION_KEY,
  // Optional: Set to true for zero-cost demo tier
  demoMode: false,
});

// 3. Initialize AgentKit with Diogenes Action Provider
const agentKit = await AgentKit.from({
  walletProvider,
  actionProviders: [diogenes],
});

⚡ Autonomous Base EVM Micropayments

When demoMode: false and a live EvmWalletProvider on Base is provided:

  1. Diogenes Gateway returns an HTTP 402 Payment Required challenge containing settlement rail options.
  2. The Action Provider automatically transfers the micro-settlement (~0.000005 ETH / ~$0.015) on Base to the Diogenes Base treasury (0x3EDF655a6cF3A1Be4110545464932c3aB5Cf3836).
  3. The provider automatically awaits transaction inclusion and retries the request with PAYMENT-SIGNATURE: 0x... headers.

🌐 Endpoints & Edge Infrastructure