← Discover MCPs and Agents
s
AgentAI & MLGitHub

supply-chain-control-tower

Multi-agent AI system for supply chain intelligence — MCP agents, local AI workflow, and continuous-improvement insights

Links

README

From the repo.

🏭 Supply Chain Control Tower

License: MIT Python Version Agents

A public demo/community edition of a local multi-agent AI system for supply chain intelligence — built with Python, FastMCP, SQLite, and Claude Desktop.


What Is This?

The Supply Chain Control Tower is a public demo/community edition of a multi-agent AI system designed to explore how agentic AI can support supply chain operations.

It connects multiple specialized MCP agents to Claude Desktop, allowing users to ask supply chain questions in plain English and receive structured, business-focused answers.

The project demonstrates how AI agents can work together across supply chain domains such as shipment delays, inventory, purchasing, freight, warehouse operations, investigation, recommendations, testing, performance monitoring, and coordination.

This repository is intended for learning, portfolio, open technical contribution, and architecture demonstration purposes.


Why This Project Matters

Modern supply chain teams often work across disconnected systems, manual spreadsheets, delayed reports, and siloed operational data.

This project demonstrates a practical approach to using multi-agent AI for:

  • Operational visibility
  • Root-cause analysis
  • Exception management
  • Recommendation support
  • Performance monitoring
  • Continuous-improvement workflows
  • Human-readable supply chain intelligence

The goal is to show how AI can move beyond chat-based assistance and become part of real operational decision-support workflows.


Technical Contribution

This project contributes a working reference architecture for applying MCP-based multi-agent AI to supply chain operations.

It demonstrates:

  • Multi-agent orchestration using MCP and FastMCP
  • Local AI workflow with Claude Desktop
  • Domain-specific supply chain agents
  • SQLite-based operational data layer
  • Centralized configuration
  • Streamlit dashboard for visibility
  • Security-aware tool execution
  • Performance monitoring and caching
  • Token usage tracking
  • Automated testing across agent workflows
  • Optional LLM fallback support
  • Continuous-improvement style recommendation refinement

This public version is intentionally limited to a demo/community scope while preserving the architecture and implementation patterns needed to understand the approach.


Example Questions You Can Ask Claude

"What orders need action today?"
"Investigate SO10003 — why is it delayed?"
"Which carriers are underperforming?"
"What is the recommended action for SO10001?"
"Run the daily risk report."
"Are there any stockouts I should know about?"
"What does today's supply chain look like?"
"Which warehouse picks are falling behind?"

High-Level Architecture

graph TD
    A[Claude Desktop] --> B[Coordinator Agent]
    B --> C[Shipping Delay Agent]
    B --> D[Inventory Agent]
    B --> E[Purchase Order Agent]
    B --> F[Freight Agent]
    B --> G[Warehouse Agent]
    B --> H[Investigation Agent]
    B --> I[Recommendation Agent]
    B --> J[CI Agent]
    B --> K[Memory Agent]
    B --> L[Performance Agent]
    B --> M[Test Agent]
    C & D & E & F & G & H & I & J & K & L & M --> N[(SQLite Database)]
    N --> O[Streamlit Dashboard]

The coordinator routes user questions to the relevant agents. Specialized agents retrieve required data, apply configurable business rules, and return structured results to Claude.


Agent Coverage

AgentDomain
shipping-delay-agentShipment delay analysis
inventory-agentInventory monitoring
po-agentPurchase order tracking
freight-agentFreight and carrier performance
warehouse-agentWarehouse operations
investigation-agentRoot-cause investigation
recommendation-agentAction prioritization
ci-agentContinuous-improvement insights
memory-agentCross-session memory
performance-agentPerformance monitoring
coordinator-agentCoordination and routing
test-agentAutomated testing

Total: 12 agents — 57 tools


Key Features

Multi-Agent Reasoning

Claude can work across multiple supply chain agents to answer complex operational questions.

For example, a single investigation request may involve shipment status, inventory availability, warehouse progress, and freight/carrier information.

