This project implements a travel planning agent using the Google ADK (Agent Development Kit). The agent coordinates with sub-agents to gather travel preferences from the user and provide flight and hotel suggestions, along with a day plan.
- google-adk
- pydantic
- datetime
You can install the dependencies using pip:
pip install google-adk pydantic python-dateutilagent.py: Main coordinator agent that gathers travel preferences and queries sub-agents.subagents/: Contains sub-agents for specific tasks.flight_agent.py: Agent for finding flight suggestions.hotel_agent.py: Agent for finding hotel suggestions.
tools/: Contains utility modules.schemas.py: Defines theTravelInfodata model using Pydantic.
- Install the dependencies.
- Run the
agent.pyfile. - Interact with the agent to provide your travel preferences (origin, destination, start date, end date, budget).
- The agent will coordinate with the sub-agents to provide flight and hotel suggestions.
- The agent will present a final result combining the results from both agents and a day plan.
User input:
I want to travel from New York to Los Angeles from 2025-05-01 to 2025-05-05 with a budget of $1000.
The agent will extract the travel details and provide flight and hotel suggestions within the specified budget.
[Specify the license here, e.g., MIT License]