Skip to main content
Loading navigation
Back to prompt library

OpenAI Agents SDK Underwriting Setup

Linked challenge: Distressed Commercial Real Estate Debt-for-Equity Underwriter with OpenAI Agents SDK

Prompt source

implementation8 lines1 sectionsNo variables0 checklist items
from openai import OpenAI
# Initialize OpenAI Agent with financial modeling tool functions
client = OpenAI()
agent = client.beta.agents.create(
    name='CRE Debt Restructuring Specialist',
    instructions='Analyze commercial real estate debt and calculate equity swap values to achieve target DSCR.',
    tools=[calculate_dscr_tool, compute_swap_tool]
)