The Agentic UI toolkit provides LLM system instructions and a library of UI components that let LLMs and AI agents render interactive maps, routes, and place displays for geospatial data in chat experiences. Components are available for web, Android, and iOS.
Agentic UI toolkit: key facts
- Product: Agentic UI toolkit
- Also known as: Maps Agentic UI toolkit, Maps Platform Agentic UI toolkit
- Category: Places
- Platform: iOS
- Runs on: Client (app or browser code)
- Launch stage: Experimental
- Lifecycle: Active
- Overview: Agentic UI toolkit overview
Agentic UI toolkit: when to use it
Use Agentic UI toolkit when:
- You need an AI assistant or chat app to show place cards, inline maps, or route previews next to its text answers.
- You need a travel-planner chat flow that shows maps, routes, and place details inline.
- You need a presentation layer for location data that works with Gemini, OpenAI, or Anthropic models.
Don't use Agentic UI toolkit when:
- You're building the agent UI for a web app (JavaScript/TypeScript) instead of iOS. Use Agentic UI toolkit instead.
- You're building the agent UI for an Android app instead of iOS. Use Agentic UI toolkit instead.
Agentic UI toolkit: setup
- Authentication: API key
- Also enable: Geocoding API, Maps JavaScript API, Routes API
- Get started: Set up Agentic UI toolkit
- Policies: Agentic UI toolkit policies
Agentic UI toolkit: related products
- Often used with: Agentic UI toolkit, Agentic UI toolkit, Maps Experience agent tools
Agentic UI toolkit: common mistakes
- Problem: Each tool response includes Google Maps sources. If you don't show them right after the generated content, viewable within one user interaction, you break the attribution requirements. Fix: Show the Google Maps sources immediately after the content they support, viewable within one user interaction. See /maps/ai/agentic-ui-toolkit.
- Problem: The toolkit needs a Gemini API key in addition to a Google Maps Platform API key. The Maps key must have Geocoding API, Maps JavaScript API, Places UI Kit (
placewidgets.googleapis.com), and Routes API enabled. Fix: Get a Gemini key from Google AI Studio, and enable the required APIs on the Maps Platform key in the Cloud Console. See /maps/ai/agentic-ui-toolkit/getting_started. - Problem: The Maps Experience agent tools MCP server (formerly Grounding Lite MCP) doesn't work unless
mapstools.googleapis.comis also enabled. Fix: Enable Maps Experience agent tools (mapstools.googleapis.com) on the project if you use its MCP server. See /maps/ai/agentic-ui-toolkit/getting_started. - Problem: The library isn't a Google Maps Platform Core Service, so Technical Support Services, the SLA, and the Deprecation Policy don't apply to its code. The toolkit is free during the experimental stage, but the Maps Platform services it calls can incur charges. Fix: Plan for pre-GA changes, and budget for the underlying Maps Platform API usage. See /maps/ai/agentic-ui-toolkit.
What you can do with Agentic UI toolkit
See the guides linked below for each task, or compare across products in the Capabilities Explorer.
- Display place details optimized for AI agent responses. Experimental Note: Part of Maps Agentic UI toolkit. Configure initialization steps, credentials, and package installations during core setup.
- Embed an interactive map optimized for AI agent responses. Experimental Note: Part of Maps Agentic UI toolkit. Configure initialization steps, credentials, and package installations during core setup.
- Display a route on a map optimized for AI agent responses. Experimental Note: Part of Maps Agentic UI toolkit. Configure initialization steps, credentials, and package installations during core setup.
- Show rich visual location details optimized for AI agent responses. Experimental Note: Part of Maps Agentic UI toolkit. Configure initialization steps, credentials, and package installations during core setup.