Skip to content

swapitsneil/autonomous_data_analyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– Autonomous Data Analyst

An AI-powered Multi-Agent Analytics Platform that automates the complete analytics lifecycleโ€”from live data ingestion and statistical hypothesis generation to AI-powered executive reporting and historical market intelligence.

Python Streamlit SQLite LangGraph Google Gemini Plotly License


๐Ÿš€ Overview

Autonomous Data Analyst is an AI-powered analytics platform that automates the complete business intelligence workflow.

Instead of manually exploring datasets, the platform employs multiple AI agents that collaborate to:

  • Collect live cryptocurrency market data
  • Profile datasets automatically
  • Generate statistical business hypotheses
  • Execute statistical analysis
  • Validate analytical results
  • Generate executive business reports
  • Store historical market intelligence
  • Compare historical trends
  • Present everything in an interactive dashboard

The project combines modern Data Engineering, Business Intelligence, Statistics, Generative AI, and Agentic AI into a unified analytics platform.


๐ŸŽฏ Project Impact

  • โšก Automated an end-to-end analytics workflow, reducing manual exploratory analysis and hypothesis generation by approximately 80%.
  • ๐Ÿค– Eliminated repetitive manual reporting by automatically generating executive summaries and business recommendations using AI agents.
  • ๐Ÿ“Š Reduced the time required to transform raw cryptocurrency market data into actionable business insights from hours to minutes.
  • ๐Ÿง  Enabled historical market intelligence by storing and comparing previous analytical snapshots through a dedicated Memory Agent.

โœจ Features

๐Ÿ“ก Live Data Collection

  • CoinGecko API Integration
  • Live Cryptocurrency Market Data
  • Automated ETL Pipeline
  • Bronze โ†’ Silver Architecture

๐Ÿ“Š Data Engineering

  • Automated Data Cleaning
  • Feature Engineering
  • SQLite Data Warehouse
  • Historical Market Storage

๐Ÿค– Multi-Agent AI Workflow

The project uses a LangGraph-based Agentic AI workflow consisting of six specialized agents.

๐Ÿ“Š Profiler Agent

  • Dataset Profiling
  • Missing Value Detection
  • Duplicate Detection
  • Correlation Analysis
  • Outlier Detection
  • Summary Statistics

๐Ÿ’ก Hypothesis Agent

Powered by Google Gemini.

Automatically generates statistically testable business hypotheses based on the dataset profile.

Examples:

  • Price vs Market Cap
  • Volume vs Market Cap
  • Rank vs Price
  • Correlation Analysis
  • Regression Problems

๐Ÿ“ˆ Analyst Agent

Executes statistical tests including:

  • Pearson Correlation
  • Spearman Correlation
  • Linear Regression
  • T-Test
  • ANOVA

โœ… Critic Agent

Reviews every analytical result.

Checks:

  • Statistical correctness
  • Business relevance
  • Confidence level
  • Recommendation quality

Only approved insights move forward.


๐Ÿ“ Narrator Agent

Transforms statistical outputs into executive-level business reports.

Generates:

  • Executive Summary
  • Key Findings
  • Business Recommendations
  • Final Conclusion

๐Ÿง  Memory Agent

Stores every market snapshot inside SQLite.

Tracks:

  • Market Capitalization
  • Trading Volume
  • Bullish/Bearish Trend
  • Historical Executive Reports

Allows historical comparison across pipeline executions.


๐Ÿ— Project Architecture

                 CoinGecko API
                       โ”‚
                       โ–ผ
              Bronze Data Layer
                       โ”‚
                       โ–ผ
              Silver Data Layer
                       โ”‚
                       โ–ผ
             SQLite Data Warehouse
                       โ”‚
                       โ–ผ
               LangGraph Workflow
                       โ”‚
      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
      โ–ผ           โ–ผ             โ–ผ             โ–ผ
 Profiler   Hypothesis     Analyst       Critic
      โ”‚
      โ–ผ
  Narrator
      โ”‚
      โ–ผ
   Memory Agent
      โ”‚
      โ–ผ
 Streamlit Dashboard

๐Ÿ“ท Application Screenshots

