CoolFace
Apppublic

vaibhav2108/cyber_resilience

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Predictive Cyber Resilience Platform

๐Ÿ›ก๏ธ AI-powered enterprise cyber resilience platform focused on anticipating threats, withstanding attacks, recovering operations, and adapting continuously.

Features

  • โ€”Executive Dashboard โ€” KPI-first storytelling with resilience gauges, threat heatmaps, and trend analytics
  • โ€”4 Pillars โ€” Anticipate, Withstand, Recover, Adapt/Evolve with 18 interactive demos
  • โ€”AI Copilot โ€” RAG-powered chat assistant with context-aware security insights
  • โ€”Synthetic Data Engine โ€” 22 correlated datasets with 5K+ assets
  • โ€”Dynamic KPI Engine โ€” All metrics computed from live data, no hardcoded values
  • โ€”Dark Glassmorphism UI โ€” Premium executive dashboard design

Quick Start

bash
# Install dependencies
pip install -e .

# Set your OpenAI API key (optional - for Copilot AI features)
cp .env.example .env
# Edit .env and add your OPENAI_API_KEY

# Run the application
streamlit run main.py

Tech Stack

LayerTechnology
FrontendStreamlit
ChartsPlotly
LLMOpenAI GPT-4o-mini
Data EnginePandas + NumPy
Agent FrameworkLangChain + LangGraph
Vector DBFAISS

Architecture

app/
โ”œโ”€โ”€ data/          # Synthetic data engine (22 datasets)
โ”œโ”€โ”€ kpi/           # Dynamic KPI computation
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ dashboards/  # Executive dashboard
โ”‚   โ”œโ”€โ”€ pages/       # 4 pillar pages
โ”‚   โ”œโ”€โ”€ copilots/    # AI copilot
โ”‚   โ”œโ”€โ”€ theme.py     # Dark glassmorphism CSS
โ”‚   โ””โ”€โ”€ components.py # Reusable Plotly components
โ””โ”€โ”€ rag/           # RAG retrieval engine

Deployment

Hugging Face Spaces

This app includes a Dockerfile configured for HF Spaces (port 7860).

Local Docker

bash
docker build -t cyber-resilience .
docker run -p 7860:7860 -e OPENAI_API_KEY=your-key cyber-resilience

License

Proprietary