This guide walks you through connecting GTmetrix to Pydantic AI using the Composio tool router. By the end, you'll have a working GTmetrix agent that can start page speed tests, fetch performance reports, retest pages, list test locations and browsers, and check your account status through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a GTmetrix account through Composio's GTmetrix MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.
For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.



