Data Analyst Agent with Code Execution and Self Correction

A data-analyst agent that answers questions about CSV files by planning the analysis, writing pandas code, running it in a guarded sandbox, reading the error and correcting itself. Built with Pydantic AI (typed agents and tools, ModelRetry, typed output) on a local qwen2.5-coder 1.5B model through Ollama on a laptop with RTX 2050 4 GB. Every LLM call, code cell, error and repair is traced and shown in a web application.

Category: Department of Computer Science and Engineering / Agent Development

Agent Development Project AG04 from ProTechSC Academy, with graphical abstract, video demonstration and project guidance.