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
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.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
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.
Learning goals
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
Dataset of 30 corporate sale-leaseback property transactions detailing tenant financial statements, master lease terms, property appraisals, and capitalization rates.
Challenge setup
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 (unavailable on Versalist)
Shows the first task, up to three tools, and up to three evidence items.
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
Metrics
- coverage_ratio_mae · Target 0.01
Benchmarks
- CRE Deal Underwriting Benchmark
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing tenant_ebitda, annual_proposed_rent, property_appraisal, lease_term_years, and annual_escalation_rate
Output: JSON with initial_rent_coverage, cap_rate, total_lease_npv, and deal_approval_tier
Execution harness: JavaScript
Evaluation tools
- Mastra AI · Agent & Workflow Framework
Recipe freeze marker
No recipe freeze time is recorded.