freshcrate
Skin:/
Home > AI Agents > Multi-Agent-AI-Travel-Advisor

Multi-Agent-AI-Travel-Advisor

AI travel planner with 7 specialized agents, RAG, and tool-calling. Built with CrewAI & LangChain. Generates personalized itineraries with flights, hotels, activities, and cultural tips. Production-re

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

AI travel planner with 7 specialized agents, RAG, and tool-calling. Built with CrewAI & LangChain. Generates personalized itineraries with flights, hotels, activities, and cultural tips. Production-ready Python codebase.

README

Multi-Agent AI Travel Planner v2.0

An AI travel planning system that combines real-time API data with AI-powered analysis to create personalized travel itineraries. Built with CrewAI, featuring 11 external API integrations and RAG for travel knowledge.

Key Concepts

  • 3 AI Agents handle reasoning: parsing requests, cultural knowledge, and itinerary compilation
  • 4 API Services fetch real-time data: flights, accommodation, activities, and logistics
  • RAG Knowledge Base provides cultural tips, visa info, and practical advice via ChromaDB
  • AI only does analysis โ€” all travel data comes from real APIs, not hallucinated by the LLM

Architecture

User Request
    |
[AI] Travel Planning Manager --- parses request into structured params
    |
[API] 4 services fetch in parallel (no AI, pure HTTP)
    |--- Flights: Amadeus + SerpApi (fallback)
    |--- Accommodation: Booking.com + Airbnb
    |--- Activities: Google Places + Viator + Yelp
    |--- Logistics: Google Maps + OpenWeatherMap + Currency + Country Info
    |
[AI] Travel Knowledge Expert --- RAG for cultural/visa/practical info
    |
[AI] Itinerary Compiler --- synthesizes ALL real data into day-by-day plan
    |
Final Itinerary (with real prices, real hotels, booking links)

Quick Start

Prerequisites

Installation

# Clone the project
cd "Multi Agent AI Travel Agent"

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # macOS/Linux
# or: venv\Scripts\activate  # Windows

# Install dependencies
pip install -r requirements.txt

# Set up environment
cp .env.example .env
# Edit .env and add your API keys

Running

Backend:

uvicorn backend.app:app --host 0.0.0.0 --port 8000 --reload --reload-exclude "venv/*" --reload-exclude "data/*"

Frontend (separate terminal):

cd frontend
npm install
npm run dev

CLI mode (no frontend needed):

python main.py

API Keys Required

Required

Key Purpose Get it from
GEMINI_API_KEY AI agents (needs paid plan) aistudio.google.com/apikey

Flight APIs (need at least one)

Key Purpose Get it from
AMADEUS_API_KEY + AMADEUS_API_SECRET Primary flight search developers.amadeus.com
SERPAPI_KEY Fallback flight search serpapi.com

Accommodation APIs (need at least one)

Key Purpose Get it from
BOOKING_API_KEY Hotels (Booking.com via RapidAPI) rapidapi.com
AIRBNB_API_KEY Rentals (Airbnb via RapidAPI) rapidapi.com

Activity APIs (need at least one)

Key Purpose Get it from
GOOGLE_PLACES_API_KEY Attractions & restaurants console.cloud.google.com
VIATOR_API_KEY Bookable tours docs.viator.com
YELP_API_KEY Dining (5,000 calls/day free) yelp.com/developers

Logistics APIs (all free)

Key Purpose Get it from
GOOGLE_MAPS_API_KEY Transport routes console.cloud.google.com
OPENWEATHER_API_KEY Weather forecast openweathermap.org

Optional

Key Purpose
OPENAI_API_KEY RAG embeddings (only if using knowledge base)
EXCHANGE_RATE_API_KEY Currency rates (fallback uses free API without key)

Services gracefully skip any provider whose key isn't configured.

Project Structure

backend/
โ”œโ”€โ”€ app.py                          # FastAPI entry point
โ”œโ”€โ”€ config/
โ”‚   โ””โ”€โ”€ settings.py                 # All API keys & service URLs
โ”œโ”€โ”€ api/
โ”‚   โ”œโ”€โ”€ routes.py                   # REST endpoints
โ”‚   โ””โ”€โ”€ websocket.py                # WebSocket + progress updates
โ”œโ”€โ”€ services/                       # Pure API calls, NO AI
โ”‚   โ”œโ”€โ”€ flights/
โ”‚   โ”‚   โ”œโ”€โ”€ amadeus.py              # Amadeus API (primary)
โ”‚   โ”‚   โ”œโ”€โ”€ serpapi.py              # SerpApi Google Flights (fallback)
โ”‚   โ”‚   โ””โ”€โ”€ service.py              # FlightService coordinator
โ”‚   โ”œโ”€โ”€ accommodation/
โ”‚   โ”‚   โ”œโ”€โ”€ booking.py              # Booking.com via RapidAPI
โ”‚   โ”‚   โ”œโ”€โ”€ airbnb.py              # Airbnb via RapidAPI
โ”‚   โ”‚   โ””โ”€โ”€ service.py             # AccommodationService coordinator
โ”‚   โ”œโ”€โ”€ activities/
โ”‚   โ”‚   โ”œโ”€โ”€ google_places.py        # Attractions & restaurants
โ”‚   โ”‚   โ”œโ”€โ”€ viator.py              # Bookable tours
โ”‚   โ”‚   โ”œโ”€โ”€ yelp.py                # Dining recommendations
โ”‚   โ”‚   โ””โ”€โ”€ service.py             # ActivityService coordinator
โ”‚   โ”œโ”€โ”€ logistics/
โ”‚   โ”‚   โ”œโ”€โ”€ google_maps.py         # Directions & routes
โ”‚   โ”‚   โ”œโ”€โ”€ weather.py             # OpenWeatherMap
โ”‚   โ”‚   โ”œโ”€โ”€ currency.py            # Exchange rates
โ”‚   โ”‚   โ”œโ”€โ”€ country_info.py        # REST Countries + Travelbriefing
โ”‚   โ”‚   โ””โ”€โ”€ service.py             # LogisticsService coordinator
โ”‚   โ””โ”€โ”€ knowledge/
โ”‚       โ””โ”€โ”€ rag.py                 # ChromaDB RAG
โ”œโ”€โ”€ agents/                         # Only 3 AI agents
โ”‚   โ”œโ”€โ”€ llm.py                     # Gemini LLM factory
โ”‚   โ”œโ”€โ”€ definitions.py             # Travel Manager, Knowledge Expert, Compiler
โ”‚   โ”œโ”€โ”€ tasks.py                   # Task definitions
โ”‚   โ””โ”€โ”€ tools.py                   # CrewAI tool wrapper (RAG only)
โ”œโ”€โ”€ crew/
โ”‚   โ””โ”€โ”€ orchestrator.py            # Main pipeline
โ”œโ”€โ”€ models/
โ”‚   โ””โ”€โ”€ schemas.py                 # Normalized Pydantic models
frontend/                           # React + Vite UI
data/
โ”œโ”€โ”€ travel_knowledge/              # RAG documents (.txt)
โ””โ”€โ”€ chroma_db/                     # Vector store (auto-generated)
main.py                             # CLI entry point

