Challenge

VASP On-Chain Compliance Monitoring Pipeline with Pydantic AI

Construct a type-safe compliance monitoring agent using Pydantic AI to validate Virtual Asset Service Provider (VASP) transactions. Enforce Singapore Monetary Authority requirements for travel rule data transmission and sanctioned wallet identification.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Develop a strongly typed Pydantic AI agent workflow to audit crypto transactions against MAS VASP regulatory expectations.

Delivery guide

How work is evaluated

Evaluation

Evaluates Travel Rule flag enforcement and sanction list matching correctness.

Datasets

Shared data for this challenge

Review public datasets and any private uploads tied to your build.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

pydantic_schema_valid

Ensures agent output strictly parses into Pydantic model without validation errors

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

rule_accuracy

Accuracy of Travel Rule triggering based on SGD threshold • target: 1 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Build type-safe agent state and output models using Pydantic AI and Pydantic v2

  • Implement custom dependency injection for live blockchain RPC and OFAC sanction list providers

  • Enforce Travel Rule compliance thresholds ($1,000 SGD equivalent) automatically

  • Construct deterministic compliance loggers emit cryptographic audit trails

Resources and assets

Reference links and supporting material

Dataset notes

Synthetic dataset of 40 crypto asset transfer records with metadata.

How this agent runs

Evaluates Travel Rule flag enforcement and sanction list matching correctness.

Challenge input

JSON containing transfer_details and entity_info

Pydantic AI

Guarantees output structures and type validation using Pydantic v2.

Evaluated output

JSON conforming to VaspComplianceResult Pydantic schema

Checks for
  • Ensures agent output strictly parses into Pydantic model without validation errors
  • Accuracy of Travel Rule triggering based on SGD threshold • target: 1 • range: 0-1
Proof of success
  • Benchmark: Crypto Compliance Eval Suite
  • Rule Accuracy target: 1
  • 1 public reference case
Runtime evidence
  • Python execution harness
  • Python sandbox (unavailable on Versalist)
View technical recipe

Configured tools

Action Space
  • Pydantic AI · Required
  • Martian · Optional
  • Deepgram · Optional
Orchestration
  • Pydantic AI · Required

Evaluation contract

  • pydantic_schema_valid · Weight 1
  • rule_accuracy · Weight 1

Recipe state

This is a preview. The configuration can change before the evaluation recipe is locked.

Frequently Asked Questions about VASP On-Chain Compliance Monitoring Pipeline with Pydantic AI