Overview
The Yuno Agent Toolkit is available as an npm package (@yuno-payments/agent-toolkit) and provides:
- Framework Integrations — Vercel AI SDK, Google Genkit, LangChain, OpenAI Chat, and OpenAI Agents SDK. Import only the adapter you need.
- Multi-provider Orchestration — Access 300+ payment providers globally through a single integration. Your AI agent inherits Yuno’s smart routing, multi-provider failover, and market-specific payment methods.
- Type-Safe — Full TypeScript with comprehensive types and Zod-validated schemas.
- Modular — Import only the tool categories you need (customers, payments, subscriptions, etc.) and filter actions granularly.
Quick Start
Installation
Requirements
- Node.js: Version 18 or higher.
- Yuno Account: A Yuno account with API credentials.
Credentials
Get your API credentials from the Yuno Dashboard and set them as environment variables:Supported AI Frameworks
The toolkit provides specialized adapters for major AI frameworks. Choose the one that fits your stack:- Vercel AI SDK
- Google Genkit
- LangChain
- OpenAI Chat
- OpenAI Agents SDK
Import the adapter using
@yuno-payments/agent-toolkit/ai-sdk.Configuration
Action Filtering
You can granularly control which tools are available to the agent:ALL_TOOLS_ENABLED constant: