Demonstrates an AI agent querying system CPU and memory statistics from a local server.
This project illustrates the integration of an AI agent with a local tool server. It features an agent, built using the Pydantic.ai framework and embedded within a Gradio chat application, designed to answer queries about system resource usage. The accompanying local server, implemented with FastAPI and exposed via `fastapi-mcp`, leverages the `psutil` library to provide real-time CPU and memory statistics. Users can engage in a conversational flow, asking follow-up questions about system performance, showcasing how AI agents can interact with specialized local services.