Supply Chain Intelligence

The system applies configurable supply chain rules for:

  • Delay classification
  • Inventory risk
  • Carrier performance
  • Warehouse status
  • Action prioritization
  • Management reporting

Rules are centralized so the logic can be adjusted for different operating models.

Continuous Improvement Layer

The project includes an experimental continuous-improvement layer that detects recurring supply chain patterns and supports feedback-based recommendation refinement.

Security-Aware Execution

The system includes safeguards such as:

  • Read-only database access
  • Input validation
  • SQL execution controls
  • Prompt-injection protection
  • Tool-call audit logging

Performance Layer

The project includes platform utilities for:

  • Query caching
  • Token usage tracking
  • Slow-query detection
  • Performance logging
  • Anomaly detection

Optional LLM Fallback

Optional fallback support is included for continuity when the primary assistant is unavailable or rate-limited.

Central Configuration

Core settings are managed through a centralized configuration file, making the system easier to maintain and extend.

Automated Testing

The project includes automated test scenarios across the agent ecosystem to validate key workflows and expected outputs.


Tech Stack

ComponentTechnology
LanguagePython 3.10
AI ProtocolMCP via FastMCP
AI ClientClaude Desktop
Optional FallbackOpenRouter
DatabaseSQLite
DashboardStreamlit + Plotly
ConfigurationPyYAML
OS TestedWindows

Project Structure

supply_chain_mcp_project/
│
├── config/        # Centralized settings and public example configuration
├── data/          # SQLite database and sample data
├── docs/          # Installation and upgrade documentation
├── logs/          # Runtime logs and audit outputs
├── mcp_server/    # MCP agent servers
├── scripts/       # Setup and utility scripts
├── src/           # Shared business logic and platform utilities
├── tests/         # Automated test scenarios
├── dashboard/     # Streamlit dashboard
│
├── .gitignore
├── CLAUDE.md
├── requirements.txt
└── README.md

Quick Start

Prerequisites

  • Python 3.10
  • Claude Desktop
  • Git

Installation

# Clone the repository
git clone https://github.com/vishal2559/supply-chain-control-tower.git
cd supply-chain-control-tower

# Install dependencies
pip install -r requirements.txt

# Set up the database
python scripts/csv_to_sqlite.py
python scripts/build_indexes.py

For Claude Desktop setup, see: docs/INSTALLATION_GUIDE.md


Configuration

This repository includes a public-safe example configuration:

cp config/settings.example.yaml config/settings.yaml

## Optional Fallback Setup

```bash
# Create .env file at project root
echo OPENROUTER_API_KEY=your-key-here > .env

# Check fallback configuration
python scripts/check_balance.py

# Start fallback chat
python scripts/fallback_chat.py

Do not commit .env files or API keys to GitHub.


Slash Commands

CommandDescription
/sc-briefingDaily supply chain summary
/sc-investigateRoot-cause analysis for a specific order
/sc-escalateOrders needing immediate action
/sc-scanImprovement scan
/sc-weeklyWeekly performance report

Version History

VersionWhat Was Added
v1.0Initial shipment delay and inventory agents
v1.5Purchase order, freight, and warehouse coverage
v2.0Investigation, recommendation, and improvement capabilities
v2.5SQLite upgrade and Streamlit dashboard
v3.0Standardized configuration, security-aware execution, performance monitoring, coordinator agent, automated testing, and optional LLM fallback support

Public Demo Scope

This repository is intended for learning, portfolio, open technical contribution, and architecture demonstration purposes.

It demonstrates the architecture, agent collaboration pattern, and supply chain use case using sample data and configurable rules.


Author

Vishal Vishwakarma — AI Engineer | Supply Chain AI | Multi-Agent Systems

GitHub: github.com/vishal2559


License

MIT License — see LICENSE for details.


Built as a learning project that evolved into a production-inspired reference architecture for multi-agent supply chain intelligence.

Collected info

  • 9 stars
  • Language: Python
  • Source updated: 6/25/2026