<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eshanth kumar</title>
    <description>The latest articles on DEV Community by Eshanth kumar (@eshanth_kumar_a7df1002f93).</description>
    <link>https://dev.to/eshanth_kumar_a7df1002f93</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4018171%2F548ebff3-2812-467e-8085-95306a12dcdd.png</url>
      <title>DEV Community: Eshanth kumar</title>
      <link>https://dev.to/eshanth_kumar_a7df1002f93</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eshanth_kumar_a7df1002f93"/>
    <language>en</language>
    <item>
      <title>"Building SENTINEL: An Open-Source AI Conflict Prediction System"</title>
      <dc:creator>Eshanth kumar</dc:creator>
      <pubDate>Mon, 06 Jul 2026 17:24:54 +0000</pubDate>
      <link>https://dev.to/eshanth_kumar_a7df1002f93/building-sentinel-an-open-source-ai-conflict-prediction-system-195d</link>
      <guid>https://dev.to/eshanth_kumar_a7df1002f93/building-sentinel-an-open-source-ai-conflict-prediction-system-195d</guid>
      <description>&lt;h1&gt;
  
  
  Building SENTINEL: An Open-Source AI Conflict Prediction System
&lt;/h1&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Intelligence agencies react to conflicts &lt;em&gt;after&lt;/em&gt; they start. &lt;/p&gt;

&lt;p&gt;The 2022 Ukraine invasion caught the world by surprise — not because &lt;br&gt;
the signals weren't there, but because no one was fusing them together &lt;br&gt;
in real-time.&lt;/p&gt;

&lt;p&gt;Decision-makers need early warning systems that detect threats &lt;strong&gt;before&lt;/strong&gt; &lt;br&gt;
escalation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;SENTINEL&lt;/strong&gt; — an open-source AI system that monitors global &lt;br&gt;
hotspots by fusing 5 independent data sources into a single 0-100 threat &lt;br&gt;
score, updated every 30 minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  The 5 Signals
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;NEWS &amp;amp; MEDIA&lt;/strong&gt; (GDELT Project)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;65,000 news sources in 100+ languages&lt;/li&gt;
&lt;li&gt;Detects: Media coverage spikes, diplomatic tensions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;AIRCRAFT TRACKING&lt;/strong&gt; (OpenSky Network)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time ADS-B data from 4,000+ receivers worldwide&lt;/li&gt;
&lt;li&gt;Detects: Military flights, troop transports, evacuations&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;SEISMIC ACTIVITY&lt;/strong&gt; (USGS)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Global seismic sensors detecting magnitude 2.5+ events&lt;/li&gt;
&lt;li&gt;Detects: Nuclear tests, artillery barrages, explosions&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;DEFENSE STOCKS&lt;/strong&gt; (Yahoo Finance)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time data for top 5 weapons manufacturers&lt;/li&gt;
&lt;li&gt;Detects: Insider trading patterns, war profiteering&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ARMED CONFLICTS&lt;/strong&gt; (ACLED)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;200+ researchers tracking conflicts in 50+ countries&lt;/li&gt;
&lt;li&gt;Detects: Battles, explosions, territorial control changes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Historical Validation
&lt;/h2&gt;

&lt;p&gt;I tested SENTINEL against 4 major conflicts. Here's what happened:&lt;/p&gt;

