This guide walks you through connecting Needle to Pydantic AI using the Composio tool router. By the end, you'll have a working Needle agent that can list all document collections i have, show stats for my 'research' collection, find files in collection uploaded this week, delete specific files from 'archive' collection through natural language commands.
This guide will help you understand how to give your Pydantic AI agent real control over a Needle account through Composio's Needle MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.









