{"repo":"Haohao-end/Ctrip-Style-AI-Travel-Assistant","free":true,"listed":false,"github":"https://github.com/Haohao-end/Ctrip-Style-AI-Travel-Assistant","clone":"git clone https://github.com/Haohao-end/Ctrip-Style-AI-Travel-Assistant.git","description":"A stateful multi-agent travel service system built on LangChain & LangGraph. Features intelligent task delegation, permission control, and human-in-the-loop verification for flight booking, hotel reservations, car rentals, and tour planning.","language":"Python","stars":55,"topics":["mcp","python","langchain","langgraph","llm","rag"],"license":null,"category":"ai-agents","readme_excerpt":"Ctrip-Style AI Travel Assistant An advanced, multi-agent intelligent service system based on LangChain and LangGraph , designed to simulate a professional travel agency (Ctrip-style). The system handles complex, multi-turn dialogues and dynamic task execution across flight booking, hotel reservations, car rentals, and tour planning. Project Background Traditional chatbot systems often struggle with state management in long-running conversations and the safe execution of sensitive operations. This project implements a Stateful Multi-Agent Orchestration architecture that manages task delegation, tool-calling permissions, and human-in-the-loop (HITL) verification. Architecture Overview The system is built on a \"Hub-and-Spoke\" architecture: - Primary Assistant: The central router that identifies intent and delegates tasks. - Specialized Sub-Agents: Dedicated agents for Flights, Hotels, Car Rentals, and Excursions. - Unified State Management: A shared state tracking message history, user information, and a dialogue stack. Key Components 1. Multi-Agent Dispatcher: Uses dynamic routing via add conditional edges and a dialog stack to manage sub-agent lifecycle. 2. Permission Control: Implements a strict distinction between Safe Tools (Read-only) and Sensitive Tools (Write/Modify). 3. Human-in-the-Loop: Automated workflow interruption ( interrupt before ) for sensitive operations, requiring user confirmation before database modification. 4. Context Persistence: Utilizes MemorySaver to","default_branch":null,"files":null,"tree":[],"storefront":"/r/Haohao-end","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Haohao-end/Ctrip-Style-AI-Travel-Assistant/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}