Autonomous AI Data Scientist & Executive Strategy Consultant
Built by Daipayan Chatterjee
AnalyticaOS turns any dataset into boardroom-ready intelligence. Upload a CSV or Excel file and let the system clean it, explore it, test hypotheses, train machine learning models, build neural networks, detect anomalies, forecast trends, and synthesize everything into an executive briefing โ plus a downloadable Word report โ without writing a single line of code.
Try it here: AnalyticaOS on Hugging Face Spaces
No login required. Local dev also works without login โ see Running it locally.
| Module | Capability |
|---|---|
| ๐ Upload Data | CSV / Excel upload, preview, session state management |
| ๐๏ธ Multi-Sheet Excel | Sheet-level intelligence across multi-tab Excel workbooks |
| ๐งน Data Cleaning | Missing value analysis, duplicate detection, type fixing, auto-cleaning |
| Module | Capability |
|---|---|
| ๐ SQL Connect | Connect to PostgreSQL, MySQL, SQLite, and more |
| ๐ง NL-to-SQL | Natural language โ SQL query generation via Gemini |
| ๐ช SQL Builders | Window functions, CTEs, and advanced query builders |
| ๐ฌ SQL Explainer | Plain-language breakdown of any SQL query |
| ๐บ๏ธ Schema Map | Visual entity-relationship diagram of connected databases |
| ๐๏ธ Visual Query Builder | Drag-and-drop SQL construction without typing |
| ๐๏ธ Warehouse Advisor | Indexing, partitioning, and optimization recommendations |
| ๐ค Auto SQL Analytics | Fully automated insight generation from SQL connections |
| Module | Capability |
|---|---|
| ๐ฌ EDA | Statistical summaries, correlation analysis, outlier detection, time series |
| ๐ Pivot Tables | Pivot builder, Top N analysis, time intelligence, Pareto charts |
| ๐ Visualizations | Chart builder, dashboards, cross-tab and geo views |
| ๐ Statistical Engine | T-Test, Chi-Square, ANOVA, normality testing with plain-language interpretation |
| ๐งช A/B Testing | Experiment design, significance testing, power analysis |
| ๐ Causal Inference | DoWhy treatment effect estimation and confounder handling |
| ๐๏ธ SQL Agent | Autonomous LangChain agent that writes and runs SQL against live connections |
| Module | Capability |
|---|---|
| ๐ค Machine Learning | Auto problem-type detection, training, evaluation, exportable models |
| ๐งฌ AutoML Engine | TabularPredictor automated leaderboards via AutoGluon |
| โก Deep Learning | Custom PyTorch Feedforward Neural Networks (Classification & Regression) |
| ๐ง Auto Questions | Automatically surfaces the most statistically interesting questions in your data |
| ๐ค Multi-Agent System | Coordinated LangChain agents for parallel analytical reasoning |
| ๐ฎ Forecasting | Holt-Winters exponential smoothing and ARIMA/SARIMA models |
| ๐จ Anomaly Detection | Isolation Forest + PCA-based outlier detection |
| Module | Capability |
|---|---|
| ๐ Dashboard Composer | Build and export multi-chart analytical dashboards |
| ๐ฅ Cohort Analysis | Retention curves, cohort heatmaps, LTV segmentation |
| ๐ฝ Funnel Analysis | Step-by-step conversion analysis with drop-off breakdown |
| Module | Capability |
|---|---|
| ๐ฌ Ask Your Data | Autonomous LangChain + Gemini agent that writes and executes Pandas code locally |
| ๐๏ธ Executive Console | AI-generated strategic narratives, SWOT analysis, and KPI breakdowns |
| ๐ Report Generator | Automated generation of .docx files containing all charts, findings, and analysis |
| ๐งฎ Optimization Engine | Linear/integer programming for resource allocation and operational decisions |
| Layer | Libraries |
|---|---|
| Frontend / Framework | Streamlit |
| Data processing | Pandas 3.0, NumPy, Polars |
| Statistics & Math | SciPy, statsmodels, networkx |
| Machine Learning | scikit-learn, XGBoost, LightGBM, CatBoost, AutoGluon |
| Deep Learning | PyTorch (CPU-optimized) |
| Causal Inference | DoWhy |
| Visualization | Plotly, Kaleido |
| LLMs & Agents | LangChain, Google Gemini 2.0 Flash (google-genai) |
| Document generation | python-docx |
| Language | Python 3.12 |
1. Clone the repository:
git clone https://github.com/dchatterjee01-prog/analyticaos.git
cd analyticaos2. Create and activate the Conda environment:
conda create -n analyticaos python=3.12 -y
conda activate analyticaos3. Install dependencies:
pip install -r requirements.txt4. Set up secrets (optional โ only needed for Gemini-powered pages):
Create .streamlit/secrets.toml:
GEMINI_API_KEY = "your-gemini-api-key"If you skip this, the app runs fully โ only Gemini-powered pages (Report Generator, NLP QA, Executive Console) will show an error when invoked.
5. Run:
streamlit run app.py