This guide walks you through connecting Bart to Pydantic AI using the Composio tool router. By the end, you'll have a working Bart agent that can check real-time departures, plan trips with arrival and departure schedules, look up fares, view service advisories, and check elevator status through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Bart account through Composio's Bart MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.


