How dineshp0103/triporchestrator works
TripOrchestrator is a Streamlit travel-planning assistant. A user enters a request in the chat; the app routes casual conversation to the front-door LLM or travel requests to a LangGraph supervisor, which selects specialist agents and presents their results with progress updates. The specialists cover itinerary research, forecasts, hotel search and train availability. The README documents these capabilities, while sampled code confirms supervisor-to-agent calls and key external lookups; some UI-to-router wiring and unsampled integrations are therefore shown only where documentation supports them.
Main entry points: orchestra.py Graph Supervisor · app.py Chat UI · llm_convo.py Request Router · weather_agent.py Weather Agent
Components 19
Chat Interface
- Chat UI
src/triporchestrator/app.py - Progress Display
src/triporchestrator/app.py - Travel Response
src/triporchestrator/app.py
Conversation Routing
- Request Router
agents/llm_convo.py - Graph Supervisor
agents/orchestra.py - Workflow State
agents/orchestra.py
Travel Specialists
- Itinerary Guide
agents/guide.py - Weather Agent
agents/weather_agent.py - Hotel Agent
agents/booking.py - Hotel Browser
agents/booking.py - Train Agent
agents/transport.py - IRCTC Browser
agents/transport.py
External Services
- Conversation LLM
- Web Search
- Geocoding Service
- OpenWeather API
- Booking.com
- IRCTC
Other components
- Traveler
Connections 19
- Traveler → Chat UI: submits request
README.md - Chat UI → Request Router: routes chat
README.md - Request Router → Conversation LLM: streams casual reply
agents/llm_convo.py - Request Router → Graph Supervisor: dispatches travel
README.md - Graph Supervisor → Workflow State: updates state
agents/orchestra.py - Graph Supervisor → Itinerary Guide: invokes itinerary
agents/orchestra.py - Graph Supervisor → Weather Agent: invokes forecast
agents/orchestra.py - Graph Supervisor → Hotel Agent: invokes hotel search
agents/orchestra.py - Graph Supervisor → Train Agent: invokes train search
agents/orchestra.py - Itinerary Guide → Web Search: searches travel info
agents/guide.py - Weather Agent → Geocoding Service: resolves location
agents/weather_agent.py - Weather Agent → OpenWeather API: fetches forecast
agents/weather_agent.py - Hotel Agent → Hotel Browser: uses browser engine
agents/booking.py - Hotel Browser → Booking.com: searches properties
agents/booking.py - Train Agent → IRCTC Browser: uses browser engine
agents/transport.py - IRCTC Browser → IRCTC: searches availability
agents/transport.py - Graph Supervisor → Progress Display: streams agent events
agents/orchestra.py - Chat UI → Progress Display: renders progress
README.md - Chat UI → Travel Response: displays responses
README.md