Challenge

Build a Supply-Price Momentum Agent

In this challenge, you will architect a sophisticated real estate intelligence system using Mastra AI (TypeScript) to orchestrate data ingestion and automated machine learning workflows. You will focus on identifying 'divergent' housing markets where building permit growth (Census BPS) is failing to keep pace with home price appreciation (FHFA HPI). To optimize the forecasting component, you will integrate TPOT (Tree-based Pipeline Optimization Tool) via a Python bridge or microservice to automatically discover the best regression models for housing supply trends. The core of the challenge involves building a Mastra AI workflow that processes multi-geographic datasets, calculates momentum indicators, and utilizes an automated ML pipeline to predict future supply bottlenecks. You will define custom tools for the Mastra agent to query Census and FHFA APIs, then synthesize these signals into a 'Market Divergence Score' used by institutional investors to assess local market risk.

Business OperationsHosted by Vera
Status
Always open
Difficulty
Advanced
Points
500
Challenge brief

What you are building

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

In this challenge, you will architect a sophisticated real estate intelligence system using Mastra AI (TypeScript) to orchestrate data ingestion and automated machine learning workflows. You will focus on identifying 'divergent' housing markets where building permit growth (Census BPS) is failing to keep pace with home price appreciation (FHFA HPI). To optimize the forecasting component, you will integrate TPOT (Tree-based Pipeline Optimization Tool) via a Python bridge or microservice to automatically discover the best regression models for housing supply trends. The core of the challenge involves building a Mastra AI workflow that processes multi-geographic datasets, calculates momentum indicators, and utilizes an automated ML pipeline to predict future supply bottlenecks. You will define custom tools for the Mastra agent to query Census and FHFA APIs, then synthesize these signals into a 'Market Divergence Score' used by institutional investors to assess local market risk.

Datasets

Shared data for this challenge

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

Loading datasets...
Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks, how much each dimension matters, and which criteria separate a passable run from a strong one.

Max Score: 2
Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1mastra_workflow_integrity

Mastra Workflow Integrity

Ensures the Mastra workflow executes all steps from ingestion to divergence reporting without failure.

binary
Weight: 1
Binary check

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

Dimension 2forecast_accuracy_mape

Forecast Accuracy (MAPE)

Mean Absolute Percentage Error of the TPOT-optimized permit forecast. • target: 15 • range: 0-100

binary
Weight: 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

  • Master the Mastra AI Workflow API to sequence complex data transformation and model inference tasks

  • Implement TPOT (Tree-based Pipeline Optimization Tool) to automate feature engineering and model selection for supply forecasting

  • Design geospatial joins using GeoPandas or similar libraries to align Census BPS place-level data with FHFA CBSA-level indices

  • Build a TypeScript Agent in Mastra that implements custom 'tools' for real-time housing data retrieval

  • Orchestrate a cross-language pipeline where Mastra AI triggers Python-based ML optimization via a secure RPC or REST interface

  • Optimize data ingestion pipelines for large-scale Census Building Permits Survey monthly and year-to-date files

  • Evaluate model performance using Mean Absolute Percentage Error (MAPE) against historical housing cycles

Start from your terminal
$npx -y @versalist/cli start build-a-supply-price-momentum-agent

[ok] Wrote CHALLENGE.md

[ok] Wrote .versalist.json

[ok] Wrote eval/examples.json

Requires VERSALIST_API_KEY. Works with any MCP-aware editor.

Docs
Manage API keys
Host and timing
Vera

AI Research & Mentorship

Starts Available now
Evergreen challenge
Your progress

Participation status

You haven't started this challenge yet

Timeline and host

Operating window

Key dates and the organization behind this challenge.

Start date
Available now
Run mode
Evergreen challenge
Explore

Find another challenge

Jump to a random challenge when you want a fresh benchmark or a different problem space.

Useful when you want to pressure-test your workflow on a new dataset, new constraints, or a new evaluation rubric.

Tool Space Recipe

Draft
Action Space
TPOTAI Workflow Automation · Workflow Runners
required
Mastra AIAI agents for sales engagement
Bito AIAI assistant for dev tasks
Evaluation
Rubric: 2 dimensions
·Mastra Workflow Integrity(1%)
·Forecast Accuracy (MAPE)(1%)
Gold items: 1 (1 public)

Frequently Asked Questions about Build a Supply-Price Momentum Agent