Mastra AI Exclusive Listing Revenue Model Workflow Engine
Create a TypeScript workflow using Mastra AI to redesign exclusive listing agreement structures following tenant-paid broker fee restrictions. The automated system calculates landlord commission splits and enforces state real estate regulatory compliance constraints across property workflows seamlessly.
What you are building
The core problem, expected build, and operating context for this challenge.
Uses Mastra AI's TypeScript framework to construct stateful workflow graphs and agent memory tools for calculating exclusive listing fee models.
How work is evaluated
Evaluates workflow step execution and legal agreement structure output.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Commission Split Math
Verifies sum of agent payouts equals total landlord fee paid
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Workflow Completion Rate
Percentage of workflow steps completed without unhandled context exceptions • target: 1 • 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
Implement a stateful Mastra AI workflow in TypeScript with explicit step DAGs
Model legal landlord-paid commission structures for exclusive residential listings
Integrate agent memory to preserve negotiations across multi-turn agent calls
Generate automated exclusive representation agreements compliant with local laws
Reference links and supporting material
30 exclusive listing representation scenarios and commission structures.
Challenge setup
Evaluates workflow step execution and legal agreement structure output.
Challenge input
JSON containing annual_rent, landlord_commission_rate, agent_split_rate, and tenant_fee_prohibited (bool)
Mastra AI
Provides typed graph workflows and built-in memory tools.
Evaluated output
JSON containing landlord_total_fee, listing_broker_payout, cobroke_payout, and compliance_passed
- Verifies sum of agent payouts equals total landlord fee paid
- Percentage of workflow steps completed without unhandled context exceptions • target: 1 • range: 0-1
- Benchmark: CRE-WorkflowAutomation-TS
- Workflow Completion Rate target: 100%
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Mastra AI · Required
- RAI · Optional
- aiXplain · Optional
- Mastra AI · Required
Evaluation contract
- Commission Split Math · Weight 1
- Workflow Completion Rate · Weight 1
Metrics
- Workflow Completion Rate · Target 1
Benchmarks
- CRE-WorkflowAutomation-TS
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing annual_rent, landlord_commission_rate, agent_split_rate, and tenant_fee_prohibited (bool)
Output: JSON containing landlord_total_fee, listing_broker_payout, cobroke_payout, and compliance_passed
Execution harness: JavaScript
Evaluation tools
- Mastra AI · TypeScript Agent & Workflow Framework
Recipe freeze marker
No recipe freeze time is recorded.