Important
This project was developed for the Murf AI Voice Agent Hackathon at TechFest IIT Bombay. It is built on top of Murf AI’s official demo repository, which was cloned and used solely for initial setup and environment configuration. All core features, integrations, and customizations — including the design and implementation of the Sacred Trails India AI Voice Agent travel booking system — were independently developed during the hackathon. I hereby declare that this submission represents my original work, created within the hackathon timeline, while appropriately leveraging the provided demo resources.
'Sacred Trails India' is an AI Voice Agent powered travel booking system that revolutionizes travel planning and booking for destinations across India.
This is a monorepo that contains both the backend and frontend for building voice agent applications. It's designed to be your starting point for each day's challenge task.
Travel_Booking_Agent/
├── backend/ # LiveKit Agents backend with Murf Falcon TTS
├── frontend/ # React/Next.js frontend for voice interaction
├── start_app.sh # Convenience script to start all services
└── README.md # This file
The backend is based on LiveKit's agent-starter-python with modifications to integrate Murf Falcon TTS for ultra-fast, high-quality voice synthesis.
Features:
- Complete voice AI agent framework using LiveKit Agents
- Murf Falcon TTS integration for fastest text-to-speech
- LiveKit Turn Detector for contextually-aware speaker detection
- Background voice cancellation
- Integrated metrics and logging
- Complete test suite with evaluation framework
- Production-ready Dockerfile
The frontend is based on LiveKit's agent-starter-react, providing a modern, beautiful UI for interacting with your voice agents.
Features:
- Real-time voice interaction with LiveKit Agents
- Camera video streaming support
- Screen sharing capabilities
- Audio visualization and level monitoring
- Light/dark theme switching
- Highly customizable branding and UI
Make sure you have the following installed:
- Python 3.9+ with uv package manager
- Node.js 18+ with pnpm
- LiveKit CLI (optional but recommended)
- LiveKit Server for local development
git clone https://github.com/d3vdebug/Travel_AIAgent.git
cd backend
# Install dependencies
uv sync
# Copy environment file and configure
cp .env.example .env.local
# Edit .env.local with your credentials:
# - LIVEKIT_URL
# - LIVEKIT_API_KEY
# - LIVEKIT_API_SECRET
# - MURF_API_KEY (for Falcon TTS)
# - GOOGLE_API_KEY (for Gemini LLM)
# - DEEPGRAM_API_KEY (for Deepgram STT)
# - MONGODB_URI
# - MONGODB_DB_NAME
# - MONGODB_COLLECTION
# - SMTP_EMAIL (for booking confirmations)
# - SMTP_PASSWORD (for booking confirmations)
# Download required models
uv run python src/agent.py download-filesFor MongoDB Atlas Cloud Setup:
cd backend
npm install mongodb
For LiveKit Cloud users, you can automatically populate credentials:
lk cloud auth
lk app env -w -d .env.local
cd frontend
# Install dependencies
pnpm install
# Copy environment file and configure
cp .env.example .env.local
# Edit .env.local with the same LiveKit credentialsbrew install livekitYou have two options:
# From the root directory
chmod +x start_app.sh
./start_app.shThis will start:
- LiveKit Server (in dev mode)
- Backend agent (listening for connections)
- Frontend app (at http://localhost:3000)
# Terminal 1 - LiveKit Server
livekit-server --dev
# Terminal 2 - Backend Agent
cd backend
uv run python src/agent.py dev
# Terminal 3 - Frontend
cd frontend
pnpm devThen open http://localhost:3000 in your browser!
- Murf Falcon TTS Documentation
- LiveKit Agents Documentation
- Original Backend Template
- Original Frontend Template
The backend includes a comprehensive test suite:
cd backend
uv run pytestLearn more about testing voice agents in the LiveKit testing documentation.
- Greeting: The AI agent introduces itself as "Nikhil" from Sacred Trails India
- Destination Selection: "I want to plan a trip to Goa"
- Travel Details: Provide dates, number of travelers, origin city
- Preferences: Specify budget range and desired amenities
- Travel Mode: Choose from available transport options with cost calculations
- Hotel Selection: Review and select from AI-recommended hotels
- Contact Details: Provide name, mobile number, and email
- Booking Confirmation: Receive booking ID and email confirmation
- "I want to travel to Mumbai from Delhi"
- "My budget is medium, and I prefer hotels with Wi-Fi and breakfast"
- "Show me travel options to Goa"
- "What's my booking status for booking ID ABC12345?"
- "Cancel my booking ABC12345"
This project is based on MIT-licensed templates from LiveKit and includes integration with Murf Falcon. See individual LICENSE files in backend and frontend directories for details.