DB 4 (Celery broker), DB 5 (cache), DB 6 (Channels)
11
The CALCHAS Trilogy
CALCHAS is the overarching strategic concept that binds the three AESOP microservices into a coherent decision-support pipeline. Named after the mythological Greek seer who guided the Achaeans during the Trojan War, CALCHAS represents the platform's ambition: to see clearly through the fog of complex, multi-domain crises.
Stage 1 — XXX (aesop_intell) serves as the eyes and ears of the platform. It continuously collects, enriches, and synthesizes open-source intelligence (OSINT) from diverse feeds. Using sentence-transformers for semantic embedding (via pgvector), Mistral AI for natural-language synthesis, and Apache AGE for knowledge-graph construction, XXX transforms raw information into structured, geolocated, and interconnected intelligence products. These enriched OSINT datasets are then pushed downstream to MIDAS.
Stage 2 — MIDAS (aesop_modelisation) receives intelligence from XXX and uses it to build and maintain a living model of critical infrastructure. Organized around the 5 PNAIV sectors (Political, Normative, Administrative, Infrastructure, Vital), MIDAS constructs dependency graphs of information systems — nodes, edges, and weighted dependencies. Its cascade propagation engine can simulate how a disruption in one infrastructure element ripples through the network. The resulting "infrastructure chessboard" — a complete, scored, and geographically tiled model — is made available to AESOP for wargaming.
Stage 3 — AESOP (aesop_simulation) sits at the apex of the trilogy. It takes the infrastructure chessboard from MIDAS and overlays a full military wargame engine on top of it. Belligerents are modeled with Will (political resolve) and Capability (military strength). Tactical units — 6 types of VE (live forces) and 8 types of VC (cyber/virtual forces) — receive TABORD orders and execute them through a 10-step OODA turn cycle. Combat is resolved via Monte Carlo simulation. Information operations (INFOPS) model influence and perception warfare. The command chain is represented as a graph in Apache AGE, and the battlefield is projected onto H3 hexagonal tiles. Real-time updates flow through Django Channels and WebSocket connections.
The feedback loop: simulation results from AESOP can feed back into XXX, creating a closed analytical loop. Wargame outcomes inform intelligence priorities, which in turn refine the infrastructure models, which produce better simulation scenarios. This cyclical flow is the core strength of the CALCHAS trilogy — each service amplifies the value of the others.