Skip to main content
Loading navigation
Back to prompt library

OpenAI Agents SDK Agent and Function Setup

Linked challenge: Post-Disaster Rebuild Cost and Muni Bond Underwriting Agent with OpenAI Agents SDK

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Write a Python script using OpenAI Agents SDK (`from agents import Agent, Runner, function_tool`) defining a tool `calculate_muni_dscr` that evaluates disaster housing debt service coverage and outputs structured compliance status.