Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Nexora Intelligence Engine β€” Advanced Real-Time Edition

Transform news feeds into actionable strategic intelligence with AI-powered reasoning, sentiment analysis, and automated alerts.

Python 3.11+ Streamlit License: MIT


πŸš€ Quick Start

# Install dependencies
pip install -r requirements.txt

# Run the application
streamlit run app.py

Application opens at http://localhost:8501

No API keys required β€” Uses public Google News RSS feeds.


✨ What's New in This Version

🎨 Modern Dark UI

  • Gradient cards with animations
  • Real-time AI signal monitor
  • Urgency badges with blink effects
  • Professional data visualizations

πŸ”΄ Enhanced Flash News

  • Real-time RSS feeds from multiple sources
  • Sentiment timeline charts
  • Keyword highlighting in headlines
  • Top movers tracking (positive/negative)
  • Smart alerts with urgency levels

🧠 Advanced Intelligence Brief

  • Strategic reasoning with Flan-T5
  • 30-day sentiment forecasts
  • Scenario tree with probabilities (Bull/Base/Bear)
  • Action recommendations with impact scores
  • Confidence assessment with visual bars
  • Multi-format exports (MD/HTML/Playbook)

πŸ“ˆ Trends & Analytics

  • Dual-chart layouts (catalysts + momentum)
  • Volatility Index calculation
  • Sentiment evolution tracking
  • Entity momentum analysis
  • Burst activity detection

πŸ”¬ Research Lab

  • Topic clustering (K-Means)
  • Interactive network graphs (PyVis)
  • Source distribution heatmaps
  • Emerging themes discovery

🚨 Smart Alerts

  • Auto-pilot continuous monitoring
  • Urgency calculation (High/Medium/Low)
  • Correlation analysis (co-occurring catalysts)
  • Watchlist management
  • Alert history archiving

🧾 History & Exports

  • Session history with diff markers
  • ZIP export bundles (MD/HTML/JSON)
  • Timestamped filenames
  • Metadata tracking

πŸ“Š Key Features

Feature Description
Real-Time Feeds Google News RSS (Business, Technology, Global)
Sentiment Analysis VADER-based scoring (-1 to +1)
Catalyst Detection 8 categories (M&A, Earnings, Regulatory, etc.)
AI Reasoning Strategic briefs using Flan-T5 models
Network Graphs Entity-Catalyst relationship mapping
Auto-Pilot Mode Hands-free continuous monitoring
Caching 5-minute TTL for performance
No API Keys Completely free to use

🎯 Use Cases

  • Market Intelligence β€” Track sector trends and sentiment shifts
  • Risk Monitoring β€” Automated alerts for negative catalysts
  • Strategic Planning β€” AI-generated scenario analysis
  • Competitive Analysis β€” Entity tracking and momentum detection
  • Research β€” Topic clustering and correlation discovery

πŸ“ Architecture

Nexora Intelligence Engine
β”œβ”€β”€ Real-Time RSS Feeds (Google News)
β”‚   β”œβ”€β”€ Sentiment Analysis (VADER)
β”‚   β”œβ”€β”€ Catalyst Classification (8 categories)
β”‚   └── Credibility Scoring (domain-based)
β”‚
β”œβ”€β”€ AI Reasoning Layer
β”‚   β”œβ”€β”€ Article Summarization (BART/Flan-T5)
β”‚   β”œβ”€β”€ Strategic Analysis (Flan-T5)
β”‚   └── Scenario Generation (Bull/Base/Bear)
β”‚
β”œβ”€β”€ Analytics Engine
β”‚   β”œβ”€β”€ Trend Analysis (momentum, volatility)
β”‚   β”œβ”€β”€ Topic Clustering (K-Means)
β”‚   β”œβ”€β”€ Network Graphs (NetworkX + PyVis)
β”‚   └── Correlation Detection
β”‚
β”œβ”€β”€ Alert System
β”‚   β”œβ”€β”€ Keyword Monitoring
β”‚   β”œβ”€β”€ Urgency Calculation
β”‚   β”œβ”€β”€ Auto-Pilot Mode
β”‚   └── History Archiving
β”‚
└── Storage & Caching
    β”œβ”€β”€ FAISS (vector search)
    β”œβ”€β”€ SQLite (article storage)
    └── JSON (watchlists, alerts)

🎨 Screenshots

Flash News Dashboard

  • Live sentiment timeline
  • Top movers (positive/negative)
  • Smart alerts with urgency badges

Intelligence Brief

  • Strategic scenarios with probabilities
  • 30-day sentiment forecast
  • Action cards with impact scores

