This guide walks you through connecting Opencage to Pydantic AI using the Composio tool router. By the end, you'll have a working Opencage agent that can geocode addresses to coordinates, reverse geocode locations, export results as GeoJSON or XML, and check API health through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Opencage account through Composio's Opencage MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.



