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

@tandemwallet/agent

v0.1.6

Published

Local Tandem Wallet SDK, CLI, and MCP server for AI agents.

Readme

Tandem Wallet Agent Connector

Local CLI, SDK, and MCP server for Tandem Wallet agents.

The connector lets an agent use a Tandem vault without learning Solana account details. The agent keypair stays in a local Solana keypair JSON file. The agent wallet needs a small amount of SOL to pay transaction fees and create recipient USDC token accounts when needed.

Setup

Create a vault in the Tandem Wallet app, then give the downloaded Tandem keypair file to the machine running the agent. New downloads are named like tandem-agent-keypair-AbCd-WxYz.json.

Run setup from the same agent environment:

npx @tandemwallet/agent setup \
  --vault <vault_pda> \
  --rpc-url https://api.devnet.solana.com \
  --program-id 6L2hon3xSV9saeaGG7cgFG298JGW4vf9jDtF5xg8E6pZ \
  --app-url http://localhost:3000

Setup auto-finds tandem-agent-keypair*.json or the legacy agent-keypair.json in the current folder, ./web, ~/Downloads, or ~/.tandem, verifies it matches the vault's agent address, and imports it to ~/.tandem/agent-keypair.json when needed. You can still pass --agent-keypair <path> for custom locations; add --keep-keypair-path if you want the config to continue pointing at that exact custom path.

This writes local config to ~/.tandem/agent.json, prints a short Tandem guide for the agent to follow immediately, and saves that guide to ~/.tandem/agent-instructions.md. For mobile approval links, set --app-url to the deployed Tandem Wallet app URL. localhost links only work on the same machine running the app.

CLI

Check the vault:

npx @tandemwallet/agent state

The state output includes the agent wallet's SOL balance. If it is 0 SOL, fund the agent wallet before sending or proposing transactions.

Send within allowance or to a whitelisted recipient:

npx @tandemwallet/agent send --recipient <recipient_wallet> --amount 0.1

If the recipient has never received this USDC mint before, the connector creates their associated token account before sending. Whitelisted recipients bypass the allowance automatically, so above-allowance sends to those wallets execute without creating a proposal.

Create a human approval proposal for a non-whitelisted above-allowance payment:

npx @tandemwallet/agent propose \
  --recipient <recipient_wallet> \
  --amount 4 \
  --memo "Payment request"

Proposal output includes messageForHuman and approvalUrl. Share those with the human so they can open the app directly to the pending proposal.

Check a proposal's latest status:

npx @tandemwallet/agent proposal --proposal <proposal_pda>

List recent proposals:

npx @tandemwallet/agent proposals --limit 10

MCP

Start the MCP stdio server:

npx @tandemwallet/agent mcp

Tools exposed:

  • get_agent_address
  • get_vault_state
  • send_usdc
  • create_proposal
  • get_proposal
  • list_proposals

Security

  • Do not paste mainnet private keys into chats, prompts, or repo files.
  • Keep agent-keypair.json outside project folders.
  • The agent signer can spend within the vault policy limits.
  • Whitelisted recipients bypass the spending limit.
  • Above-limit payments to non-whitelisted recipients are proposals that require human approval.
  • If a transaction fails, stop and report the exact error.