๐ก Tip: For the best experience, watch this demo in 720p HD โ click the gear icon โ๏ธ on YouTube and select Quality โ 720p.
- What is AnalytIQ?
- System Architecture
- Agent Pipeline
- Features
- Quick Start
- API Endpoints
- Evaluation & Benchmark
- Project Structure
- Demo Datasets
- Navigation Flow
- API Keys
- What's Coming Next
- Requirements
- Contributing
- License
- Author
AnalytIQ is a fully automated, multi-agent data analysis platform built with Streamlit and powered by Groq's LLaMA 3.3 70B.
You upload a file โ the platform does the rest.
A crew of five specialized AI agents fire in sequence, each passing a shared memory block to the next. By the time the Quality Gate agent finishes, you have:
- โ A cleaned & profiled dataset
- โ Statistical insights and patterns
- โ Auto-generated interactive charts
- โ A domain-framed executive report
- โ A quality audit score with verdict
- โ An SQL/DAX query optimizer (Groq-powered)
- โ Full vs Lightning mode benchmarking and leaderboard scores
- โ Async API jobs for long-running analysis
- โ Versioned run artifacts for reproducibility
No data science experience required. No complex setup. Just upload and go.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AnalytIQ v9.0 โ
โ Streamlit Dark-Mode Web Application โ
โโโโโโโโโโโโโโโโโโโโโโโโฆโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
โ Data Layer โ โ Agent Layer โ โ Query Lab โ
โ โ โ (Groq LLaMA) โ โ (Groq LLaMA) โ
โ ยท DataProc โ โ โ โ โ
โ load CSV/ โ โ โ Data Eng. โ โ ยท SQL Optimizer โ
โ Excel โ โ โ โ โ ยท DAX Optimizer โ
โ clean โ โ โก Analyst โ โ ยท Auto-Generate โ
โ profile โ โ โ โ โ from schema โ
โ stats โ โ โข Visualizer โ โโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ โ โ
โ ยท DataViz โ โ โฃ Reporter โ
โ 8 charts โ โ โ โ
โ builder โ โ โค Quality Gateโ
โโโโโโโโโโโโโโโ โโโโโโโโโโฌโโโโโโโโโ
โ memory-linked pipeline
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Output Layer โ
โ ยท Analysis insights โ
โ ยท Executive report โ
โ ยท QG verdict + score โ
โ ยท Agent memory log โ
โ ยท Plotly charts โ
โ ยท JSON / TXT export โ
โโโโโโโโโโโโโโโโโโโโโโโโโโ
CSV / Excel (or built-in demo dataset)
โ
โโโโถ utils/data_processor.py โโโถ cleaned DataFrame + text profile
โโโโถ agents/crew_agents.py โโโถ 5-agent Groq pipeline
โ Agent โ โ โก โ โข โ โฃ โ โค Quality Gate
โโโโถ utils/visualizer.py โโโถ Plotly interactive figures
โโโโถ app.py (Streamlit) โโโถ rendered UI + download exports
Five agents run in strict sequence. Each receives the full output of all prior agents via a shared memory block โ enabling chained, context-aware reasoning.
| # | Agent | Role |
|---|---|---|
| โฌก 1 | Data Engineer | Validates, cleans nulls, detects types, writes data profile |
| โ 2 | Data Analyst | Statistical analysis โ patterns, correlations, outliers, anomalies |
| โณ 3 | Visualizer | Generates Python/Plotly chart code and recommendations |
| โซ 4 | Report Writer | Domain-framed executive report with key findings |
| ๐ก 5 | Quality Gate | Audits every claim ยท issues PASS / WARN / FAIL verdict + score |
Domain contexts: Finance ยท HR ยท Marketing ยท Healthcare ยท General
Each domain tunes every agent's system prompt for field-specific vocabulary, priority metrics, and framing.
| Module | Details |
|---|---|
| ๐ Upload | CSV / Excel ยท auto-detect types ยท instant preview ยท session state |
| ๐ Profile | Column stats ยท null analysis ยท type breakdown ยท distributions |
| ๐ Analytics | Correlation matrix ยท segmentation ยท distribution ยท summary stats |
| ๐ Visualization | 8 chart types ยท Chart Builder ยท Auto-Generate ยท Gallery |
| ๐ค AI Engine | 5-agent Groq pipeline ยท domain selector ยท memory log ยท QG verdict |
| โก Lightning Mode | Faster run mode for low-latency analysis workflows |
| ๐งช Evaluation Lab | Full vs Lightning benchmarking with composite score leaderboard |
| ๐งต Async Jobs API | Submit analysis jobs, poll status, fetch final result |
| ๐ก Metrics API | Run completion rate, verdict distribution, and latency summaries |
| ๐ฌ Query Lab | SQL optimizer ยท DAX optimizer ยท auto-generate queries (Groq) |
| ๐พ Export | .txt report ยท .json full export ยท audit .md ยท pipeline download |
| ๐ฎ Demo Data | HR Analytics ยท E-commerce ยท Finance Report (built-in, no upload needed) |
- Dark-mode only โ deep
#0d0f14background with glassmorphism cards - Inter + JetBrains Mono typography
- Purple
#7c6affaccent ยท Cyan#38bdf8secondary - Page-transition flash animations on every navigation
- Dot-bounce animated processing spinners
- Ripple effects on nav buttons
- Glowing animated progress bar during AI pipeline
git clone https://github.com/Yashaswini-V21/Multi-Agent-Analysts.git
cd Multi-Agent-Analysts
pip install -r requirements.txtCreate local env from template:
copy .env.example .envThen edit .env:
# Required โ AI Engine + Query Lab
GROQ_API_KEY=gsk_... # https://console.groq.com (free)
# Optional โ model override
GROQ_MODEL=llama-3.3-70b-versatile
# Optional โ API protection
API_AUTH_ENABLED=false
API_AUTH_KEY=replace_with_strong_key
# Optional โ key rotation audit
KEY_ROTATED_AT=YYYY-MM-DDTHH:MM:SS+00:00No API key? Upload โ Profile โ Analytics โ Visualization all work without any key.
python -m streamlit run app.pyOpen http://localhost:8501 in your browser.
python -m uvicorn api.server:app --host 0.0.0.0 --port 8000 --reloadOpen http://localhost:8000/docs for API docs.
docker compose up --buildGET /healthGET /health/keysPOST /analyzePOST /evaluatePOST /jobs/analyzeGET /jobs/{job_id}GET /jobs/{job_id}/resultGET /metrics/summary
If API auth is enabled, pass:
X-API-Key: <your_api_auth_key>
Run mode comparison (Full vs Lightning):
python main.py evaluate sample_data.csv --domain General --repeats 2 --modes full lightningGenerate benchmark evidence file:
python scripts/generate_benchmark_report.py --repeats 2 --modes full lightningMulti-Agent-Analysts/
โ
โโโ app.py # Streamlit app (~2800 lines)
โ # ยท CSS design system (Inter + JetBrains Mono)
โ # ยท All 7 page functions
โ # ยท Sidebar + navigation
โ # ยท Query Lab (Groq-powered)
โ # ยท Animation helpers
โ
โโโ agents/
โ โโโ crew_agents.py # 5 GroqAgent classes + DataAnalysisCrew
โ โโโ prompts.py # System prompts & DOMAIN_CONTEXTS
โ
โโโ api/
โ โโโ server.py # FastAPI endpoints
โ
โโโ services/
โ โโโ analysis_service.py # Analysis orchestration
โ โโโ evaluation_service.py# Evaluation and scoring
โ โโโ job_service.py # Async job queue and polling
โ โโโ metrics_service.py # Metrics summary generation
โ โโโ benchmark_service.py # Benchmark report generation
โ
โโโ utils/
โ โโโ data_processor.py # DataProcessor โ load, clean, profile
โ โโโ visualizer.py # DataVisualizer โ auto chart generation
โ โโโ config.py # Environment config
โ โโโ telemetry.py # Step timing telemetry
โ โโโ artifacts.py # Artifact persistence
โ โโโ reproducibility.py # Dataset fingerprint/schema snapshot
โ โโโ security.py # Key rotation status checks
โ
โโโ tests/ # Unit tests (API, pipeline, evaluation, security)
โโโ scripts/
โ โโโ generate_benchmark_report.py
โ
โโโ outputs/
โ โโโ charts/ # Saved chart exports
โ โโโ data/ # Processed data exports
โ โโโ reports/ # Generated report files
โ
โโโ sample_data.csv # Small sample dataset
โโโ requirements.txt # Python dependencies
โโโ .env # API keys โ gitignored
Three built-in datasets โ no file upload needed. Click "Load Demo" on the Upload page.
| Dataset | Rows | Domain | Key Columns |
|---|---|---|---|
| ๐ฅ HR Analytics | 200 | HR | Dept, Level, Age, Salary, Performance, Attrition |
| ๐ E-commerce Sales | 200 | Marketing | Category, Region, Revenue, Status, Rating |
| ๐ Finance Report | 96 | Finance | Month, Revenue, COGS, GrossProfit, EBITDA |
โ Overview โ โก Upload โ โข Profile โ โฃ Analytics
โ
โฆ Query Lab โ โฅ AI Engine โ โค Visualize
- Every page has โ Back and Forward โ buttons at the bottom
- Sidebar radio always reflects the current page and stays stable during widget interactions
- Smooth slide-in animation on every page transition
| Key | Used For | Get it Free |
|---|---|---|
GROQ_API_KEY |
AI Engine (5-agent pipeline) + Query Lab | console.groq.com |
API_AUTH_KEY |
Optional protection for backend endpoints | Set locally in .env |
These features are actively planned and will ship in upcoming releases. โญ Star & watch the repo to get notified!
| Feature | Description |
|---|---|
| โ๏ธ Streamlit Cloud Deploy | One-click public deployment โ try without any local setup |
| ๐ PowerBI Export | Push charts and auto-generated DAX directly into Power BI |
| ๐ฃ Voice-to-Query | Speak your data question โ get SQL back instantly |
| ๐ Multi-file Join | Upload two CSVs and auto-merge on matching columns |
| ๐ง Email Delivery | Send the full analysis report straight to your inbox |
| Feature | Description |
|---|---|
| ๐ค Real-time Collaboration | Share a session URL โ multiple analysts, one dataset |
| ๐ Database Connector | Connect PostgreSQL / MySQL / BigQuery directly |
| ๐ฑ Mobile Layout | Full responsive design for phone & tablet |
| ๐ Scheduled Pipelines | Run analysis automatically on a cron schedule |
| ๐งฉ Plugin SDK | Build and plug in your own custom agent |
| Upgrade | Details |
|---|---|
| ๐ฌ Agentic Chat | Ask follow-up questions about your data in natural language |
| ๐ Anomaly Detection Agent | Dedicated ML-based outlier flagging with explanations |
| ๐ Forecasting Agent | Time-series prediction with confidence intervals |
| ๐ Multi-language Reports | Generate analysis reports in 10+ languages |
| ๐ค Model Selection | Choose between Groq, GPT-4o, Claude 3.5 in settings |
streamlit pandas numpy
plotly python-dotenv groq
openpyxl scipy
Full pinned versions in requirements.txt.
Contributions are very welcome!
# 1. Fork the repo on GitHub
# 2. Create your feature branch
git checkout -b feat/your-feature
# 3. Commit your changes
git commit -m "feat: add your feature"
# 4. Push and open a Pull Request
git push origin feat/your-featurePlease open an Issue first for large changes so we can discuss the approach.
MIT โ free to use, modify, and distribute.
Yashaswini V ยท @Yashaswini-V21
