This guide walks you through connecting Apilio to Pydantic AI using the Composio tool router. By the end, you'll have a working Apilio agent that can list all boolean variables and their status, show me all your current logicblocks, fetch numeric variables for your thermostat through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Apilio account through Composio's Apilio MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









