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.
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.
How work is evaluated
Evaluates Mastra AI workflow output accuracy on sale-leaseback purchase prices, cap rates, and rent coverage metrics.
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.
Deal Approval Classification
Verifies correct approval tier based on rent coverage >= 3.0x and cap rate threshold.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
coverage_ratio_mae
Mean Absolute Error of initial rent coverage ratio calculation • target: 0.01 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
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.
Reference links and supporting material
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
- 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
- Benchmark: CRE Deal Underwriting Benchmark
- Coverage Ratio Mae target: 0.01
- 1 public reference case
- JavaScript execution harness
- Javascript sandbox
View technical recipe
Configured tools
- Mastra AI · Required
- AutoKeras · Optional
- Synthflow · Optional
- 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.