This document provides a high-level architecture to build a trusted and effective agentic AI system that's grounded in real-world contextual data from Google Maps Platform and Google Calendar. The system builds travel plans for places that users indicate in their prompt. The plan considers the user's schedule, the geographic location of the places, operating hours, and route distances.
The intended audience for this document includes AI architects, developers, and administrators who build and manage agentic AI applications. The document assumes that you have a foundational understanding of AI and ML concepts and cloud architecture.
The deployment section of this document provides a link to a codelab that you can use to learn how to build and test a functional agentic AI system that's based on this architecture.
Architecture
The following diagram shows an architecture for an app that uses a multi-agent AI system to generate a travel plan for places that a user wants to visit during a day. Users interact with the app through a chat interface. An orchestrator agent gathers the necessary information by invoking specialized agents and then it creates a day plan. The agents run in Gemini Enterprise and their reasoning is grounded by using real-world data from Google Maps Platform and Calendar.
The architecture in the preceding diagram contains the following components:
-
Gemini Enterprise: The core component of the architecture. It hosts the agentic AI system, which contains the following agents:
- Orchestrator agent: Receives user requests through a chat interface, interprets the goal, and then it coordinates with specialized agents to fulfill the request.
- Places agent: Handles location-based tasks, such as finding places and checking whether they are open.
- Routes agent: Handles routing and travel-planning tasks, such as ensuring sufficient time to travel to the required places.
- Schedule agent: Manages scheduling and calendar-related tasks, such as loading the calendar and moving events to accommodate travel time.
All of the agents in this architecture are built by using Agent Development Kit (ADK). The agents run in Agent Runtime on Gemini Enterprise Agent Platform and they use a Gemini model.
-
Tools and data:The agents use the following tools to get the data that they need:
- Grounding with Google Maps : Provides real-world geographic context from Google Maps Platform to the Places and Routes agents.
- Places Insights : Provides deep, site-specific analytics and information from Google Maps Platform to help the agents create appropriate artifacts based on the meeting type.
- Calendar: Enables the Schedule agent to access and manage calendar events.
-
Observability: This component enables monitoring and debugging of agent operations.
- Agent events are logged in Cloud Logging and they're published to a Firestore database.
- The architecture includes an event viewer app that's deployed as a Cloud Run service. Administrators can use this app to monitor the logged events and view the agents' thought flow and actions, such as validation of places and routes.
Products used
This architecture uses the following Google products and tools:
- Google Maps Platform : A platform that provides mapping, routing, and location search services.
- Google Calendar : A tool for teams and individuals to manage schedules and events.
- Gemini Enterprise : A fully-managed secure platform to deploy and manage AI agents within an enterprise.
- Agent Development Kit (ADK) : A set of tools and libraries to develop, test, and deploy AI agents.
- Cloud Logging : A real-time log management system with storage, search, analysis, and alerting.
- Firestore : A NoSQL document database built for automatic scaling, high performance, and ease of application development.
- Cloud Run : A serverless compute platform that lets you run containers directly on top of Google's scalable infrastructure.
Use cases
The following are examples of use cases for this architecture:
-
Automated corporate travel planning: An employee needs to plan a trip for a client summit.
- A Travel agent finds flights and hotels and it makes reservations.
- A Customer Relationship Management (CRM) agent retrieves the summit address and attendees list.
- A Schedule agent schedules meetings in the traveler's calendar. The final output is a complete trip itinerary.
-
Intelligent field service dispatch: A customer reports a service outage.
- A CRM agent identifies the customer's contract and location.
- A Travel agent finds the nearest available technician and optimizes their travel route.
- A Schedule agent books a service appointment.
-
Logistics and supply chain coordination: A logistics manager needs to redirect a shipment due to a weather event.
- A Logistics agent monitors real-time traffic and weather by using Google Maps Platform.
- The Logistics agent finds an alternative route and warehouse
- A CRM agent notifies the customer about the revised shipment schedule.
Design considerations
To implement this architecture for production, consider the following recommendations:
- Security: Adopt a zero-trust model by giving each agent the least-privilege access that's necessary to perform its task. Strictly define the tools and data that each agent can access. For example, configure the Schedule agent to only read or write to specific calendars.
- Reliability: Include human-in-the-loop (HITL) validation for critical tasks like booking non-refundable tickets. Create clear audit trails for agent decisions by building an observability pipeline with Logging and Pub/Sub.
- Performance: The modular, multi-agent coordinator pattern in this architecture helps to improve performance by enabling specialized agents to work in parallel. For example, the Places agent can search for locations while the Schedule agent simultaneously checks for calendar conflicts.
- Cost: Manage costs by tightly scoping each agent's tasks to prevent open-ended or unnecessary queries. Reduce API calls by using caching for frequently requested data, such as common routes or popular places.
- Governance: Establish strong governance with clear roles for each agent and with guidelines for handling data. Use an iterative development process that includes continuous monitoring. This process helps to refine the agents' behavior and it helps to ensure that the behavior is aligned with business requirements.
When you design the architecture for your agentic AI workload, consider the best practices and recommendations in Google Cloud Well-Architected Framework: AI and ML perspective .
Deployment
To learn how to build and test a functional agentic AI system that's based on this architecture, follow the instructions in the codelab, Build an Itinerary Planning Agent with ADK and Google Maps Grounding . The codelab guides you through the entire deployment process, including the following tasks:
- Enabling the necessary Google Cloud services.
- Using ADK to create agents.
- Configuring the agents to use Grounding with Google Maps for real-world context.
- Running and testing your agents through a web interface.
What's next
- Learn more about Grounding with Google Maps .
- Learn more about Gemini Enterprise .
- For more reference architectures, diagrams, and best practices, explore the Cloud Architecture Center .
Contributors
Author: Kenneth Nevarez | Developer Relations Engineer, Google Maps Platform
Other contributors:
- Caio Moreira | DevX Engineer
- Kumar Dhanagopal | Cross-Product Solution Developer
- Mike Pegg | Manager, Developer Relations

