Challenge

Sale-Leaseback Valuation & Credit Monitor Workflow with Mastra AI

Institutional real estate buyers are rapidly deploying capital into corporate sale-leaseback transactions. Build an automated sale-leaseback underwriting agent using Mastra AI (TypeScript) to evaluate tenant corporate credit risk and master lease capitalization yields with sub-second execution speeds.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Construct a Mastra AI TypeScript workflow with built-in memory and tool execution to model tenant credit ratings, lease escalations, and property residual values.

Delivery guide

How work is evaluated

Evaluation

Evaluates Mastra AI workflow output accuracy on sale-leaseback purchase prices, cap rates, and rent coverage metrics.

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 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

Deal Approval Classification

Verifies correct approval tier based on rent coverage >= 3.0x and cap rate threshold.

Binary check

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

Dimension 2

coverage_ratio_mae

Mean Absolute Error of initial rent coverage ratio calculation • target: 0.01 • 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

  • Configure Mastra AI agent workflows with step dependencies in TypeScript.

  • Parse corporate tenant financial health indicators (fixed-charge coverage ratio, default probability).

  • Calculate sale-leaseback capitalization rate, initial rent coverage, and terminal asset valuation.

  • Persist underwriting evaluations in Mastra integrated storage.

Resources and assets

Reference links and supporting material

Dataset notes

Dataset of 30 corporate sale-leaseback property transactions detailing tenant financial statements, master lease terms, property appraisals, and capitalization rates.

How this agent runs

Evaluates Mastra AI workflow output accuracy on sale-leaseback purchase prices, cap rates, and rent coverage metrics.

Challenge input

JSON containing tenant_ebitda, annual_proposed_rent, property_appraisal, lease_term_years, and annual_escalation_rate

Mastra AI

Mandatory TypeScript agent framework for structured step workflows.

Evaluated output

JSON with initial_rent_coverage, cap_rate, total_lease_npv, and deal_approval_tier

Checks for
  • Verifies correct approval tier based on rent coverage >= 3.0x and cap rate threshold.
  • Mean Absolute Error of initial rent coverage ratio calculation • target: 0.01 • range: 0-1
Proof of success
  • Benchmark: CRE Deal Underwriting Benchmark
  • Coverage Ratio Mae target: 0.01
  • 1 public reference case
Runtime evidence
  • JavaScript execution harness
  • Javascript sandbox
View technical recipe

Configured tools

Action Space
  • Mastra AI · Required
  • AutoKeras · Optional
  • Synthflow · Optional
Orchestration
  • Mastra AI · Required

Evaluation contract

  • Deal Approval Classification · Weight 1
  • coverage_ratio_mae · Weight 1

Recipe state

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

Frequently Asked Questions about Sale-Leaseback Valuation & Credit Monitor Workflow with Mastra AI