Back to Home
Fieldy76 icon

Agentic-Travel-Planner

Verified Safe

by Fieldy76

Overview

An agentic workflow using Large Language Models (LLMs) and various tools to plan travel itineraries for users.

Installation

Run Command
uvicorn web_server:app --port 5000 --reload

Environment Variables

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • GOOGLE_API_KEY
  • FLIGHT_API_KEY
  • FLIGHT_API_SECRET
  • WEATHER_API_KEY
  • STRIPE_SECRET_KEY
  • STRIPE_PUBLISHABLE_KEY
  • STRIPE_WEBHOOK_SECRET
  • LANGFUSE_SECRET_KEY
  • LANGFUSE_PUBLIC_KEY
  • LANGFUSE_HOST
  • LLM_PROVIDER

Security Notes

The application uses environment variables for API keys, avoiding hardcoding secrets. Network communication with external APIs (Amadeus, Open-Meteo, Stripe) utilizes httpx with status checks and timeouts. Stripe payment processing correctly uses idempotency keys and keeps the secret key server-side. File uploads are handled with server-side text extraction for documents (PDF, DOCX, TXT), which is safer, and passes raw binary for images to the LLM. However, the FastAPI CORS middleware is configured with `allow_origins=['*']` which is a significant security risk in production environments as it allows cross-origin requests from any domain. Additionally, the Google LLM provider explicitly disables all content safety settings (`BLOCK_NONE`), which could allow unfiltered harmful content to pass through the agent.

Similar Servers

Stats

Interest Score13
Security Score8
Cost ClassHigh
Avg Tokens3000
Stars1
Forks0
Last Update2025-12-23

Tags

Agentic WorkflowLLMTravel PlanningFastAPITool UseMulti-modal