--- title: Data Analyst Agent emoji: "📊" colorFrom: blue colorTo: indigo sdk: gradio app_file: app.py pinned: false --- # Data Analyst Agent An autonomous data analyst built with LangGraph, OpenAI, and Gradio. Upload a CSV, ask a question, and the agent writes Python, analyzes the data, generates charts, and returns practical insights. ## Features - CSV upload and sandboxed analysis workflow - Correlation analysis, anomaly detection, and trend exploration - Chart generation with downloadable notebook output - Gradio interface for interactive analysis ## Required Secret - `OPENAI_API_KEY` ## Optional Secrets - `SERPER_API_KEY` - `OPENROUTER_API_KEY` ## Local Files Included - `app.py` - `analyst.py` - `analyst_tools.py` - `requirements.txt` - `sample_sales_data.csv`