DemonChain.ai is an autonomous GenAI command center designed to revolutionize global supply chain resilience. By actively scraping and parsing global news streams using advanced LLMs, it detects incoming supply chain disruptions instantly, maps the blast radius, generates actionable mitigation runbooks, and logs critical business alerts directly into Datadog.
Global supply chains are extremely fragile and heavily reliant on manual human monitoring. Enterprise companies often react to geopolitical events, factory fires, or shipping blockades after the damage is done.
DemonChain.ai solves the "reaction latency" problem. By autonomously feeding live unstructured data through advanced language models, our platform detects supply chain threats the second news breaks. It doesn't just alert stakeholders; it actively produces dynamic mitigation strategies (like rerouting cargo or engaging backup suppliers) and ensures enterprise-grade visibility and tracking. It turns a chaotic reactive supply chain into a proactive, resilient one.
We leveraged a cutting-edge suite of AI, Observability, and Graph technologies to bring this platform to life:
- Amazon Bedrock (MiniMax & Claude 3 Sonnet): We utilize AWS Bedrock's powerful and low-latency models to process incoming unstructured news articles. MiniMax is used for fast, structured JSON extraction of incident severity and details, while Anthropic's Claude 3 Sonnet powers the real-time reasoning engine for our mitigation strategies.
- Datadog (MCP & Events API): Enterprise-grade observability is built directly into the core loop. Every AI-detected incident triggers a live, tagged event injected directly into the Datadog platform via the Model Context Protocol (MCP) securely using our Datadog API keys, ensuring NOC teams have immediate visibility into supply chain health alongside their infrastructure.
- Neo4j Graph Database: To understand the true "blast radius" of a disruption, we utilize Neo4j to map the complex web of interconnected suppliers, warehouses, and transit routes. When an incident occurs at a specific node, the graph instantly identifies downstream dependencies that require mitigation.
- CopilotKit (SiriSphere): We integrated CopilotKit to provide an interactive, Siri-like voice AI interface ("SiriSphere"). This allows supply chain incident commanders to use natural voice interactions to ask the AI about the crisis status, affected regions, and recommended next steps, powered seamlessly by our AWS Bedrock backend.
- React (Vite) & Express.js: A sleek, high-performance "glassmorphism" dashboard built on React providing the real-time NOC view, supported by a robust Node/Express backend that orchestrates the AI and database connections.
- News Ingestion: Unstructured news text is intercepted by the platform.
- AI Analysis (Bedrock): The text is parsed by AWS Bedrock's MiniMax model to extract event type, location, and severity into structured JSON.
- Graph Resolution (Neo4j): The location node is queried against the Neo4j knowledge graph to determine the interconnected impact radius.
- Mitigation Generation: Claude 3 Sonnet dynamically formulates a 3-step actionable containment runbook based on the specific incident topology.
- Observability (Datadog): The confirmed crisis event is logged immediately to the company's Datadog dashboard for centralized alerting.
- Interactive Commander (CopilotKit): The crisis dashboard goes live, allowing stakeholders to converse with the CopilotKit voice assistant to manage the situation.
- Node.js (v18+)
- AWS Bedrock Access (MiniMax & Claude 3 Sonnet enabled)
- Datadog API Keys
- Neo4j instance (local or AuraDB)
-
Clone the Repository:
git clone https://github.com/GarvitSharmaDeveloper/DemonChain.ai.git cd DemonChain.ai -
Install Dependencies:
- For the React Frontend:
npm install
- For the Express Backend:
cd server npm install
- For the React Frontend:
-
Environment Variables: Create a
.envfile in theserverdirectory with your secure credentials:AWS_ACCESS_KEY_ID=your_aws_key AWS_SECRET_ACCESS_KEY=your_aws_secret AWS_REGION=us-east-1 DATADOG_MCP_API_KEY=your_dd_mcp_key DATADOG_MCP_PASSWORD=your_dd_app_password NEO4J_URI=bolt://localhost:7687 NEO4J_USER=neo4j NEO4J_PASSWORD=your_password
-
Start the Services:
- Terminal 1 (Backend):
cd server node server.js - Terminal 2 (Frontend):
npm run dev
- Terminal 1 (Backend):
-
Access the Dashboard: Open
http://localhost:5173in your browser to start a crisis simulation!