New:Socket for Asana Is Now Available.Learn more
Get Started

@furlpay/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

@furlpay/vercel-ai

FurlPay tools for the Vercel AI SDK — stablecoin payments, investing, and x402 agentic payment rails.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@furlpay/vercel-ai

FurlPay tools for the Vercel AI SDK — add stablecoin payments, fractional investing, and x402 agentic payment rails to any AI SDK app in three lines.

Runs in demo mode out of the box — no FurlPay account needed. Set FURLPAY_API_KEY to execute against the live API.

Install

npm i @furlpay/vercel-ai ai zod

Quickstart

import { anthropic } from "@ai-sdk/anthropic";
import { generateText } from "ai";
import { furlpayTools } from "@furlpay/vercel-ai";

const { text } = await generateText({
  model: anthropic("claude-sonnet-5"),
  tools: furlpayTools(),                 // reads FURLPAY_API_KEY from the env
  maxSteps: 5,
  prompt: "What stablecoins do I hold? Then buy $25 of VOO and pay with USDC.",
});

Tools

All 12 tools are typed AI SDK tool()s with Zod schemas: furlpay_get_wallet_balances, furlpay_create_payment, furlpay_send_transfer, furlpay_place_investment_order, furlpay_get_swap_quote, furlpay_get_x402_config, furlpay_pay_for_resource, furlpay_set_agent_budget, furlpay_get_agent_budget, furlpay_create_x402_paywall, furlpay_verify_x402_payment, furlpay_settle_x402_payment.

Configuration

Env varPurpose
FURLPAY_API_KEYYour key. Omit for demo mode.
FURLPAY_API_BASEOverride the API base (default https://api.furlpay.com/v1).

Or pass an explicit client: furlpayTools({ client: new FurlPayClient({ apiKey: "fp_live_sk_..." }) }).

License

MIT © FurlPay

Keywords

furlpay

FAQs

Package last updated on 08 Jul 2026

Related posts