How It Works

The Pipeline (2-3 AI calls instead of 15-20)

  1. AI Step 1 โ€” Travel Manager parses natural language into structured parameters (destinations, dates, budget, interests)
  2. API Step โ€” 4 services fetch real data in parallel via asyncio.gather (flights, hotels, activities, logistics) โ€” pure HTTP, no AI
  3. AI Step 2 โ€” Knowledge Expert queries RAG for cultural/visa/practical info
  4. AI Step 3 โ€” Itinerary Compiler takes ALL real API data + knowledge and creates a personalized day-by-day plan

Adding Travel Knowledge

Add .txt files to data/travel_knowledge/. Delete data/chroma_db/ to force re-indexing. The RAG system automatically indexes new documents on next run.

Tech Stack

  • CrewAI โ€” Multi-agent orchestration
  • Google Gemini โ€” LLM (via LiteLLM)
  • FastAPI โ€” REST + WebSocket API
  • httpx โ€” Async HTTP client for all API services
  • ChromaDB โ€” Vector database for RAG
  • React + Vite โ€” Frontend
  • Pydantic โ€” Data models and validation

Troubleshooting

"Rate limit error" / "429" / "RESOURCE_EXHAUSTED"

Your Gemini free tier quota is exhausted. Enable billing at aistudio.google.com or wait for daily reset.

"API key expired"

Generate a new key at aistudio.google.com/apikey and update .env.

Server reloads during execution

Run with: uvicorn backend.app:app --reload --reload-exclude "venv/*" --reload-exclude "data/*"

"ModuleNotFoundError"

Activate your venv and run: pip install -r requirements.txt

ChromaDB errors

Delete data/chroma_db/ and run again.

License

MIT License โ€” see LICENSE for details.

Release History

VersionChangesUrgencyDate
main@2026-04-12Latest activity on main branchHigh4/12/2026
0.0.0No release found โ€” using repo HEADHigh4/4/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

Auto-UseAuto-Use Computer Use โ€” drives your OS, browser, scours the web, writes your code. One agent, end to end.V1.4
Paper2Slides๐Ÿ“Š Transform research papers into professional slides and posters seamlessly and quickly with Paper2Slides, saving you valuable time.main@2026-06-14
GENesis-AGIAutonomous AI agent with persistent memory, self-learning, and earned autonomy. Cognitive partner that remembers, learns, and evolves.v3.0b18
LLM-Agent-Paper-dailyAutomatically Update LLM-Agent Papers Daily using Github Actions (Update Every 12th hours)main@2026-09-07
AgentQuantAutonomous quantitative trading research platform that transforms stock lists into fully backtested strategies using AI agents, real market data, and mathematical formulations, all without requiring amain@2026-09-06

More in AI Agents

CopilotKitThe Frontend Stack for Agents & Generative UI. React + Angular. Makers of the AG-UI Protocol
AIGC-Interview-Bookใ€ไธ‰ๅนด้ข่ฏ•ไบ”ๅนดๆจกๆ‹Ÿใ€‘AIGC็ฎ—ๆณ•ๅทฅ็จ‹ๅธˆ้ข่ฏ•็ง˜็ฑใ€‚ๆถต็›–AIGCใ€LLMๅคงๆจกๅž‹ใ€AI Agentใ€ไผ ็ปŸๆทฑๅบฆๅญฆไน ใ€่‡ชๅŠจ้ฉพ้ฉถใ€ๆœบๅ™จๅญฆไน ใ€่ฎก็ฎ—ๆœบ่ง†่ง‰ใ€่‡ช็„ถ่ฏญ่จ€ๅค„็†ใ€ๅผบๅŒ–ๅญฆไน ใ€ๅคงๆ•ฐๆฎๆŒ–ๆŽ˜ใ€ๅ…ท่บซๆ™บ่ƒฝใ€ๅ…ƒๅฎ‡ๅฎ™ใ€AGI็ญ‰AI่กŒไธš้ข่ฏ•็ฌ”่ฏ•ๅนฒ่ดง็ป้ชŒไธŽๆ ธๅฟƒ็Ÿฅ่ฏ†ใ€‚
llm-for-zoteroA simple Zotero plugin that brings your own LLM into the side panel.
openclaw-supermemoryOpenClaw Supermemory lets to have long-term memory and recall for your openclaw agent.