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

connectmeguru-agentkit-provider

v1.0.0

Published

Coinbase AgentKit Action Provider for autonomous international travel eSIM purchasing with USDT on Polygon, Arbitrum, and TRON via ConnectMeGuru

Readme

ConnectMeGuru Action Provider for Coinbase AgentKit & Autonomous Web3 Agents

License: MIT TypeScript Coinbase AgentKit Networks: Polygon | Arbitrum | TRON

Official Coinbase AgentKit Action Provider for ConnectMeGuru.

Enables autonomous AI agents, on-chain smart wallets, and travel bots to programmatically search and purchase global travel eSIM data plans across 190+ countries with non-custodial USDT settlements on Polygon, Arbitrum One, and TRON.


🌟 Why ConnectMeGuru for AI Agents?

  • 📶 190+ Countries Covered: Over 3,000+ local and regional travel eSIM plans.
  • 🤖 100% Autonomous: Standard HTTP 402 Payment Required invoice flow with collision-free spot discounts.
  • 🔐 Machine Identity: One-time email OTP verification issues a permanent Personal Access Token (cmg_pat_...) for zero-human runtime checkouts.
  • ⚡ Instant Delivery: QR code data URLs and SM-DP+ LPA activation strings returned directly in JSON responses upon on-chain block settlement.
  • 📄 OpenAPI 3.1.0 Ready: Direct LLM ingestion at https://www.connectmeguru.com/api/agentic/openapi.json.

📦 Installation

npm install connectmeguru-agentkit-provider zod

🚀 Quickstart

1. Standalone / LangChain Agent Usage

import { ConnectMeGuruActionProvider } from 'connectmeguru-agentkit-provider';

// Initialize with your Machine PAT Token (obtained via https://www.connectmeguru.com/developers/agentic)
const provider = new ConnectMeGuruActionProvider({
  patToken: process.env.CMG_PAT_TOKEN,
});

async function main() {
  // 1. Search for available plans
  const searchResults = await provider.searchPlans({ country: 'Japan' });
  console.log('Available Plans:', searchResults);

  // 2. Generate an autonomous checkout invoice (HTTP 402)
  const invoice = await provider.createInvoice({
    packageCode: 'P4XU0X3CX',
    network: 'POLYGON', // 'POLYGON' | 'ARBITRUM' | 'TRON'
  });
  console.log('Payment Instructions:', invoice);

  // 3. Autonomous agent broadcasts on-chain USDT transfer...
  // 4. Poll order status for instant eSIM activation credentials:
  const order = await provider.checkOrderStatus({
    invoiceId: 'inv_mu560jq4_a1cdcc15',
  });
  console.log('eSIM Credentials:', order);
}

main();

🛠️ Exported Action Provider Actions

| Action | Description | Input Schema | | :--- | :--- | :--- | | searchPlans | Search travel eSIM packages by country name or ISO-2 code | { country: string } | | createInvoice | Create a spot-discounted crypto invoice (HTTP 402) | { packageCode: string, network: "POLYGON" \| "ARBITRUM" \| "TRON", customerEmail?: string } | | checkOrderStatus | Poll on-chain settlement and retrieve eSIM QR & LPA string | { invoiceId: string } |


🛡️ Supported Networks & USDT Contracts

ConnectMeGuru validates on-chain transfers against official USDT smart contracts:

| Network | Standard | Official USDT Smart Contract Address | | :--- | :--- | :--- | | Polygon PoS | PRC-20 | 0xc2132D05D31c914a87C6611C10748AEb04B58e8F | | Arbitrum One | ERC-20 | 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 | | TRON | TRC-20 | TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t |


🔑 Obtaining Your Machine PAT Token

  1. Step 1 (Request OTP):
    curl -X POST "https://www.connectmeguru.com/api/agentic/auth/request-otp" \
      -H "Content-Type: application/json" \
      -d '{"email": "[email protected]"}'
  2. Step 2 (Verify & Receive PAT):
    curl -X POST "https://www.connectmeguru.com/api/agentic/auth/verify-otp" \
      -H "Content-Type: application/json" \
      -d '{"email": "[email protected]", "otp": "YOUR_6_DIGIT_CODE"}'
  3. Set the returned token as an environment variable:
    export CMG_PAT_TOKEN="cmg_pat_..."

📚 Resources & Documentation


📄 License

This project is licensed under the MIT License.