Agentic-Travel-Planner
Verified Safeby Fieldy76
Overview
An agentic workflow using Large Language Models (LLMs) and various tools to plan travel itineraries for users.
Installation
uvicorn web_server:app --port 5000 --reloadEnvironment 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
concierge
A framework for building and serving agentic workflows, enabling autonomous agents to interact with application services through structured stages and tasks.
Polymcp
A comprehensive TypeScript framework for building and orchestrating Model Context Protocol (MCP) servers and AI agents, enabling LLMs to intelligently discover, select, and execute external tools.
Local_MCP_Client
The client acts as a cross-platform web and API interface for natural language interaction with configurable MCP servers, facilitating structured tool execution and dynamic agent behavior using local LLMs.
nova-llm
A full-stack LLM agent workflow with custom tool calling capabilities and configuration with Model Context Protocol (MCP) servers, supporting multiple Gemini models.