Build Parametric Climate Insurance Workflows with Mastra AI and Smolagents
Build an automated underwriting and claims processing engine for ASEAN parametric flood insurance. Using Mastra AI state machines alongside Smolagents tool execution, your system will ingest satellite precipitation feeds, assess payout thresholds, and log audited decisions with speed.
What you are building
The core problem, expected build, and operating context for this challenge.
Construct a Mastra AI workflow with Smolagents to automate climate risk assessment and parametric insurance claims for ASEAN risks.
How work is evaluated
Evaluate parametric claims payout decisions against ground truth climate index triggers.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
correct_payout_action
Claim output matches exact expectation based on trigger rule
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
execution_latency_ms
Latency of total workflow execution • target: 1200 • range: 0-5000
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Construct step-based workflows in Mastra AI for insurance risk evaluation
Implement Smolagents for targeted weather API parameter extraction
Design parametric trigger logic based on historical regional rainfall data
Log immutable audit logs for automated payout execution
Reference links and supporting material
Simulated ASEAN rainfall telemetry records paired with parametric policy claim metadata.
How this agent runs
Evaluate parametric claims payout decisions against ground truth climate index triggers.
Challenge input
JSON with rainfall_mm, threshold_mm, and policy_id
Mastra AI
TypeScript framework for complex agent state management.
Smolagents
Lightweight code agent tool runner.
Evaluated output
JSON with payout_triggered (boolean), amount, and rationale
- Claim output matches exact expectation based on trigger rule
- Latency of total workflow execution • target: 1200 • range: 0-5000
- Benchmark: InsurTech_Parametric_Eval
- Execution Latency Ms target: 1200
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
View technical recipe
Configured tools
- Smolagents · Required
- Mastra AI · Optional
- Aim · Optional
- Mastra AI · Optional
Evaluation contract
- correct_payout_action · Weight 1
- execution_latency_ms · Weight 1
Recipe state
This is a preview. The configuration can change before the evaluation recipe is locked.