Integrations · TypeScript
FurlPay + Vercel AI SDK
Install @furlpay/vercel-ai and pass furlpayTools() to generateText or streamText. Your agent gets typed tools for USDC balances, transfers, swaps, fractional stock orders, travel search and yield deposits.
Install
npm install @furlpay/vercel-ai ai zodQuickstart
import { generateText } from "ai";
import { furlpayTools } from "@furlpay/vercel-ai";
const { text } = await generateText({
model: yourModel,
prompt: "What is my USDC balance, and swap 50 USDT to USDC if the rate is good.",
tools: furlpayTools({ apiKey: process.env.FURLPAY_API_KEY }), // demo mode without a key
});What your agent gets
- get_balance
- send_stablecoin
- swap_tokens
- get_portfolio
- place_order
- search_travel
- earn_deposit
FAQ
Does it work without an API key?
Yes. Without FURLPAY_API_KEY the tools run in demo mode against deterministic sample data, so you can build and test the agent loop before going live.
Which AI SDK versions are supported?
ai >= 3 with zod >= 3 as peer dependencies. Tools are standard AI SDK tool definitions and work with generateText, streamText, and agent loops.
All FurlPay integration packages are MIT-licensed and run in demo mode without an API key. Framework names are trademarks of their respective owners; FurlPay is not affiliated with or endorsed by them.