Back to prompt library
Setup OpenAI Agent with Tools
Linked challenge: Voice-Enabled Affordability Stress-Test Agent
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Create a Python agent using the `openai-agents` SDK. Define a tool called `get_market_data(city: str)` that reads from a local Zillow ZHVI CSV and returns the median home price. Use the `Agent` class to initialize the assistant with a 'Real Estate Expert' persona.