Enterprise-Grade Intelligent Multi-Agent Data Analytics Platform Transform natural language into actionable data insights with collaborative AI agents, real-time streaming, and interactive visualizations.
- Overview
- Live Demo & Screenshots
- Quick Start
- Core Features
- Architecture
- Technology Stack
- Usage
- Contributing
- License
- Author
AutoInsight AI democratizes data analytics by enabling anyone to query databases, analyze datasets, and generate visualizations with natural language conversations.
- Multi-agent orchestration with AutoGen
- Real-time Python execution in Docker
- Natural language โ SQL conversion
- Interactive visualizations with AI-driven charting
- FastAPI REST API + Streamlit web apps + HTML5 frontend
- ๐ Data Analysis
- ๐๏ธ Database Analytics
- ๐ Visualization Studio
- ๐ API Docs
git clone https://github.com/akshaykumarbedre/AutoInsight-AI.git
cd AutoInsight-AI
python -m venv venv
source venv/bin/activate # (Windows: venv\Scripts\activate)
pip install -r requirements.txt
cp .env.example .envUpdate .env with your OpenAI API key.
Run:
python app_fastapi.pyVisit: http://localhost:8080
docker build -t autoinsight-ai .
docker run -p 5001:5001 --env-file .env autoinsight-aiVisit: http://localhost:5001
- ๐ค Multi-Agent Teams โ SQL, visualization, code execution, and human-in-the-loop agents
- ๐ฌ Natural Language Queries โ Convert plain English into SQL and insights
- ๐ Intelligent Visualizations โ Auto-generate bar, line, scatter, pie, and histogram charts
- ๐ณ Secure Execution โ Docker-isolated Python runtime for safe code execution
- ๐ Real-Time Streaming โ Asynchronous communication with progress tracking
- ๐ Multiple Interfaces โ FastAPI APIs, Streamlit apps, modern web UI
AutoInsight-AI/
โโโ ๐ Frontend & Templates
โ โโโ templates/ # HTML5 web interfaces
โ โ โโโ index.html # Professional homepage & portfolio
โ โ โโโ dataanalyst.html # Data analysis interface
โ โ โโโ database.html # Database analytics interface
โ โ โโโ visualization.html # Visualization studio
โ โโโ streamlit/ # Streamlit applications
โ โโโ Dataabase_agent_streamlit.py # Database UI
โ โโโ Data_anaylis_agent_streamlit.py # Analysis UI
โโโ ๐ Core Application
โ โโโ app_fastapi.py # Main FastAPI server with all APIs
โ โโโ requirements.txt # Production dependencies
โ โโโ Dockerfile # Container deployment config
โ โโโ .env.example # Environment configuration template
โโโ ๐ค Agent System
โ โโโ agent/ # Specialized AI agents
โ โ โโโ database_agent.py # SQL query generation agent
โ โ โโโ visualization_agent.py # Chart creation agent
โ โ โโโ dataanalsys_agent.py # Data analysis expert agent
โ โ โโโ code_excuter_agent.py # Docker code execution agent
โ โ โโโ human_agent.py # Human-in-the-loop agent
โ โโโ teams/ # Multi-agent orchestration
โ โโโ team_manager.py # RoundRobinGroupChat coordination
โโโ ๐ ๏ธ Tools & Execution
โ โโโ tool/ # Specialized tool implementations
โ โ โโโ plotting.py # 5+ visualization tools (Matplotlib/Plotly)
โ โ โโโ docker_executer.py # Secure containerized code execution
โ โ โโโ sql_tool_kit.py # LangChain SQL database tools
โ โโโ util/ # Utility functions & streaming
โ โโโ stream_handler.py # Real-time conversation streaming
โ โโโ display_helper.py # UI display utilities
โ โโโ stream_data_anaylisi.py # Data analysis streaming handlers
โโโ ๐๏ธ Data & Configuration
โ โโโ config/ # Environment & model configuration
โ โ โโโ settings.py # OpenAI client & model settings
โ โโโ database/ # Database management
โ โ โโโ db_manager.py # SQLite connection & toolkit
โ โ โโโ ecommerce.db # Sample e-commerce database
โ โโโ coding/ # User uploaded data files
โ โ โโโ *.csv, *.json, *.xlsx # Analysis datasets
โ โ โโโ *.pkl # Trained ML models
โ โโโ plots/ # Generated visualizations
โ โโโ *.png # Chart exports & images
โโโ ๐งช Development & Notebooks
โ โโโ notebook/ # Jupyter development notebooks
โ โ โโโ *.ipynb # Experimental agent workflows
โ โ โโโ demo.py # Interactive demonstrations
โ โโโ __pycache__/ # Compiled Python modules
โโโ ๐ Documentation
โโโ README.md # Comprehensive documentation
โโโ autoinsight_server.log # Application logging
โโโ .gitignore # Version control configuration<!-- Replace ASCII with a diagram image -->
- AI & Agents: AutoGen, LangChain, OpenAI GPT-4o-mini
- Backend: FastAPI, WebSockets, Uvicorn
- Frontend: Streamlit, HTML5, CSS3, JS
- Visualization: Pandas, Matplotlib, Plotly, Seaborn
- Infrastructure: Docker, SQLite, SQLAlchemy
Once running, access the platform at http://localhost:8080:
- ๐๏ธ Database Analytics โ Query databases in natural language
- ๐ Data Analysis โ Upload CSV/Excel/JSON and run Python analysis
- ๐ Visualization Studio โ Generate charts and dashboards
Example queries:
"Show top 10 customers by total order value"
"Create a correlation matrix heatmap"
"Predict sales trends with a regression model"
- Fork the repo
- Create a branch:
git checkout -b feature/my-feature - Commit changes:
git commit -m 'Add my feature' - Push:
git push origin feature/my-feature - Open a Pull Request
๐ Follow PEP 8, add docstrings, and include tests.
This project is licensed under the MIT License - see LICENSE.
Akshay Kumar BM Senior Software Engineer & AI/ML Specialist
- ๐ง akshaykumarbedre.bm@gmail.com
- ๐ LinkedIn
- ๐ GitHub
โญ If you find this project useful, donโt forget to star the repo!
Built with โค๏ธ for the data science & AI community

