VoyageAI Backend is an AI-powered travel planning service built with FastAPI, LangGraph, and Groq LLMs. It leverages a graph-based multi-agent architecture with 8 specialized AI agents, real-time API integrations, and intelligent tool orchestration to generate personalized travel recommendations, itineraries, hotels, attractions, restaurants, weather insights, and transport guidance.
- 🤖 Graph-based multi-agent system using LangGraph
- 🧠 Powered by Groq LLMs
- 🗺️ Personalized destination recommendations
- 🏨 Intelligent hotel recommendations
- 🎯 Attraction discovery and ranking
- 🍽️ Restaurant and local cuisine recommendations
- 🚗 Transport planning
- 🌤️ Real-time weather information
- 📅 AI-generated day-wise itineraries
- 🖼️ Destination, hotel, restaurant, and attraction image retrieval
- ⚡ Real-time travel data through external APIs
The backend consists of 8 specialized AI agents working collaboratively through a graph-based workflow.
- Destination Agent
- Hotel Agent
- Attraction Agent
- Food Agent
- Transport Agent
- Weather Agent
- Itinerary Agent
- Budget Agent
Each agent specializes in a specific planning task and exchanges structured information to generate a complete travel plan.
- FastAPI
- Python
- LangGraph
- LangChain
- Groq LLM
- RAG
- ChromaDB
- OpenTripMap API
- Geoapify API
- OpenWeather API
- Pexels API
app/
│
├── agents/
├── api/
├── config/
├── graph/
├── tools/
├── utils/
└── app.py
Clone the repository
git clone https://github.com/satyabrata-mishra/VoyageAI-Backend.gitMove into the project
cd VoyageAI-BackendCreate a virtual environment
python -m venv .venvActivate the environment
Windows
.venv\Scripts\activateLinux/macOS
source .venv/bin/activateInstall dependencies
pip install -r requirements.txtCreate a .env file and configure the following keys:
GROQ_API_KEY=
OPENTRIPMAP_API_KEY=
OPENWEATHER_API_KEY=
GEOAPIFY_API_KEY=
PEXELS_API_KEY=
MONGODB_URI=
DATABASE_URL=uvicorn app.app:app --reloadServer runs on
http://localhost:8000
Interactive API documentation
http://localhost:8000/docs
| Endpoint | Description |
|---|---|
/ |
Root endpoint |
/api/health |
Health check |
/api/travel |
Generate personalized travel plan |
- OpenTripMap for destinations and attractions
- Geoapify for hotels and restaurants
- OpenWeather for weather forecasts
- Pexels for destination and place images
- Graph-based multi-agent orchestration
- Autonomous AI workflow execution
- Intelligent tool calling
- Shared state management
- Dynamic task routing
- Real-time API integration
- Modular and scalable architecture
Satyabrata Mishra