Day Trip Planner

Multi Agent AI System for Personalized Trip Planning

AI AgentsMulti Agent OrchestrationClaude Agent SDKFastAPIStructured OutputsServer-Sent Events

Built a full stack, multi agent AI system that converts natural language travel preferences into multiple personalized, validated day trip itineraries. Specialized LLM agents handle preference interpretation, activity and restaurant research, contextual reasoning, itinerary criticism, and iterative revision, exchanging schema validated outputs through Pydantic models while Python and AnyIO coordinate concurrent, dependency aware execution. A real time event bus streams agent status, tasks, and validation results to a React interface via Server-Sent Events.

The architecture separates probabilistic reasoning from factual retrieval and constraint enforcement. Google Places supplies verified venue details, coordinates, ratings, and hours; routing APIs provide real travel time and distance data; and Open-Meteo adds weather context specific to location and date. A deterministic scheduling engine combines these sources with user constraints, including budget, meal windows, transportation, pace, must do locations, and trip duration, to construct distinct itinerary variants. A Critic agent then evaluates each schedule for feasibility and experience quality, triggering bounded revision loops that remove problematic stops and rebuild the plan.

Code ← Back to Portfolio