This guide walks you through connecting Xata to CrewAI using the Composio tool router. By the end, you'll have a working Xata agent that can list all records from the customers table, insert a new order with status pending, update the email field for customer 101 through natural language commands.
This guide will help you understand how to give your CrewAI agent real control over a Xata account through Composio's Xata MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








