Back to prompt library
Agent Architecture Setup
Linked challenge: Build a COSMIC AML Risk Intelligence Agent with Vercel AI SDK and Galileo
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Set up a Vercel AI SDK project using `ai` and `@ai-sdk/openai`. Define a tool `detectLaunderingLayering` that scans transactions and logs telemetry into Galileo. Wrap execution in streamText.