๐Ÿ  Application Overview

Application Overview


๐Ÿ“Š Cryptocurrency Dashboard

Live cryptocurrency KPIs, AI executive summary, key findings, recommendations, and market insights.

Dashboard


๐Ÿค– AI Analysis Report

Displays the complete LangGraph workflow including Profiler, Hypothesis, Analyst, Critic, Narrator, and Memory Agents.

AI Analysis


๐Ÿง  Memory Agent

Compares the latest market snapshot with previous pipeline executions and tracks historical market intelligence.

Memory Agent


๐Ÿ“œ Market History

Historical market trends, pipeline executions, sentiment evolution, and executive summaries across runs.

History


โ„น๏ธ About the Project

Project architecture, AI workflow, technology stack, features, and overall system design.

About

๐Ÿ“‚ Project Structure

autonomous-data-analyst/

โ”œโ”€โ”€ agents/
โ”œโ”€โ”€ config/
โ”œโ”€โ”€ data/
โ”‚   โ”œโ”€โ”€ bronze/
โ”‚   โ””โ”€โ”€ silver/
โ”œโ”€โ”€ database/
โ”œโ”€โ”€ images/
โ”œโ”€โ”€ ingestion/
โ”œโ”€โ”€ memory/
โ”œโ”€โ”€ models/
โ”œโ”€โ”€ orchestrator/
โ”œโ”€โ”€ pages/
โ”œโ”€โ”€ reports/
โ”œโ”€โ”€ ui/
โ”œโ”€โ”€ utils/
โ”œโ”€โ”€ warehouse/
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .env.example

๐Ÿ“Š Dashboard Modules

๐Ÿ“Š Dashboard

  • Live KPIs
  • Market Capitalization
  • Trading Volume
  • Executive Summary
  • AI Recommendations

๐Ÿค– AI Analysis

Displays outputs from every AI Agent:

  • Profiler
  • Hypothesis
  • Analyst
  • Critic
  • Narrator
  • Memory

๐Ÿง  Memory

Historical comparison between the latest and previous market snapshots.


๐Ÿ“œ History

Tracks historical pipeline executions.


โ„น About

Complete architecture, technology stack, workflow and project details.


๐Ÿ›  Technology Stack

Layer Technologies
Programming Python
Data Engineering Pandas, NumPy
Statistical Analysis SciPy, Statsmodels
AI Framework LangGraph
LLM Google Gemini
Database SQLite
Visualization Plotly
Frontend Streamlit
API CoinGecko API

โš™ Installation

Clone the repository

git clone https://github.com/swapitsneil/autonomous_data_analyst.git

Move into the project

cd autonomous_data_analyst

Install dependencies

pip install -r requirements.txt

Create a .env file

GEMINI_API_KEY=YOUR_GEMINI_API_KEY
COINGECKO_API=YOUR_COINGECKO_API_KEY

Run the ETL Pipeline

python -m ingestion.api_loader

Launch the Streamlit application

streamlit run app.py

๐Ÿ“ˆ Example Workflow

Fetch Live Market Data

โ†“

Clean & Transform Dataset

โ†“

Store in SQLite

โ†“

Profiler Agent

โ†“

Hypothesis Agent

โ†“

Analyst Agent

โ†“

Critic Agent

โ†“

Narrator Agent

โ†“

Memory Agent

โ†“

Interactive Dashboard

๐Ÿ”ฎ Future Roadmap

  • PDF Executive Report Export
  • Multi-Dataset Support (CSV, Excel, SQL)
  • Smarter Temporal Memory
  • Visualization Agent
  • Auto Dashboard Generation
  • Scheduled Pipeline Execution
  • Docker Deployment
  • Cloud Database Support
  • User Authentication

๐Ÿ‘จโ€๐Ÿ’ป Developer

Swapnil Nicolson Dadel

Generative AI Data Analyst


โญ Support

If you found this project useful, consider giving it a โญ on GitHub.

About

AI-powered Autonomous Data Analyst using LangGraph, Google Gemini, Statistical Analysis, SQLite & Streamlit for end-to-end cryptocurrency market intelligence.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages