Skip to main content
Loading navigation
Back to prompt library

Claude Agents SDK VASP Initialization

Linked challenge: Claude Agents SDK Virtual Asset Compliance Auditor

Prompt source

implementation14 lines3 sectionsNo variables0 checklist items
import anthropic

client = anthropic.Anthropic()

# Configure message request with extended thinking budget
response = client.messages.create(
    model='claude-3-7-sonnet-20250219',
    max_tokens=4000,
    thinking={'type': 'enabled', 'budget_tokens': 1024},
    tools=[{
        'name': 'check_vasp_registry',
        'description': 'Looks up VASP licensing status in MAS database',
        'input_schema': {'type': 'object', 'properties': {'vasp_id': {'type': 'string'}}}
    }],
    messages=[{'role': 'user', 'content': 'Audit transfer VA-8819 for Travel Rule compliance.'}]
)