| title | AgentX-Travel India |
|---|---|
| emoji | 🏃 |
| colorFrom | orange |
| colorTo | green |
| sdk | streamlit |
| sdk_version | 1.42.2 |
| app_file | app.py |
| pinned | false |
| short_description | LLM + Langchain Travel Planner for India |
A smart travel itinerary planner built by TechMatrix Solvers for IIITDMJ HackByte3.0. This application leverages AI to create personalized travel itineraries for destinations across India.
This application is deployed on Hugging Face Spaces:
- AgentX-Travel-India - Latest version
- AgentX-Travel-India_v01 - Development version
- Gemini API
- MongoDB Atlas API
- Cloudflare AI SDK/ HuggingFace
- Github
- Postman testing
- AI-Powered Itinerary Generation: Create detailed day-by-day travel plans customized to your preferences
- Multi-Agent System: Specialized AI agents for research, accommodation, transportation, activities, dining, and itinerary integration
- Optional Enhanced Recommendations: Integration with optional Tailvy API and MongoDB for improved suggestions
- Interactive Maps: Visualize your travel destinations with integrated mapping
- Geo-based Attraction Search: Find nearby attractions using MongoDB's geospatial and vector search (optional)
- Chatbot Assistant: Get answers to your travel questions through our conversational AI
- Responsive Design: Works seamlessly across desktop and mobile devices
- Downloadable Itineraries: Save your travel plans offline for easy access
- Python 3.8+
- Google API Key (for Gemini access)
- (Optional) Tailvy API Key for enhanced travel recommendations
- (Optional) MongoDB Atlas account and OpenAI API Key for geo-based attraction search
# Clone the repository
git clone https://github.com/Abs6187/agentx-travel-india.git
cd agentx-travel-india
# Install dependencies
pip install -r requirements.txt
# Optional: Install MongoDB and OpenAI for geo-based recommendations
pip install pymongo openai
# Set up environment variables (optional)
export GEMINI_API_KEY="your_api_key_here"
# Run the application
streamlit run app.py- Enter your Google Gemini API key in the settings panel
- (Optional) Add Tailvy API key for enhanced recommendations
- (Optional) Configure MongoDB and OpenAI for geo-based attraction search
- Enter your origin, destination, and travel details
- Specify your preferences and budget
- Click "Create My Personal Travel Itinerary"
- Review the generated itinerary
- Explore nearby attractions on the map tab
You can set up your API keys through the app's settings panel:
- Required: Google Gemini API Key - Get from https://ai.google.dev/
- Optional: Tailvy API Key - For enhanced travel recommendations
- Optional: MongoDB Connection URI - For geo-based attraction search
- Optional: OpenAI API Key - For vector search of attractions
The app includes optional MongoDB integration for geo-based attraction recommendations:
- Stores attraction data with geographical coordinates
- Uses MongoDB's geospatial queries to find attractions near your destination
- Implements vector search using OpenAI embeddings for semantic matching
- Visualizes attractions on an interactive map
If you have a MongoDB Atlas account, you can:
- Enter your connection URI in the settings
- Provide an OpenAI API key for vector embeddings
- Initialize a sample dataset with Indian attractions
- Search for attractions near your destination based on your interests
Our project architecture has evolved through multiple versions:
Initial design with basic AI agent integration
Enhanced architecture implemented during the hackathon with improved agent communication
Advanced version with additional data sources and optimized workflows
Planned future architecture with expanded capabilities and integrations
┌─────────────────────────────────────────────────────────────────┐
│ User Interface │
│ (Streamlit) │
└───────────────────────────┬─────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ Orchestration Layer │
└───┬───────┬───────┬───────┬───────┬───────┬───────┬─────────────┘
│ │ │ │ │ │ │
▼ ▼ ▼ ▼ ▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│Research │ │Accomm. │ │Transport│ │Activities│ │ Dining │ │Itinerary│ │ Chatbot │
│ Agent │ │ Agent │ │ Agent │ │ Agent │ │ Agent │ │ Agent │ │ Agent │
└────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘ └────┬────┘
│ │ │ │ │ │ │
└───────────┴───────────┴───────────┴───────────┴───────────┴───────────┘
│
▼
┌────────────────┬────────────────┬─────────────────┬───────────────┐
│ Google Gemini │ Tailvy API │ MongoDB Atlas │ OpenAI API │
│ (Required) │ (Optional) │ (Optional) │ (Optional) │
└────────────────┴────────────────┴─────────────────┴───────────────┘
The application follows a multi-agent architecture where specialized AI agents handle different aspects of travel planning. These agents work collaboratively to create a comprehensive travel itinerary tailored to the user's preferences.
This project was created by TechMatrix Solvers for IIITDMJ HackByte3.0 (April 4-6, 2025):
- Team Leader: Abhay Gupta (LinkedIn)
- Jay Kumar (LinkedIn)
- Kripanshu Gupta (LinkedIn)
- Aditi Soni (LinkedIn)
- Frontend: Streamlit 1.32.2
- AI Framework: LangChain with Google Genai 0.0.10
- Language Model: Google Generative AI (Gemini) 0.3.2
- Geolocation: Geopy 2.4.1
- Visualization: Pydeck 0.8.0
- Data Processing: Pandas 2.1.4
- Optional: MongoDB for geo-based recommendations
- Optional: OpenAI for vector embeddings
- Optional: Tailvy API for enhanced travel planning
- HackByte for hosting this hackathon
- IIITDM Jabalpur for providing the venue and support
- MongoDB for the geo-spatial and vector search capabilities
- The open-source community for the incredible tools that made this project possible
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


