How ujwal-naik/aegisops works
AegisOps is an offline-first emergency coordination platform. Its main workflow accepts a field report, assesses START triage, clusters spatial duplicates, stores incidents and fleet state, and lets operators trigger capability-aware ICS dispatch. The dashboard and field CLI expose these workflows; mesh sync exchanges incident and unit updates between disconnected nodes. README capabilities are retained, but some UI telemetry wiring and implementation details are not shown in the excerpts, so those links are documented rather than inferred from module names.
Main entry points: api.py Coordination API · models.py Tactical data models · app.js Tactical dashboard · dedup.py Spatial deduplication
Components 13
Operator Interfaces
- Tactical dashboard
static/app.js - Field CLI
cli/aegisctl.py
Incident Coordination
- Coordination API
aegisops/api.py - Incident and fleet store
aegisops/database.py - Tactical data models
aegisops/models.py - Local server launcher
main.py
Tactical Engines
- START triage
aegisops/triage.py - Spatial deduplication
aegisops/dedup.py - ICS dispatch optimizer
aegisops/dispatch.py
Offline Resilience
- DTN mesh sync
aegisops/mesh_sync.py
Scenario Data
- Disaster scenario loader
simulator/seed_disaster.py
Other components
- Emergency operators
- Peer mesh node
Connections 28
- Emergency operators → Tactical dashboard: uses
README.md - Emergency operators → Field CLI: uses
cli/aegisctl.py - Tactical dashboard → Coordination API: submits reports
static/app.js - Tactical dashboard → Coordination API: requests dispatch
static/app.js - Tactical dashboard → Coordination API: sends sync
static/app.js - Tactical dashboard → Coordination API: loads telemetry
README.md - Field CLI → Coordination API: calls endpoints
cli/aegisctl.py - Coordination API → START triage: assesses reports
aegisops/api.py - Coordination API → Spatial deduplication: checks duplicates
aegisops/api.py - Coordination API → ICS dispatch optimizer: runs matching
aegisops/api.py - Coordination API → DTN mesh sync: ingests and exports
aegisops/api.py - Coordination API → Incident and fleet store: reads and writes
aegisops/api.py - Coordination API → Tactical data models: uses request models
aegisops/api.py - Incident and fleet store → Tactical data models: persists records
aegisops/database.py - START triage → Tactical data models: returns assessment
aegisops/triage.py - Spatial deduplication → Tactical data models: merges incidents
aegisops/dedup.py - ICS dispatch optimizer → Spatial deduplication: calculates distance
aegisops/dispatch.py - ICS dispatch optimizer → Tactical data models: updates assignments
aegisops/dispatch.py - DTN mesh sync → Incident and fleet store: exchanges records
aegisops/mesh_sync.py - DTN mesh sync → Spatial deduplication: clusters incoming reports
aegisops/mesh_sync.py - DTN mesh sync → Tactical data models: reconciles payloads
aegisops/mesh_sync.py - Peer mesh node → Coordination API: sends sync package
aegisops/api.py - Coordination API → Peer mesh node: exports delta
aegisops/api.py - Local server launcher → Disaster scenario loader: loads scenario
main.py - Disaster scenario loader → Incident and fleet store: seeds state
simulator/seed_disaster.py - Disaster scenario loader → START triage: assesses samples
simulator/seed_disaster.py - Disaster scenario loader → Spatial deduplication: clusters samples
simulator/seed_disaster.py - Local server launcher → Coordination API: starts server
main.py