Skip to main content
Back to Prompt Library
planning

OpenAI Agents SDK Setup & Tool Definitions

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Building an Agentic AML Risk Intelligence Workflow with OpenAI Agents SDK and Galileo

Format
Code-aware
Lines
1
Sections
1
Linked challenge
Building an Agentic AML Risk Intelligence Workflow with OpenAI Agents SDK and Galileo

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Initialize an OpenAI Agents SDK application (`from agents import Agent, Runner, function_tool`) with distinct specialized agents: TransactionInvestigatorAgent and RegulatoryReporterAgent. Define tools for querying transaction history, checking COSMIC blacklist registers, and calculating graph distance to flagged nodes. Ensure all tool parameters are typed with full JSON schema descriptions.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.