Skip to content

Tiwari-Harshvardhan/autonomous_data_analyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Autonomous Data Analyst

Python FastAPI Google ADK License

πŸ“Š An autonomous multi-agent system for data collection, cleaning, analysis, and visualization

"Turn websites, datasets, and raw information into insights automatically."

Autonomous Data Analyst combines specialized AI agents to perform end-to-end analytics workflows β€” from scraping data to generating interactive dashboards.

🌐 Data Collection β€’ 🧹 Data Cleaning β€’ 🧠 Feature Engineering β€’ πŸ“ˆ EDA β€’ πŸ“Š Visualization


πŸ“š Table of Contents

πŸ“Œ Section πŸ”— Description
🎯 The Vision Why this project exists
πŸ—οΈ Core Architecture Multi-agent system overview
✨ Features Key capabilities
πŸ› οΈ Tech Stack Technologies used
πŸ”„ Workflow Complete pipeline
πŸ“‚ Repository Structure Project organization
πŸš€ Installation Setup instructions
▢️ Running the Project Launching backend and UI
πŸ“‘ API Endpoints Available APIs
πŸ“Έ Screenshots Application preview
πŸ›£οΈ Future Roadmap Upcoming enhancements
πŸ“„ License Licensing details

🎯 The Vision

Most analytics workflows require multiple tools:

  • ❌ Scraping tools
  • ❌ Data cleaning tools
  • ❌ Feature engineering scripts
  • ❌ Visualization software
  • ❌ Dashboard builders

Autonomous Data Analyst changes that.

It creates an intelligent pipeline where specialized agents collaborate to:

🌐 Collect data
🧹 Clean datasets
🧠 Engineer features
πŸ“ˆ Analyze trends
πŸ“Š Generate dashboards

All through a single prompt.


🌟 Core Philosophy

  • πŸ€– Autonomous Agent Collaboration
  • πŸ”„ End-to-End Analytics Pipelines
  • πŸ“‚ Transparent Artifact Generation
  • πŸ“Š Reproducible Data Science Workflows
  • πŸš€ Local-First & Developer Friendly
  • 🧩 Modular Agent Architecture

✨ Features

🌐 Intelligent Data Collection

  • URL extraction from user prompts
  • Static scraping via Requests + BeautifulSoup
  • Dynamic scraping via Playwright
  • Screenshot capture
  • Metadata persistence

🧹 Automated Data Cleaning

  • Missing value handling
  • Duplicate removal
  • Data standardization
  • Dataset profiling

🧠 Feature Engineering

  • Scaling & normalization
  • Skewness correction
  • Datetime decomposition
  • Feature enrichment

πŸ“ˆ Exploratory Data Analysis

  • Statistical profiling
  • Outlier detection
  • Correlation analysis
  • Distribution analysis

πŸ“Š Dashboard Generation

  • Interactive Plotly dashboards
  • Automated chart generation
  • Exportable HTML reports

πŸ› οΈ Tech Stack

Layer Technology
Backend FastAPI
Agents Google ADK
Scraping Requests, BeautifulSoup, Playwright
Data Processing Pandas, NumPy
Visualization Plotly, Matplotlib
Frontend HTML, CSS, JavaScript
Storage Local File System

πŸ—οΈ Core Architecture

graph LR
A[User Query] --> B[Orchestrator Agent]
B --> C[Data Collection Agent]
C --> D[Extraction Agent]
D --> E[Data Cleaning Agent]
E --> F[Feature Engineering Agent]
F --> G[EDA Agent]
G --> H[Visualization Agent]
H --> I[Interactive Dashboard]
Loading

Architecture Diagram

![Architecture](docs/images/architecture.svg)

πŸ”„ Workflow

  1. Data Collection
  2. Extraction
  3. Data Cleaning
  4. Feature Engineering
  5. Exploratory Data Analysis
  6. Visualization

Workflow Diagram

![Workflow](docs/images/ui-workflow.svg)

πŸ“‚ Repository Structure

autonomous_data_analyst/
β”œβ”€β”€ agents/
β”œβ”€β”€ frontend/
β”œβ”€β”€ storage/
β”œβ”€β”€ docs/
β”œβ”€β”€ server.py
β”œβ”€β”€ requirements.txt
└── README.md

πŸš€ Installation

python -m venv my-adk-env
my-adk-env\Scripts\activate
pip install -r requirements.txt
python installation_and_setup.py

▢️ Running the Project

Fork the repo on github and clone it on your machine, install all the dependencies and then run

python server.py

or

uvicorn server:app --reload

Open:

http://127.0.0.1:8001

πŸ“‘ API Endpoints

Method Endpoint
POST /api/chat
GET /api/history
GET /api/history/{run_id}

πŸ“Έ Screenshots

Autonomous Analytics Dashboard

Dashboard

Live agent logs, analytics summaries, visualizations, and orchestration controls in a unified interface.


πŸ›£οΈ Future Roadmap

  • πŸ“‚ CSV Upload Support
  • πŸ“„ PDF Extraction Agent
  • 🌐 API Data Connectors
  • πŸ“Š Advanced Dashboard Builder
  • πŸ”„ Real-Time Agent Monitoring
  • πŸ€– LLM-Based Insight Narratives

πŸ“„ License

MIT License

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages