Predictive Supply Chain Disruption Intelligence with Autonomous Mitigation Orchestration
SupplyMind is a graduate-level ML and Agentic AI platform designed for the modern supply chain. It continuously monitors thousands of suppliers and SKUs, predicts potential disruptions 2–4 weeks ahead of impact, and autonomously executes mitigation actions—such as placing emergency POs, adjusting safety stock, or escalating to human managers—while maintaining a comprehensive audit trail.
This system is built to balance autonomous operational efficiency with strict human oversight and accountability boundaries.
- Demand Forecasting: Utilizes Temporal Fusion Transformers (TFT) to predict multi-horizon SKU demand.
- Supplier Risk Scoring: Leverages LightGBM & SHAP to calculate the probability of disruptions.
- Anomaly Detection: Employs LSTM Autoencoders to flag unusual lead times or supplier behavior.
- Autonomous Agentic Orchestration: Operates across three distinct decision tiers based on financial thresholds and confidence scores.
- Explainability First: Every automated action generates an Action Card detailing the exact "why" behind the decision (SHAP drivers, anomaly flags, confidence scores).
The architecture connects raw data inputs to complex ML models, managed by a LangGraph-based agent orchestrator, and surfaced through a responsive React dashboard.
DATA LAYER → ML MODELS → AGENT → DASHBOARD
─────────────────────────────────────────────────────────────────────────────────
M5 Sales (Kaggle) TFT (Demand) Orchestrator React UI
DataCo Supply Chain LightGBM (Supplier Risk) Policy Engine D3.js Network
Synthetic Suppliers LSTM AE (Anomaly) Audit Logger Recharts
FRED / ACLED ───────────────── ───────────── Override Console
Risk Context Frame Issue POs
Adjust Stock
Escalate
git clone https://github.com/your-org/supplymind.git
cd supplymind
# Create and activate virtual environment
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Linux/Mac:
source .venv/bin/activate
# Install required dependencies
pip install -r requirements.txtCopy the example environment file and fill in your API keys and credentials:
cp .env.example .envSet your Kaggle credentials in the .env file first, then run:
# Download Kaggle datasets
python scripts/download_datasets.py
# Generate synthetic supplier data for testing
python simulation/supplier_sim.py --suppliers 1200 --weeks 104 --seed 42# Start the API server
uvicorn api.main:app --reload --host 0.0.0.0 --port 8000# Run the built-in smoke test
python scripts/smoke_test.pyFor more deep-dive information about how SupplyMind works under the hood, refer to these documents:
- How This System Works: A plain-English explanation of the data, the AI agent's logic, and what is automated vs. manual.
- Verify It Works: Detailed verification testing logic.
- Design Guide: UI/UX guidelines and styling tokens.
We welcome contributions from the community—whether it's improving the ML models, enhancing the UI, fixing bugs, or writing documentation!
Please read our Contributing Guidelines to understand the workflow, from setting up your development environment to submitting a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.