This project was built for the Solution Challenge 2026. It demonstrates a global supply chain orchestration system that uses predictive modeling and external APIs to coordinate shipments, predict risks, and calculate alternate safe routes.
In ancient Egyptian mythology, Anubis was the god of funerary rites, protector of graves, and guide to the underworld. He was renowned for weighing the hearts of the deceased against the feather of truth — an absolute arbiter of fate.
This AI assistant takes its name and spirit from Anubis. Just as the original Anubis guided souls through the perilous trials of the Duat — protecting them and ensuring safe passage — this system guides global shipments through the perilous "underworld" of modern supply chain chokepoints. It weighs geopolitical events, weather disruptions, and chokepoint congestion to advise on decisions and keep the flow of global trade running smoothly. It does not act on impulse; it judges the risks.
🚀 Live Demo: https://anubis-frontend-832546103382.us-central1.run.app/
- FastAPI Backend: Provides a suite of endpoints for predictive intelligence, mock data generation, and route assessment.
- React Frontend: Built with Vite and MapLibre, it graphically illustrates the flow of global shipments and cascades alerts visually.
- Google Cloud Run: The frontend and backend containers are deployed separately on GCP for scalable availability.
All evaluations embody the persona of Anubis — speaking with the ancient authority and mysticism of the Egyptian god.
| Service | Responsibilities |
|---|---|
| 🔮 Gemini Oracle | Evaluate risk factors and render a 2-3 sentence judgment with ancient authority. |
| 🗺️ OpenRouteService | Calculate live driving distances, alternative routes, and risk-reduction offsets. |
| 📰 NewsAPI | Scan recent global news for geopolitical developments and supply chain disruptions. |
| ⛈️ OpenWeather | Collect climate events and weather severities near shipment origins and destinations. |
| 🔥 Firebase DB | (Mocked) Store and retrieve real-time shipment nodes and risk levels. |
- Cascading Chokepoint Simulation: The system visually cascades disruptions from global chokepoints like the Strait of Hormuz to connected network routes.
- Dynamic Route Calculation: Finds alternative paths intelligently if a primary route falls under elevated risk or geopolitical strain.
- The Oracle: A mystical AI personality leveraging Gemini 2.5 Flash to weigh the risks and offer guidance on shipping logistics.
- Vibrant Cinematic UI: Built intricately using modern CSS with dark 'stone' themes, gold glowing highlights, and fluid Framer Motion animations.
- Copy
.env.exampleto.envand insert your appropriate API Keys (GEMINI_API_KEY, etc). - For an automated run, use the provided setup script on Windows:
.\setup.ps1- Or on Linux/Mac:
./setup.sh
- Or on Linux/Mac:
- Alternatively, manually install requirements in
backend/(pip install -r requirements.txt) and runuvicorn main:app --reload. - Install frontend dependencies (
npm install) and start the Vite dev server (npm run dev).
This project is packaged with two Dockerfiles (one for backend, one for frontend) and is fully compatible with Google Cloud Run.
To deploy via the automated script, ensure you are authenticated via gcloud and run:
.\deploy_gcp.ps1