Skip to main content
Loading navigation

Initialize AI SDK Stablecoin Verifier

Prompt source

implementation5 lines2 sectionsNo variables0 checklist items
import { generateObject } from 'ai';
import { google } from '@ai-sdk/google';
import { z } from 'zod';

// Build an agent function that accepts a stablecoin transfer payload
// and uses Gemini 2.5 Flash to evaluate AML risk and compliance.