OpenAI Agents SDK Underwriting Setup
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]
)