&lt;h3&gt;
  
  
  Ukraine 2022
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Alert would have fired:&lt;/strong&gt; February 21, 2022&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actual invasion:&lt;/strong&gt; February 24, 2022&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Early warning:&lt;/strong&gt; 72 hours&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Kargil War 1999
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Alert:&lt;/strong&gt; May 1999&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actual conflict:&lt;/strong&gt; June 1999&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Early warning:&lt;/strong&gt; 30 days&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Gulf War 1990
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Alert:&lt;/strong&gt; July 31, 1990&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actual war:&lt;/strong&gt; August 2, 1990&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Early warning:&lt;/strong&gt; 48 hours&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Israel-Iran 2024
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Detection:&lt;/strong&gt; Real-time (June 8, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actual escalation:&lt;/strong&gt; June 8, 2026&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Early warning:&lt;/strong&gt; Immediate&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The point:&lt;/strong&gt; This isn't theoretical. It works on real conflicts.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works: The Scoring Algorithm
&lt;/h2&gt;

&lt;p&gt;Each signal contributes to the final threat score:&lt;br&gt;
News Score (0-30):&lt;/p&gt;

&lt;p&gt;100+ articles = 30 points&lt;br&gt;
75-99 articles = 28 points&lt;br&gt;
50-74 articles = 24 points&lt;br&gt;
etc.&lt;/p&gt;

&lt;p&gt;Aircraft Score (0-20):&lt;/p&gt;

&lt;p&gt;Aircraft count + high-speed bonus&lt;br&gt;
Unknown callsigns = penalty&lt;/p&gt;

&lt;p&gt;Seismic Score (0-20):&lt;/p&gt;

&lt;p&gt;Magnitude 6.0+ = 15 points&lt;br&gt;
5.0-5.9 = 10 points&lt;br&gt;
etc.&lt;/p&gt;

&lt;p&gt;Defense Stocks (0-30):&lt;/p&gt;

&lt;p&gt;30%+ surge = 30 points&lt;br&gt;
20-29% = 24 points&lt;br&gt;
etc.&lt;/p&gt;

&lt;p&gt;ACLED Score (0-20):&lt;/p&gt;

&lt;p&gt;Battle events × 3 points&lt;br&gt;
Explosions × 2.5 points&lt;br&gt;
Fatality bonuses&lt;/p&gt;

&lt;p&gt;Baseline: +10 points (inherent geopolitical tension)&lt;br&gt;
Final: min(total, 100) // Cap at 100&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this works:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-signal reduces false positives&lt;/li&gt;
&lt;li&gt;Each signal is independent (one can't bias others)&lt;/li&gt;
&lt;li&gt;Weighted by impact (news is 30%, not 20%)&lt;/li&gt;
&lt;li&gt;Validated via backtesting&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.11&lt;/li&gt;
&lt;li&gt;Flask (API server)&lt;/li&gt;
&lt;li&gt;APScheduler (background updates)&lt;/li&gt;
&lt;li&gt;Requests (HTTP client)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React 18&lt;/li&gt;
&lt;li&gt;Leaflet.js (interactive maps)&lt;/li&gt;
&lt;li&gt;Recharts (data visualization)&lt;/li&gt;
&lt;li&gt;Axios (API client)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Groq API (Llama 3 - 70B parameters)&lt;/li&gt;
&lt;li&gt;500+ tokens/sec (12x faster than GPT-4)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Data Storage:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON cache (offline resilience)&lt;/li&gt;
&lt;li&gt;No database needed&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Build Story
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Timeline:&lt;/strong&gt; 7 days (April 17-24, 2026)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; $0.00 (all free APIs)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prior experience:&lt;/strong&gt; Zero coding knowledge&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context:&lt;/strong&gt; SCSP National Security Hackathon 2026 (Wargaming Track)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yes, I learned React and Flask while building this. No CS background &lt;br&gt;
required.&lt;/p&gt;

&lt;h2&gt;
  
  
  Live Results (Right Now)
&lt;/h2&gt;

&lt;p&gt;Current threat assessment:&lt;/p&gt;

&lt;p&gt;🔴 &lt;strong&gt;Israel-Gaza-Iran: 80/100 (CRITICAL)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;News: 28/30 (major coverage)&lt;/li&gt;
&lt;li&gt;Aircraft: 20/20 (military activity)&lt;/li&gt;
&lt;li&gt;Seismic: 15/20 (explosions detected)&lt;/li&gt;
&lt;li&gt;Stocks: 30/30 (defense surge)&lt;/li&gt;
&lt;li&gt;ACLED: 17/20 (armed events)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🔴 &lt;strong&gt;Myanmar: 75/100 (CRITICAL)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;All signals elevated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🟠 &lt;strong&gt;Ukraine-Russia: 72/100 (HIGH)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sustained elevated across signals&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🟠 &lt;strong&gt;Taiwan-China: 68/100 (HIGH)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Flights + news driving score&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Traditional approach:&lt;/strong&gt; Intelligence agencies spend weeks analyzing signals, &lt;br&gt;
then react to conflicts after they start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SENTINEL approach:&lt;/strong&gt; Automated analysis that fires alerts 72 hours before &lt;br&gt;
escalation, giving decision-makers time to act.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The impact:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ Humanitarian orgs can pre-position aid&lt;/li&gt;
&lt;li&gt;✅ Diplomats can negotiate before point of no return&lt;/li&gt;
&lt;li&gt;✅ Defense forces can prepare strategically&lt;/li&gt;
&lt;li&gt;✅ Journalists can verify claims in real-time&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Live Threat Monitoring
&lt;/h3&gt;

&lt;p&gt;Interactive world map showing all monitored regions with real-time threat scores.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Historical Replay
&lt;/h3&gt;

&lt;p&gt;Watch how past conflicts escalated signal-by-signal. See exactly when &lt;br&gt;
SENTINEL would have alerted.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. AI Conflict Briefs
&lt;/h3&gt;

&lt;p&gt;Generate CIA-style intelligence assessments in &amp;lt;5 seconds using Groq + Llama 3.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Claim Verification
&lt;/h3&gt;

&lt;p&gt;Fact-check military claims by cross-referencing all 5 data sources. &lt;br&gt;
Get credibility scores (0-100).&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Wargaming Scenarios
&lt;/h3&gt;

&lt;p&gt;Three probabilistic future paths: Escalation / Diplomacy / Standoff.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limitations I'm Being Honest About
&lt;/h2&gt;

&lt;p&gt;✅ &lt;strong&gt;What works:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-signal fusion reduces false positives&lt;/li&gt;
&lt;li&gt;Historical validation proves the approach&lt;/li&gt;
&lt;li&gt;Real-time detection on current events&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;❌ &lt;strong&gt;What needs improvement:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Would benefit from satellite imagery integration&lt;/li&gt;
&lt;li&gt;Could use classified/private sensor data&lt;/li&gt;
&lt;li&gt;Needs field testing with actual defense organizations&lt;/li&gt;
&lt;li&gt;Scoring weights based on 4 historical cases (needs more)&lt;/li&gt;
&lt;li&gt;Not a replacement for human analysis (a tool, not a decision-maker)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Future Roadmap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Satellite imagery integration (Sentinel Hub)&lt;/li&gt;
&lt;li&gt;[ ] SMS/email alerts for threshold crossings&lt;/li&gt;
&lt;li&gt;[ ] Expand to 50+ monitored regions&lt;/li&gt;
&lt;li&gt;[ ] Machine learning optimization of weights&lt;/li&gt;
&lt;li&gt;[ ] Historical database (20+ years of conflicts)&lt;/li&gt;
&lt;li&gt;[ ] Mobile app (iOS/Android)&lt;/li&gt;
&lt;li&gt;[ ] Change detection algorithms (visualize troop movements)&lt;/li&gt;
&lt;li&gt;[ ] Integration with defense systems&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open Source &amp;amp; Cost
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; github.com/eshanth23/sentinel&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;All APIs used are FREE:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GDELT: Free&lt;/li&gt;
&lt;li&gt;OpenSky: Free (anonymous)&lt;/li&gt;
&lt;li&gt;USGS: Free&lt;/li&gt;
&lt;li&gt;Yahoo Finance: Free&lt;/li&gt;
&lt;li&gt;ACLED: Free (15K requests/month)&lt;/li&gt;
&lt;li&gt;Groq: Free (14.4K requests/day)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Total operational cost: $0.00&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Anyone can download, modify, and deploy SENTINEL. No licensing fees. &lt;br&gt;
No restrictions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm Asking For
&lt;/h2&gt;

&lt;p&gt;I'm looking for:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Technical feedback&lt;/strong&gt; on the methodology&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Suggestions&lt;/strong&gt; for improvements&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ideas&lt;/strong&gt; on extending it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use cases&lt;/strong&gt; you think this could help with&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Collaborators&lt;/strong&gt; interested in working on this&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why I Built This
&lt;/h2&gt;

&lt;p&gt;I believe early warning systems shouldn't cost $10M+ or require classified data.&lt;/p&gt;

&lt;p&gt;Open source + open data can do this.&lt;/p&gt;

&lt;p&gt;The next conflict doesn't have to be a surprise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get Involved
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; github.com/eshanth23/sentinel&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Questions?&lt;/strong&gt; Comment below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Want to collaborate?&lt;/strong&gt; Open a GitHub issue or reach out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Found a bug?&lt;/strong&gt; File an issue on GitHub.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built by one student. Runs for free. Built for everyone.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;MS Computer Science, UMass Boston (2026)&lt;/em&gt;&lt;br&gt;
&lt;em&gt;SCSP National Security Hackathon 2026 Participant&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>security</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
