Haohao-end/Ctrip-Style-AI-Travel-Assistant — reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line AI travel assistant that feels like a real online travel service. I want to chat with it naturally and ask for help with flights, hotels, car rentals, and local activities.
It should have one main assistant that understands what I’m asking for, then hands the job to the right specialist assistant. It needs to remember the conversation, keep track of what task we’re in, and let me switch topics without getting confused.
Please make safe actions like searching flights or hotels happen automatically, but anything that changes or books something should pause and ask me to confirm first. For example, canceling a ticket or booking a hotel should require a yes before it goes through.
Use LangChain and LangGraph for the multi agent flow, with tool calling, shared state, and fallback error handling so the app doesn’t crash if a tool fails. Include setup instructions, environment variables for API keys, and a simple way to run it from the terminal.
Want more depth? Deep Reverse