This guide walks you through connecting Bitquery to Pydantic AI using the Composio tool router. By the end, you'll have a working Bitquery agent that can show real-time ethereum mempool transactions, count unique wallet addresses for solana, query historical bitcoin transactions from 2021 through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Bitquery account through Composio's Bitquery MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.










