This guide walks you through connecting Ip2proxy to Pydantic AI using the Composio tool router. By the end, you'll have a working Ip2proxy agent that can check if this ip is a vpn, detect tor usage for given ip, identify proxy servers in user logins, flag suspicious ips from recent traffic through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Ip2proxy account through Composio's Ip2proxy MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









