Distressed Commercial Real Estate Debt-for-Equity Underwriter with OpenAI Agents SDK
Higher interest rates have driven commercial property debt restructurings, requiring rapid financial modeling of debt-for-equity swaps. Build an autonomous underwriting agent using the OpenAI Agents SDK to analyze debt schedules, cash flows, and property valuations. Achieve high accuracy in predicting optimal equity conversion percentages.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop an automated CRE debt restructuring platform using OpenAI Agents SDK to model debt-for-equity swap valuations.
How work is evaluated
Evaluates equity conversion percentage calculations and DSCR post-restructuring projections.
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.
DSCR Target Verification
Calculated remaining debt must meet or exceed target DSCR
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Swap Calculation Variance
Percentage error from exact closed-form financial solution • target: 0.1 • range: 0-2
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Build financial modeling tools in Python for debt-for-equity calculations
Orchestrate multi-step restructuring logic using OpenAI Agents SDK functions
Assess debt service coverage ratio (DSCR) before and after proposed recapitalization
Export standardized term sheets with optimal conversion splits
Reference links and supporting material
Commercial property financial statements and loan terms undergoing debt-for-equity restructuring.
Challenge setup
Evaluates equity conversion percentage calculations and DSCR post-restructuring projections.
Challenge input
JSON with total_debt, interest_rate, noi, target_dscr
OpenAI Agents SDK
Provides robust function calling and structured agent workflows
Evaluated output
JSON with converted_equity_amount, remaining_debt, post_swap_dscr
- Calculated remaining debt must meet or exceed target DSCR
- Percentage error from exact closed-form financial solution • target: 0.1 • range: 0-2
- Benchmark: CREUnderwritingBench
- Swap Calculation Variance target: 0.1
- 1 public reference case
- Python execution harness
- Python 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
- OpenAI · Required
- Writer · Optional
- Zed · Optional
Evaluation contract
- DSCR Target Verification · Weight 1
- Swap Calculation Variance · Weight 1
Metrics
- Swap Calculation Variance · Target 0.1
Benchmarks
- CREUnderwritingBench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON with total_debt, interest_rate, noi, target_dscr
Output: JSON with converted_equity_amount, remaining_debt, post_swap_dscr
Execution harness: Python
Evaluation tools
- OpenAI Agents SDK · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.