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

@port66/agentkit

v0.2.0

Published

Coinbase AgentKit action provider for Port66: search authenticated luxury and collectibles, and buy a listing in one x402 request with USDC on Base

Readme

@port66/agentkit

Port66 for Coinbase AgentKit. Your agent can search Port66, a marketplace for authenticated luxury, streetwear and collectibles, and buy a listing in one x402 request, paying the exact total in USDC on Base straight to the seller.

npm install @port66/agentkit
import { AgentKit, CdpEvmWalletProvider } from "@coinbase/agentkit";
import { port66ActionProvider } from "@port66/agentkit";

const walletProvider = await CdpEvmWalletProvider.configureWithWallet({ networkId: "base-mainnet" });

const agentkit = await AgentKit.from({
  walletProvider,
  actionProviders: [
    // Buying stays off until you set a per-purchase cap in USD.
    port66ActionProvider({ maxPurchaseUsd: 200 }),
  ],
});

Actions

| Action | What it does | Cost | | --- | --- | --- | | port66_search_listings | Search active listings by words, brand, category, size and max price | Free | | port66_get_listing | One listing in full, plus whether this agent can buy it and the exact USDC total | Free | | port66_buy_listing | Buy a listing: pays item + shipping in USDC on Base to the seller and returns the order id and transaction | The listing's price |

How buying works

  1. Port66 publishes each listing's exact total and the seller's Base wallet.
  2. The action checks the total against both limits: your maxPurchaseUsd and the maxPriceUsd the user agreed to. The lower one applies.
  3. It signs the request with the agent's wallet. Port66 checks that signature, and checks the agent's trust score with Valiron. A brand-new agent waits about a minute for its first rating.
  4. Port66 answers with an x402 payment request. The action pays it only if the amount and recipient match the published terms.
  5. Port66 reserves the piece before the payment settles. If the piece sold or its price changed, nothing is charged. Otherwise the USDC goes straight to the seller, Port66 verifies the transfer on chain and records the order under the agent wallet's Port66 account.

Requirements

  • An EOA wallet on Base mainnet holding USDC: CdpEvmWalletProvider, ViemWalletProvider or a Privy server wallet. No ETH is needed, because x402 payments are gasless authorisations.
  • Smart-contract wallets (CdpSmartWalletProvider) can search but cannot buy yet, because Port66's per-request identity proof needs an EIP-191 signature.

Options

| Option | Default | | | --- | --- | --- | | maxPurchaseUsd | 0 (buying off) | Most the agent may spend on one purchase | | trustWaitMs | 90000 | How long a new agent waits for Valiron's first rating | | baseUrl | https://port66.xyz | | | apiUrl | https://port66-api.vercel.app/api/v1 | |

Also available for LangChain, the OpenAI Agents SDK and ElizaOS: see @port66/sdk.

More for agent builders: port66.xyz/ai · llms.txt

MIT licensed.