How shivanesh21/sentinelai works
SentinelAI is an incident-risk monitoring and response application, with a React dashboard backed by a FastAPI service. Users inspect service risk and model drift, or run an incident simulation that exercises risk assessment, root-cause analysis, remediation, and recovery verification. The backend also includes telemetry simulation and feature engineering, model/anomaly scoring, evidence assembly, and drift monitoring. The README contains only the product name, so capability coverage relies on the source index and shown excerpts; several backend internals are unsampled, and their runtime links are omitted where not evidenced.
Main entry points: App.jsx Dashboard shell · e2e.py Incident pipeline · main.py HTTP API · api.js API client
Components 28
Dashboard
- Dashboard shell
client/src/App.jsx - API client
client/src/api.js - Overview
client/src/components/OverviewTab.jsx - Risk view
client/src/components/RiskTab.jsx - Pipeline view
client/src/components/PipelineTab.jsx - Incidents view
client/src/components/IncidentsTab.jsx - Remediation view
client/src/components/RemediationTab.jsx - Models view
client/src/components/ModelsTab.jsx - Drift view
client/src/components/DriftTab.jsx - UI components
client/src/components/ui.jsx
API service
- HTTP API
backend/src/api/main.py - Incident pipeline
backend/src/pipeline/e2e.py
Telemetry and features
- Telemetry simulator
backend/src/telemetry/simulator/generator.py - Service metrics
backend/src/telemetry/simulator/service.py - Failure scenarios
backend/src/telemetry/simulator/failure_scenarios.py - Feature engineering
backend/src/features/engineering.py - Feature store
backend/src/features/store.py
Risk and diagnosis
- Anomaly detection
backend/src/anomaly/base.py - Risk scoring
backend/src/risk/engine.py - Evidence assembly
backend/src/evidence/assembler.py - RCA analysis
backend/src/rca/client.py - Heuristic diagnosis
backend/src/rca/heuristic.py - Model implementations
backend/src/models/advanced.py
Response and operations
- Remediation executor
backend/src/remediation/executor.py - Action backends
backend/src/remediation/backends.py - Recovery verification
backend/src/recovery/verifier.py - Drift monitoring
backend/src/mlops/drift.py
Other components
- Operator
Connections 33
- Operator → Dashboard shell: uses
client/src/App.jsx - Dashboard shell → Overview: renders
client/src/App.jsx - Dashboard shell → Risk view: renders
client/src/App.jsx - Dashboard shell → Pipeline view: renders
client/src/App.jsx - Dashboard shell → Incidents view: renders
client/src/App.jsx - Dashboard shell → Remediation view: renders
client/src/App.jsx - Dashboard shell → Models view: renders
client/src/App.jsx - Dashboard shell → Drift view: renders
client/src/App.jsx - Dashboard shell → API client: fetches through
client/src/App.jsx - Risk view → API client: scores via
client/src/components/RiskTab.jsx - Pipeline view → API client: runs via
client/src/components/PipelineTab.jsx - Drift view → API client: checks via
client/src/components/DriftTab.jsx - Dashboard shell → UI components: uses
client/src/App.jsx - Risk view → UI components: renders with
client/src/components/RiskTab.jsx - API client → HTTP API: requests
- HTTP API → Incident pipeline: runs
backend/src/api/main.py - Incident pipeline → Telemetry simulator: generates incidents
backend/src/pipeline/e2e.py - Telemetry simulator → Service metrics: simulates services
backend/src/telemetry/simulator/generator.py - Telemetry simulator → Failure scenarios: applies scenarios
backend/src/telemetry/simulator/generator.py - Feature engineering → Feature store: stores features
- Incident pipeline → Anomaly detection: uses detection
backend/src/pipeline/e2e.py - Incident pipeline → Risk scoring: scores risk
backend/src/pipeline/e2e.py - HTTP API → Risk scoring: scores requests
backend/src/api/main.py - HTTP API → Evidence assembly: assembles evidence
backend/src/api/main.py - Evidence assembly → Risk scoring: scores rows
backend/src/evidence/assembler.py - HTTP API → RCA analysis: analyzes evidence
- RCA analysis → Heuristic diagnosis: falls back to
backend/src/rca/client.py - RCA analysis → Operator: queries optional LLM
- Incident pipeline → Remediation executor: executes response
backend/src/pipeline/e2e.py - Remediation executor → Action backends: dispatches actions
backend/src/remediation/executor.py - Incident pipeline → Recovery verification: verifies recovery
- Dashboard shell → Drift monitoring: requests reports
- Risk scoring → Model implementations: loads models
backend/src/risk/engine.py