Trends & Timeline

  • Dual-chart momentum analysis
  • Sentiment evolution over time
  • Volatility index tracking

Research Lab

  • Interactive network graphs
  • Topic clustering visualization
  • Source distribution heatmaps

πŸ“š Documentation


πŸ”§ Configuration

Environment Variables (Optional)

# Use smaller models for faster loading
export NEXORA_STRATEGY_MODEL="google/flan-t5-small"
export NEXORA_SUMMARY_MODEL="sshleifer/distilbart-cnn-12-6"
export NEXORA_EMBEDDER="sentence-transformers/all-MiniLM-L6-v2"

# Adjust log level
export NEXORA_LOG_LEVEL="INFO"  # DEBUG, INFO, WARNING, ERROR

Sidebar Controls

  • Focus Topic β€” Research area (e.g., "AI chips market")
  • News to Fetch β€” 5-50 articles per refresh
  • Historical Lookback β€” 7-90 days for context
  • Auto-refresh β€” 5-60 seconds interval
  • Alert Keywords β€” Comma-separated (e.g., "NVIDIA, AMD")
  • Auto-Pilot Mode β€” Continuous monitoring toggle

πŸ§ͺ Testing

Run the test suite to verify core functionality:

python3 test_core.py

Expected output:

βœ… PASS β€” Imports
βœ… PASS β€” Utilities
βœ… PASS β€” Sentiment
βœ… PASS β€” Catalysts
βœ… PASS β€” Alerts
βœ… PASS β€” Trends
βœ… PASS β€” Exports

πŸŽ‰ ALL TESTS PASSED β€” System ready for deployment

πŸ“¦ Dependencies

Core

  • streamlit==1.39.0 β€” UI framework
  • aiohttp==3.10.5 β€” Async HTTP
  • feedparser==6.0.11 β€” RSS parsing

ML/AI

  • transformers==4.45.2 β€” LLM reasoning
  • sentence-transformers==3.0.1 β€” Embeddings
  • torch>=2.2.0 β€” PyTorch backend
  • vaderSentiment==3.3.2 β€” Sentiment analysis

Data/Viz

  • pandas==2.2.3 β€” Data manipulation
  • altair==5.5.0 β€” Charts
  • plotly==5.24.1 β€” Interactive plots
  • networkx==3.2.1 β€” Graph algorithms
  • pyvis==0.3.2 β€” Network visualization

Storage

  • faiss-cpu==1.12.0 β€” Vector search
  • scikit-learn==1.7.2 β€” Clustering

See requirements.txt for complete list.


πŸš€ Performance

  • Startup Time: ~10s (first run with model downloads)
  • Refresh Cycle: ~2-3s (25 articles)
  • Memory Usage: ~1.5GB (with models loaded)
  • Cache Hit Rate: ~80% (5min TTL)
  • Alert Latency: <1s (keyword matching)

πŸ” Privacy & Security

  • βœ… No API keys required
  • βœ… Public RSS feeds only
  • βœ… Local model execution
  • βœ… Data stored locally
  • βœ… No tracking or analytics
  • βœ… Open-source and auditable

πŸ› οΈ Troubleshooting

Issue: Models downloading slowly

Solution: Pre-download models or use smaller variants (see Configuration)

Issue: High memory usage

Solution: Set environment variables for smaller models

Issue: RSS feeds not loading

Solution: Check internet connection; app uses cached data as fallback

Issue: Slow performance

Solution: Reduce n_items slider, increase refresh_sec, disable auto-refresh

See Full Documentation for more troubleshooting tips.


πŸ—ΊοΈ Roadmap

  • Custom RSS source management
  • Multi-language support
  • Email/SMS alert delivery
  • Mobile-responsive design
  • API endpoint for integrations
  • Sentiment prediction (LSTM)

πŸ“ License

MIT License β€” See LICENSE file for details.


πŸ™ Credits

Built with:

  • Streamlit β€” UI framework
  • HuggingFace Transformers β€” AI reasoning
  • VADER β€” Sentiment analysis
  • FAISS β€” Vector search
  • Altair/Plotly β€” Visualizations
  • PyVis/NetworkX β€” Network graphs
  • Google News β€” RSS feeds

πŸ“ž Support

For issues or questions:

  1. Check Full Documentation
  2. Review Test Suite output
  3. Inspect browser console (F12)
  4. Check Streamlit logs in terminal

⚑ Nexora Intelligence Engine β€” Decision-Grade Intelligence, Powered by AI

Last Updated: 2025-11-07

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages