What problem does it solve?
It gives AI agents programmatic access to Baidu Maps Web services so users can search locations, convert addresses to coordinates, and plan driving routes in China without writing API integration code themselves.
Core Features & Use Cases
- Geocoding & Reverse Geocoding: Convert Chinese addresses to latitude/longitude coordinates and back via the Baidu Geocoding v3 API.
- POI & Nearby Search: Find places by keyword within a region, such as restaurants or landmarks, using the Place v2 search endpoint.
- Driving Route Planning: Compute driving directions between two coordinate pairs through the Direction v2 API.
- Use Case: A user planning a trip in Chengdu asks the agent to find hotpot restaurants nearby and then get driving directions from their hotel to the chosen restaurant.
Quick Start
Set the BAIDU_MAP_AK environment variable with your Baidu Maps Web service API key, then ask the agent to search for a place or plan a route, for example: find coffee shops in Beijing and plan a driving route between two coordinates.