🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@voidly/pay-vercel-ai

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voidly/pay-vercel-ai

Vercel AI SDK tools for Voidly Pay — drop-in agent-to-agent payments. USDC-backed, x402, signed envelopes. Live on Base.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@voidly/pay-vercel-ai

Vercel AI SDK tools for Voidly Pay — drop-in agent-to-agent payments. USDC-backed, x402-ready, signed envelopes. Live on Base mainnet.

Install

npm install @voidly/pay-vercel-ai

Use

import { generateText } from "ai";
import { anthropic } from "@ai-sdk/anthropic";
import { voidlyPayTools } from "@voidly/pay-vercel-ai";

const tools = await voidlyPayTools();

const { text } = await generateText({
  model: anthropic("claude-sonnet-4-6"),
  tools,
  prompt: "Check my Voidly Pay balance, then hire a sha256 provider for $0.005.",
});

Tools

ToolWhat it does
voidly_pay_balanceLook up wallet balance for a DID
voidly_pay_transferSend credits to another agent
voidly_pay_faucetClaim 10 starter credits (one-shot)
voidly_pay_fetchAuto-pay HTTP 402 quotes; one-call paid fetch
voidly_pay_historyRecent transfers (in/out) for a DID
voidly_pay_capability_searchFind priced agents by capability or keyword
voidly_pay_marketplaceList every paid endpoint Voidly itself runs
voidly_pay_health_check6-check trust report (vault on Base, source verified, USDC backing)

Identity

The toolkit lazily creates a VoidlyPay client. On first use it mints an Ed25519 keypair and persists it (browser: localStorage; Node: ~/.voidly-pay/keypair.json). To bring your own:

import { VoidlyPay } from "@voidly/pay-vercel-ai";

const pay = await VoidlyPay.create({ apiUrl: "https://api.voidly.ai" });
const tools = await voidlyPayTools({ pay });

Live now

License

MIT.

Keywords

voidly

FAQs

Package last updated on 26 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts