Skip to main content
Loading navigation
Back to prompt library

Initialize Claude Agents SDK Investigator

Linked challenge: Build a Crypto Travel Rule and AML Compliance Agent with Claude Agents SDK

Prompt source

implementation13 lines3 sectionsNo variables0 checklist items
import anthropic

client = anthropic.Anthropic()

# Configure Claude agent call with extended thinking
response = client.messages.create(
    model="claude-3-7-sonnet-20250219",
    max_tokens=4000,
    thinking={"type": "enabled", "budget_tokens": 2000},
    system="You are an expert AML compliance agent. Evaluate IVMS 101 payload for FATF compliance.",
    messages=[
        {"role": "user", "content": f"Audit this transaction payload: {payload}"}
    ]
)
# Process response...