Back to Prompt Library
planning|implementation
Agent Setup and Tool Definition
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Intelligent Hospitality Agent for Personalized Guest Services
Format
Code-aware
Lines
1
Sections
1
Linked challenge
Intelligent Hospitality Agent for Personalized Guest Services
Prompt source
Original prompt text with formatting preserved for inspection.
1 lines
1 sections
No variables
0 checklist items
Initialize your OpenAI Assistant using the OpenAI Agents SDK and the `openai-o3` model. Define a set of custom tools (functions) that the agent can use to interact with a simulated hospitality system. Examples: `get_room_availability(date, room_type)`, `book_room(guest_id, room_type, date)`, `request_housekeeping(room_number, service_type)`. Provide Python class definitions for these tools and register them with your assistant.
Adaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Preserve the source structure until you know which part of the prompt is actually driving the result quality.
Tune next
Change domain facts, examples, and tool context first before you rewrite the instruction scaffold.
Verify after
Validate one failure mode at a time so prompt changes stay attributable instead of getting noisy.