A powerful supply chain prediction and optimization engine powered by reinforcement learning.
DISCLAIMER: This project is NOT ready for production use. DO NOT USE in real-world supply chain systems.
The Meridian Engine is an educational exploration of AI capabilities in supply chain environments with significant limitations:
- In-Memory Only: All data is stored in memory and will be lost when the server restarts
- Single Environment: Does not properly support multiple concurrent supply chain environments
- Limited Testing: Has not been thoroughly tested with real-world data volumes
- Simplified Model: Uses a highly constrained supply chain model for educational purposes
- Research Focus: Created to understand reinforcement learning applications rather than for production deployment
Meridian Engine is an AI-driven supply chain optimization platform that uses reinforcement learning techniques to make intelligent decisions about supplier selection, order quantities, transportation modes, and production volumes. The engine continuously learns from supply chain data to improve its recommendations over time.
- Real-time Optimization: Dynamically optimize supply chain decisions as new data becomes available
- Reinforcement Learning: Q-learning agent that continuously improves decision-making
- Monte Carlo Simulation: Pre-train environment for more accurate predictions
- WebSocket API: Real-time communication with client applications
- Action Explanations: Human-readable explanations for recommended actions
- Visualization: Performance metrics and prediction accuracy visualization
The Meridian Engine consists of several key components:
- Supply Chain Environment: A Gymnasium-based simulation environment that models the dynamics of a supply chain network
- Q-Learning Agent: An intelligent agent that learns optimal policies through experience
- FastAPI Server: A web server that exposes the optimization engine via WebSockets
- Prediction Models: Machine learning models that predict key supply chain metrics
- Python 3.10+
- pip
-
Clone the repository:
git clone https://github.com/meridian-app/engine.git meridian-engine cd meridian-engine -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the FastAPI server:
fastapi dev
We welcome contributions to the Meridian Engine project. Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-branch) - Create a new Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.