AI-Powered Geopolitical Risk Intelligence & Country Instability Synthesis Engine
WorldMonitor Global Threat Sentinel aggregates multi-vector intelligence feeds—geopolitical tensions, maritime chokepoint security, global energy grid signals, and market volatility—and utilizes local AI synthesis (llama3.2:3b) to compute real-time threat indices, Country Instability Index (CII) metrics, and executive risk briefings.
Ensure Ollama is running locally and pull the target model:
ollama pull llama3.2:3b
ollama run llama3.2:3b "Hello World"npm install -g worldmonitor
pip install jinja2 requestspython main.pyGenerating structured intelligence reports:
outputs.md— Executive Markdown Briefingreport.html— Interactive Glassmorphism Dashboard with Markdown export
| Component | Technology | Description |
|---|---|---|
| Intelligence Engine | Python 3.12 | Core event pipeline and signal normalization |
| Primary Tool | WorldMonitor Feeds / API | Global intelligence stream & instability metrics |
| Local AI LLM | Ollama (llama3.2:3b) |
Zero-latency, privacy-first threat analysis engine |
| Visualization | Jinja2 & CSS Glassmorphism | Responsive executive dashboard UI |
WorldMonitor Global Threat Sentinel/
├── README.md # Project documentation & GitHub instructions
├── config.py # System parameters, Ollama model bindings & category tiers
├── ingest.py # Multi-stream intelligence ingestion engine
├── analyzer.py # Local AI synthesis & risk scoring module
├── reporter.py # Markdown & HTML visualizer generator
├── main.py # Operational pipeline entrypoint
└── templates/
└── report_template.html # Glassmorphism executive dashboard UI template
config.py: Central configuration hub defining system parameters, Ollama LLM bindings (llama3.2:3b), host endpoints, risk categories (Geopolitics, Maritime, Cyber, Energy, Markets), CII instability score thresholds, and file output targets.ingest.py(IntelligenceIngestor): Multi-stream signal gatherer that collects and normalizes real-time intelligence feeds across global conflict corridors, maritime chokepoints, critical power grids, and commodity volatility desks.analyzer.py(ThreatAnalyzer): Local AI threat synthesis engine. Invokes Ollama (llama3.2:3bwith zero reasoning overhead) to calculate the composite Global Threat Index (0–100), compute regional Country Instability Index (CII) breakdown scores, generate executive summaries, and derive tactical mitigation directives.reporter.py(IntelligenceReporter): Document rendering and visualization pipeline. Formats clean GitHub-ready Markdown reports (outputs.md) and compiles interactive glassmorphism web dashboards (report.html) using Jinja2 templates.main.py: Main operational CLI entrypoint. Orchestrates ingestion, AI threat evaluation, and executive report compilation in under 15 seconds.templates/report_template.html: Premium responsive dark-theme dashboard UI template featuring glassmorphism card components, risk meter gauge displays, CII progress bars, live signal streams, and an instant Markdown download trigger.
- Executive Geopolitical Briefings: Automated daily intelligence synthesis for multinational leadership.
- Supply Chain Defense Radar: Early-warning alerts for maritime chokepoints and global transport hubs.
- Country Instability Benchmarking: Continuous scoring of political, infrastructure, and economic stress.
- Energy Grid Security Monitoring: Cross-stream analysis of regional power grids and fuel pipelines.
- Market Volatility Correlation: Mapping geopolitical signals to financial market risk exposure.
- Satellite SAR Data Integration: Direct ingestion of synthetic aperture radar imagery.
- Automated Escalation Modeling: Predictive multi-agent conflict escalation simulation.
- ADS-B & AIS Tracking: Real-time correlation with flight and naval vessel telemetry.
- Multi-Language Audio Transcription: Live processing of regional emergency news broadcasts.
- Webhook Alert Dispatcher: Direct incident push notifications to Slack and Telegram enterprise channels.
Distributed under the AGPL-3.0 License. See LICENSE for details.
worldmonitor geopolitical-risk threat-intelligence ollama llama3 country-instability-index risk-synthesis ai-sentinel glassmorphism-dashboard python